Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

da-idiot

Archived
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Real Name
    pete

da-idiot's Achievements

  1. Yes I got it fixed, Long nite staring at source code. :'( What I changed. In /admin/pdf_catalogue.php line 173 change: $destination =DIR_FS_CATALOG."catalogues/"; To $destination=DIR_FS_CATALOG."catalogues/"; Notice the extra space after $destination And also implemented a fix found earlier in the forum. in /admin/pdf_fpdf.php around line 1475 change if(!$a) print('Missing or incorrect image file: '.$file); $file=DIR_S_CATALOG.DIR_WS_IMAGES.DEFAULT_IMAGE; To if(!$a) { print('Missing or incorrect image file: '.$file); $file=DIR_S_CATALOG.DIR_WS_IMAGES.DEFAULT_IMAGE; } Notice the missing brackets. CREDIT goes to TooLoo for the second fix above. Thanx This is what worked for me. I hope it will work for some of you having problems.
  2. here tis how the catalog looks without images http://www.fridgemags.com/catalogues/catalog_2.pdf
  3. Ok I can now sort of generate the pdf. Ity works fine if i do it without images. Everything lays out ok. If i produce it with images on, it will produce the pdf file without spitting images out at me. But When you open the pdf Acrobat reader gives the following errors and the file is all garbled. Error 1 A drawing error occured. Error 2 Insufficient data for an image. My questions What data does it need to draw an image? The default images show up but are garbled. You can download the pdf from http://www.fridgemags.com/catalogues/catalog_1.pdf PLease please help me. I have customers flooding me with requests for an offline printable catalog. Thanx
  4. Sorry for all the posts Found this error in the error logs. PHP Warning: feof(): supplied argument is not a valid stream resource in /home/fridgemags/lsws/html/admin/pdf_fpdf.php on line 1495 PHP Warning: fread(): supplied argument is not a valid stream resource in /home/fridgemags/lsws/html/admin/pdf_fpdf.php on line 1496 We are having nasty weather here so I have to power down for now. I will check in later. Thanx in advance for any info on these errors.
  5. When I click save to start generating the catalog My processor shhots to 100% The commit charge is Peak 1524448 Limit 1528544 Available memory drops from 670 MB free to 2MB free page file usage goes above 1 GB Once the script seems to stop running it all goes back to normal with no generated catalog or any errors. I will really appreciate any ideas anyone could shoot at this as I have tried everything I know to do.
  6. The catalog is also not being generated. I get no errors, All that happens is the script completely freezes my browser. This is on my server with ssh access so i check top and the script seems to be getting run because my server is using 62% processor time until it times out or appears to finish. I then check my catalogues folder but it is not there.
  7. Has anyone experienced there computer freezing after trying to click save to generate the pdf files? My computer keeps freezing while trying to generate the pdf files, It is as if the fpdf is being run on my computer. But it is not. It is on the server. I checked my commit charge for windows and it was well above the limit and i then get a warning telling me that my virtual memory is set to low and it is being set higher by windows. I am using mozilla firefox 1.0 browser. This is very strange. Any ideas as to why this happens? Thanx
×
×
  • Create New...