Lexi Posted September 19, 2009 Posted September 19, 2009 Hi, After several days of going over codes and forums and google etc... I am at a loss for ideas here and I don't know what to do to fix this. I have php5 and started out using a contribution called Thumbnail PDF by Vger - I couldn't get it to generate and after talking to my host company they said to go to the original contribution Catalog products PDF reports (PDF Catalog V2.0.9) so I did changed over the files etc.... problem is after working out all the errors I cant seem to generate the Catalog on either the site or panel. When I am in admin side of my OS Commerce panel and I go to tools then to generate catalog and click save nothing happens - then when I go to the website and go to download the catalog it just give me a "oops link is broken" HTTP 404 error - meaning it wont load. When I look on the website and see the download catalog link next to it it shows 0.00MG which means its not even loading into the website. I have gone over the code soooo many times and I know it has to be something so simple that I missed - Please if anyone can help direct me I would so greatly appreciate it. Lexi
Lexi Posted September 20, 2009 Author Posted September 20, 2009 Ok I was hoping that someone would have had the same problem or have gotten someone interested to at least offer there great expertise as I by no means am a pro with this coding stuff :blush: . Anyhow, I will keep posting updates as I try and figure this out in case others have the same problem as I know I cant be the only one. So after going over the code over again, and seeing everything that is appears to be correctly placed and set up. The images are loaded in there perspective places. The site shows everything correctly so the only problem is getting the PDF Catalog to load properly. The only conclusion I can think is that it has to do with the configuration (see below) of the setup that I am missing to do correctly - in correctly setting up where to direct the link to download and open the catalog properly. Can anyone please and thank you help point me in the right direction of doing this part correctly? CONFIGURATION To configure the script, edit the file catalog/admin/pdf_config.php, catalog/pdf_config.php and the file catalog/pdf_catalogue_info.php! The files contain the necessary instructions! One my site when I click download catalog it opens up to catalogues/catalog_2.pdf - and in the directions it states to do following (in which I did) catalog/admin/includes/filenames.php insert following line, at the end of the file, just before '?>' define('FILENAME_PDF_CATALOGUE', 'pdf_catalogue.php'); // PDF Catalog define('FILENAME_PDF_DEFINE_INTRO', 'pdf_define_intro.php'); // PDF Catalog define('FILENAME_PDF_LINK', '../catalogues/catalog_2.pdf'); // PDF Catalog v. 1.58 It then it states to Make directory /catalogues and chmod 755 - in which I did - and I placed it in the route directory of my site and I chmod it to 755. I also placed the catalog/font directory and its content in their respective places. Lexi
Recommended Posts
Archived
This topic is now archived and is closed to further replies.