detsouvalas Posted June 25, 2004 Author Posted June 25, 2004 (edited) Shouldnt the bold bit be a file lke template.php? Nope, that's why in configuration you have to put the full filename of the template file, with the extension! Please uncomment line 47 ... it should read after uncommenting like following: $debug = true; Reload the page ... how are the pink messages on top doing? Edited June 25, 2004 by detsouvalas Quote Antonios
Guest Posted June 25, 2004 Posted June 25, 2004 Wow did what you asked with debug and now pink errors growing: DIR_WS_PDF_DIRECTORY:pdf_cat/ || PDF_FILENAME:Rainflower_DF || PDF_TEMPLATE:standart_enhanced.tpl.php Error: PDF templates directory does not exist. Please set this in pdf_catalog.php. Error: PDF Template file does not exist. Please set this in Configuration --> PDF Catalog or check the installation of PDF Catalog Add-on. DIR_OK:1 || FILE_OK:1 Quote
tasos1 Posted July 8, 2004 Posted July 8, 2004 Antoni Any idea for greek fonts showing wrong. el_GR.ISO_8859-7 local Thanks in advance Tasos Quote
detsouvalas Posted July 9, 2004 Author Posted July 9, 2004 Hi Tasos, Any idea for greek fonts showing wrong.el_GR.ISO_8859-7 local I have the same problem with my PDF catalog, but fortunately there is a solution! :) I am in the process of compiling the necessary files to support greek caracters, I think I will have them ready (and tested) by Monday, I will post a message here when done! For the statistics, which version of the script are you using, on what kind of server and operating system, did you had any concerns with the installation, the instructions, or whatever else?? Thanx for replying! Have a nice weekend, Antonis Quote Antonios
detsouvalas Posted July 11, 2004 Author Posted July 11, 2004 Hi! After some hours of checking and coding, here is version 1.6 alpha of the PDF catalog script ... only a few steps away from the official release, which will be posted in the contributions section. The database issue should be OK now, there is a database installation script, the error checking thing should work now correctly (j0ker, please try the new version and tell me!), now also checking for not supported file types. Until the final release, I will work on the template files and on some language files, the administration part of the script should be fine now! Get it here! Your comments are expected!! Regards, Antonios PS. Regarding greek fonts, I can email them upon request!! Quote Antonios
Jack_mcs Posted July 15, 2004 Posted July 15, 2004 I have this contribution installed and working on one host. I copied the whole shop to another host and this is the only thing that is broken. I get this message when I click on Generate Catalog in admin. Warning: fopen(/home/xxxxxx/public_html/active/catalogs/MCS Product Catalog_1.pdf): failed to open stream: Permission denied in /home/xxxxxx/public_html/active/admin/pdf_fpdf.php on line 1048FPDF error: Unable to create output file: /home/xxxxxx/public_html/active/catalogs/MCS Product Catalog_1.pdf I've set the permission on the catalogs directory to the required value but that wasn't it. Anyone have any idea what this message means? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted July 27, 2004 Posted July 27, 2004 (edited) Okay, I'm a little confused. Don't Alpha releases come before Betas??? In the other thread on the 1.5 release you posted a 1.6 Beta and now the latest one seems to be an Alpha. Did we take a step backwards? :huh: Thanx for all the hard work everyone has put in, :D David Edited July 27, 2004 by Dr_Frag Quote
Guest Posted July 27, 2004 Posted July 27, 2004 I have this contribution installed and working on one host. I copied the whole shop to another host and this is the only thing that is broken. I get this message when I click on Generate Catalog in admin. Warning: fopen(/home/xxxxxx/public_html/active/catalogs/MCS Product Catalog_1.pdf): failed to open stream: Permission denied in /home/xxxxxx/public_html/active/admin/pdf_fpdf.php on line 1048FPDF error: Unable to create output file: /home/xxxxxx/public_html/active/catalogs/MCS Product Catalog_1.pdf I've set the permission on the catalogs directory to the required value but that wasn't it. Anyone have any idea what this message means? Jack Don't know if you've resolved this or not but try opening up the permissions to 777 and I'd suggest NOT using spaces in URLs. (It goes against the rules for URL syntax) David Quote
Guest Posted July 27, 2004 Posted July 27, 2004 Wow, somebody was sleeping. :P Two back to back $file= statements in pdf_catalog.php. $file = DIR_WS_PDF_DIRECTORY . PDF_FILENAME . "_" . $languages_id . ".pdf"; $file = DIR_WS_PDF_DIRECTORY . $filename; The same for the ZIP file. I think what might have been meant is to have $file & $filename seperate/different so as not to display the whole path to the file. I changed it to read $filename = PDF_FILENAME . "_" . $languages_id . ".pdf"; $file = DIR_WS_PDF_DIRECTORY . $filename; That seems to be what was intended after looking at the language code section. David Quote
Jack_mcs Posted July 27, 2004 Posted July 27, 2004 Don't know if you've resolved this or not but try opening up the permissions to 777 and I'd suggest NOT using spaces in URLs. (It goes against the rules for URL syntax) David Argh! Of course that's not valid. Can't believe I missed it. It worked fine on the Windows server I was on so never thought that might be the problem. Thanks for pointing that out. :) Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted July 27, 2004 Posted July 27, 2004 You're welcome Jack. I've found another little problem that someone brought up before. The fact that the first subcategories parent doesn't show in the TitreChapitre is a problem with the ParentsName function. Instead of while($k>0) it should be while($k>=0). But from what I can see the whole TitreChapitre printing is not implemented that well since a category without any subs gets printed like its a sub. And don't even get me started on the pagination. :o My eyeballs can't take any more, I'm going to bed. David Not that I'm a PHP programmer by any stretch but I should be able to follow this code yet it's not making much sense. Quote
detsouvalas Posted July 27, 2004 Author Posted July 27, 2004 (edited) Wow, somebody was sleeping. Well, I don't know how this happens, but it's a fact that, like now, it's midnight in Athens and I am trying to figure out the file and filename question! :) About the versions stuff, it's a fact that the letter alpha is before the letter beta ... I think that I prefer a kind of countdown in the versions! :D Well, I think that now, after having received some feedback, I think that I can start considering the release of the final 1.6 version! :) Oh, and working with the FPDF Class is not so easy as it seems ... ! :( Edited July 27, 2004 by detsouvalas Quote Antonios
Guest Posted August 3, 2004 Posted August 3, 2004 Antonios, great work, I have got the install of the alpha working admin 100% now good work, but when people try and select the pdf file I create I get a permissions error for this file. I have tried 755 and also 777 for this file but no joy, any thoughts on this problem no hurry I have in test site not live site. regards Quote
Guest Posted August 3, 2004 Posted August 3, 2004 Tried to edit last post wouldnt allow so excuse this post k, I have on pdf_catalog.php display of the download nut it shows 0.00 size and the file is almost 1mb in folder on server. Quote
Guest Posted August 3, 2004 Posted August 3, 2004 Also quick question plz anyone how do I change the price from euros to pounds Quote
johnnymke Posted August 6, 2004 Posted August 6, 2004 I was able to successfully install this contrib, but I was having errors as stated before: I have on pdf_catalog.php display of the download nut it shows 0.00 size and the file is almost 1mb in folder on server. Dr Frags edit to pdf_catalog.php helped correct this issue. $filename = PDF_FILENAME . "_" . $languages_id . ".pdf"; $file = DIR_WS_PDF_DIRECTORY . $filename; Hope this helps anyone else... Thanks for this contrib BTW-Finally I have a PDF Catalog contrib that works!! Quote
Guest Posted August 6, 2004 Posted August 6, 2004 yahoo welldone this fixed me too, well the shop side anyrd, how do you change the euro to pund in the file? Quote
billybrag Posted August 9, 2004 Posted August 9, 2004 just tried generating a catalogue and got this Warning: imagecreatetruecolor(): Invalid image dimensions in /home/www/mharpboo/admin/pdf_catalogue.php on line 199 Warning: imagecopyresized(): supplied argument is not a valid Image resource in /home/www/mharpboo/admin/pdf_catalogue.php on line 201 Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/www/mharpboo/admin/pdf_catalogue.php on line 203 Quote "because it'll hurt more"- the greatest film of all time?
billybrag Posted August 9, 2004 Posted August 9, 2004 also, the images that are being generated in the catalogue are terrible quality is there anyway to change this? Quote "because it'll hurt more"- the greatest film of all time?
detsouvalas Posted August 11, 2004 Author Posted August 11, 2004 just tried generating a catalogue and got this For such an error, I would check the configuration (the part made in the files). just tried generating a catalogue and got this Is there a possibility to see the result of the script and the images used to generate the PDF Catalog?? Then I can maybe help you with the image quality! Quote Antonios
detsouvalas Posted August 11, 2004 Author Posted August 11, 2004 also, the images that are being generated in the catalogue are terrible quality I found the address in an older post of yours! Quote Antonios
billybrag Posted August 12, 2004 Posted August 12, 2004 i dont understand what you want, please can you clarify? thanks Quote "because it'll hurt more"- the greatest film of all time?
redrum Posted August 29, 2004 Posted August 29, 2004 The attributes.tpl.php dont work at all. Does someone klnow how to insert attributes? // Fredrik Quote
Guest Posted August 30, 2004 Posted August 30, 2004 I have finally got this great contrib goin, Antonios great job, what was my problem was the sql it had a typo error, which may have been mentioned but here it is, at the very end of the query is 'NULL', 'NULL' I modified this and removed the ' to look like this NULL, NULL and it all worked. insert into configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) values ('20', 'PDF Catalog', 'PDF Catalog Configuration', '20', '1'); insert into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('200', 'PDF Catalog directory', 'DIR_WS_PDF_DIRECTORY', 'pdf_cat/', 'The directory where the generated PDF Catalog files will be stored <b>(with trailing slash!)</b>', '20', '1', '', '', NULL, NULL); insert into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('201', 'Filename of the generated PDF files', 'PDF_FILENAME', 'Rainflower_DF', 'Filename to use as a base for the name of the generated PDF files!', '20', '2', '', '', NULL, NULL); insert into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('202', 'PDF Template to use', 'PDF_TEMPLATE', 'pdf_html.php', 'Full filename of the PDF Template to use, with the extension!', '20', '3', '', '', 'NULL', 'NULL'); But I seem to remember a zip facility in somewhere, but I cant seem to find it now, any thoughts? Also is it possible to disable certain categories which I dont need to include? Quote
xpetex Posted August 30, 2004 Posted August 30, 2004 The yahoo bot is doing the pdf files right now, and even with spiders.txt the oscid still shows up... anyone know a fix? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.