Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

huge prob with making a printable catalog


Guest

Recommended Posts

hi - i am have a big problem in that i need to implement a printable catalog of all products on our site - i have tried to install 3 different add ons, and none of them are working.

 

the latest i have tried is "pdfcatalog" and when in the admin section i go to make the catalog i get:

 

Warning: getimagesize: Unable to open '..//paul/catalog/images/139_rand_orbit_sand.jpg' for reading. in c:program filesapache groupapachehtdocspaulcatalogadminpdf_catalogue.php on line 379

 

Warning: getimagesize: Unable to open '..//paul/catalog/images/139_rand_orbit_sand.jpg' for reading. in c:program filesapache groupapachehtdocspaulcatalogadminfpdf.php on line 1418

FPDF error: Missing or incorrect image file: ..//paul/catalog/images/139_rand_orbit_sand.jpg

 

now i have installed everything as per the instructions and still no good.

 

1st - do anyone have any ideas why this is not working? or

 

2nd - can anyone recommend another mod which will make a printable catalog of all the products.

 

thanks very much

 

tim

Link to comment
Share on other sites

ok i am getting somewhere.

 

for this error:

Warning: getimagesize: Unable to open '..//paul/catalog/images/139_rand_orbit_sand.jpg' for reading. in c:program filesapache groupapachehtdocspaulcatalogadminpdf_catalogue.php on line 379

 

i looked through the pdf_catalogue.php file and at this line and it was to do with calculating the height and width - as I dont have any small image height and width define (all my pics are of different sizes - and hence if they are condensed down to a uniform size - most look out of proportion). so as a test i set this value to 200 & 200 (in the admin control panel)

 

this has fixed the above error.

 

the 2nd warning still exists. in the fpdf.php file it refers to this function:

//Extract info from a JPEG file

$a=GetImageSize($file);

if(!$a)

 $this->Error('Missing or incorrect image file: '.$file);

if($a[2]!=2)

 $this->Error('Not a JPEG file: '.$file);

 

so it seems that the function GetImageSize is not working. does anyone know where i can find this and how to fix.

 

thanks.

Link to comment
Share on other sites

Tim,

 

Have you looked in the cotributions section of the forum for a possible fix? You might also check the Installation and Configuration section.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...