Guest Posted November 26, 2006 Share Posted November 26, 2006 I'm getting this error: Cannot access empty property...pdf_catalogue_info2.php on line 721 Line 721 is: $this->$parent_category_name=''; Does this mean I have a problem with the categories.php in admin? I have set the level to be 1 on the first folders, besides from that I have done nothing, I have no subfolders. Can anyone help me please??? Quote Link to comment Share on other sites More sharing options...
kasuku Posted November 26, 2006 Share Posted November 26, 2006 I'm getting this error:Cannot access empty property...pdf_catalogue_info2.php on line 721 Line 721 is: $this->$parent_category_name=''; Does this mean I have a problem with the categories.php in admin? I have set the level to be 1 on the first folders, besides from that I have done nothing, I have no subfolders. Can anyone help me please??? Hi You are getting this error due to this being empty. If you remove the '$' sign it will render it useless but you should be able to generate a PDF from the Admin side. It doesn't work for me on the customer side, not much help. Good Luck !!! Kasuku Quote Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2006 Share Posted November 26, 2006 Hi it already works from the admin side, so I dont need to render it useless. Does anyone have a good install instruction for the admin/categories.php? I think my problem lies there. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2006 Share Posted November 27, 2006 Can anyone tell me if the code changes in admin/categories.php is nesessary anymore? The changes are not in the install guide for 2.5 version. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 6, 2006 Share Posted December 6, 2006 Hi I get this one problem that I can't see anyone else having. When I generate catalogs in admin the language setting in my admin switch from my default language to english. Can anyone tell me why? or how I can fix it? Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted December 9, 2006 Share Posted December 9, 2006 Hey all I have install the newest modul and most all work great, but when i will make pdf file from " fx. hardware" is make the file but i get this error http://www.the-exterminator.dk/pdf_download_katalog.php Can someone tell me what wrong. ?? can i be catalog/pdf_catalogue_info2.php there are the problem ?? I hope someone can help me. Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted December 9, 2006 Share Posted December 9, 2006 Work Now. But how can i get the white box to the colour i will have. ??? Hey all I have install the newest modul and most all work great, but when i will make pdf file from " fx. hardware" is make the file but i get this error http://www.the-exterminator.dk/pdf_download_katalog.php Can someone tell me what wrong. ?? can i be catalog/pdf_catalogue_info2.php there are the problem ?? I hope someone can help me. Quote Link to comment Share on other sites More sharing options...
DawnG Posted January 7, 2007 Share Posted January 7, 2007 I've just installed v.2.0.1 - everything seems to be fine, but when I go to generate the pdf files I get the following error message: FPDF error: Alpha channel not supported: /home/paganmag/public_html/shop/images/pp3b8d1479.png Is there a work around or will I have to change all of my png files to jpg? I too have a thumbnails file, is it possible to generate the images from that directory Quote Link to comment Share on other sites More sharing options...
cmgrant Posted January 27, 2007 Share Posted January 27, 2007 (edited) Hi everyone. After many hours (Several days in fact) of trying to install the PDF catalog 2.06 I have solved the 1054 and 1064 errors. I get this page in admin PDF Catalog(s) Generation To start the PDF generation and save on disk, please clik on the button: Now when I click on the button the page goes blank and a few seconds later all I get a page with the left admin column and this PDF Catalog(s) Generation No catalog has been generated, but no error messages either. Any suggestions please Edited January 27, 2007 by cmgrant Quote Link to comment Share on other sites More sharing options...
bienenf Posted February 2, 2007 Share Posted February 2, 2007 Hello, I have this same error, I try to run PDF Catalog 2.02 from the admin site and I get : Fatal error: Cannot access empty property in /home/www/xxxxx/catalog/admin/pdf_catalogue.php on line 625 I have also tried all fixes proposed in this threat but no solution work, Thank you in advance for your support, Best regards Quote Link to comment Share on other sites More sharing options...
Guest Posted February 3, 2007 Share Posted February 3, 2007 How do you edit the PDF export file to elimate all the xrta pages. I have a lot of page breaks in the categories, and would like to get rid of the blank page that starts each category. 2dogrc Quote Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2007 Share Posted February 4, 2007 HOLY CRAP!!!!! I actually figured something out! I bang my head on my desk and looked at all the references. If you need to print a pdf of a catalog simply do this! Copy the "FONT" folder into your "catalog" root directory! I need that and Presto the PDF's save to the proper folder and you can downloasd them!! 2dogrc! PS. Don't forget that the categories pdf has its own pdf_config.php file to setup! Quote Link to comment Share on other sites More sharing options...
hro2u Posted February 9, 2007 Share Posted February 9, 2007 Hi everyone.After many hours (Several days in fact) of trying to install the PDF catalog 2.06 I have solved the 1054 and 1064 errors. I get this page in admin PDF Catalog(s) Generation To start the PDF generation and save on disk, please clik on the button: Now when I click on the button the page goes blank and a few seconds later all I get a page with the left admin column and this PDF Catalog(s) Generation No catalog has been generated, but no error messages either. Any suggestions please Hi, Sorry I havn´t got a solution to you since I´m a few steps behind U. I´d like your help...You state that you have fixed the 1054 error - I´ve just installed the contribution and have all the correct interface in the shop and admin but get the following error message in Admin "Create PDF Catalog": 1054 - Unknown column 'p.products_id' in 'on clause' select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_model, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from oscommerce_products p left join oscommerce_manufacturers m on p.manufacturers_id = m.manufacturers_id, oscommerce_products_description pd left join oscommerce_specials s on p.products_id = s.products_id, oscommerce_categories c, oscommerce_products_to_categories p2c where products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id='22' order by pd.products_name, p.products_date_added DESC [TEP STOP] Any suggestiond to correction? After fix I´m curious if ´left with the same experience as you mention here(?) Regards, Hans Quote Link to comment Share on other sites More sharing options...
radders Posted February 10, 2007 Share Posted February 10, 2007 Well the solution has to do with putting the correct brackets in the SQL to handle the joins. Older versions of mySQL weren't very fussy but mySQL5 is. Try googling for the solution Quote Link to comment Share on other sites More sharing options...
hro2u Posted February 11, 2007 Share Posted February 11, 2007 Well the solution has to do with putting the correct brackets in the SQL to handle the joins. Older versions of mySQL weren't very fussy but mySQL5 is. Try googling for the solution Hi again, Now after I´ve had some brainstorming(?) after a hard days work and a good glas of Chardonay - It works for me with just a small (...) 1.) I started with the Image magic contrib of PDF-productcatalog, that´s when I got all sorts of problems including the page columns being haywire... So I decided to go for the version without the added functionality. 2.) It requires the added brackets in the code which you mentioned since MySQL is of later version (this issue is also addressed by the developer in a MySQL-fix included): ******************************************************************************** ******** If you are using MySQL 5 you will need to change line 609 to: $requete_prod="select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_model, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from (" . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id='".$current_category_id."' order by pd.products_name, p.products_date_added DESC"; The only change is the addition of brackets after the FROM clause: (" . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd) ******************************************************************************** ******** hro2u continued: With this fix the script works to generate the different language based catalogs (complete cataloges that is) I still face the issue of figuring out why the selected categories cataloges are not generated...) As for the layout issue on the site, with this set up it´s no issue, no columns on the downloadpage (then the "big ugly" default OSC button has it´s purpose and that´s fine with me. If anyone has a solution to the split categories productcatalog I would be cheering you with yet another glas of white :-) /Hans Quote Link to comment Share on other sites More sharing options...
Tony Posted February 15, 2007 Share Posted February 15, 2007 (edited) Hi All PDF Catalog v2.0.6 downloaded tonight. Selecting the PDF Introudction (pdf_define_intro.php) from the Tools menu I get a pink error message on the page ERROR_FILE_NOT_WRITEABLE. Checking in pdf_define_intro.php line 123 ERROR_FILE_NOT_WRITEABLE language variable not defined. Error occuring as $file is null value Hence a) why is it null b) need to handle a null value with appropriate error c) need to add ERROR_FILE_NOT_WRITEABLE definition No time to fix tonight, but cannot see that anyone else has this issue. Am I alone? Edited February 15, 2007 by Tony Quote cheersTony******************************My oscMax Store RecoverToy :: Antique Toy Car PartsTony's Tech BlogWrenMaxwell WebManagement****************************** Link to comment Share on other sites More sharing options...
Tony Posted February 15, 2007 Share Posted February 15, 2007 Hi All Another issue with timeouts. 3000 + items in system so the timeout via the browser is a certainty. In fact I messed with v 1.x of this contrib about 2 years ago and gave up due to lack of time. But it is now an essential for me. Running from a command line is not using Apache => Register Globals being enabled via the .htaccess file is ignored. As a result I am using #php pdf_catalogue.php to execute from the Linux command line BUT I get FATAL ERROR: register_globals is disabled in php.ini, please enable it! How can I get around this? I do not want to enable globals on the server as it messes with my other apps. Quote cheersTony******************************My oscMax Store RecoverToy :: Antique Toy Car PartsTony's Tech BlogWrenMaxwell WebManagement****************************** Link to comment Share on other sites More sharing options...
graphicore Posted February 19, 2007 Share Posted February 19, 2007 Has anyone figure out how to modify the space between the products??? I have 600+ products and it's generating 180+ pages. Any help???? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 Hi everyone.After many hours (Several days in fact) of trying to install the PDF catalog 2.06 I have solved the 1054 and 1064 errors. I get this page in admin PDF Catalog(s) Generation To start the PDF generation and save on disk, please clik on the button: Now when I click on the button the page goes blank and a few seconds later all I get a page with the left admin column and this PDF Catalog(s) Generation No catalog has been generated, but no error messages either. Any suggestions please I am getting the exact same thing. Don't see any answers to your question. Were you able to figure this out? I can click the link to view the catalog but there is nothing there. I did notice that when I am in the admin section the session id is at the end of my url (does not happen on my store- just in admin). And when I click the link to view the pdf catalog the session id is also present. Any suggestions would be helpful. Please note: I have had many a post looking for answers go unanswered so if I am asking this in the wrong section and a newer sectione exsists out there by all means, PLEASE point me in the right direction. Thanks a lot! Pattie Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 I am getting the exact same thing. Don't see any answers to your question. Were you able to figure this out? I can click the link to view the catalog but there is nothing there. I did notice that when I am in the admin section the session id is at the end of my url (does not happen on my store- just in admin). And when I click the link to view the pdf catalog the session id is also present. Any suggestions would be helpful.Please note: I have had many a post looking for answers go unanswered so if I am asking this in the wrong section and a newer sectione exsists out there by all means, PLEASE point me in the right direction. Thanks a lot! Pattie If it helps I am using the STS4 power pack mod. Does this make the difference in why it doesn't show up? Thanks! Pattie Quote Link to comment Share on other sites More sharing options...
hro2u Posted February 24, 2007 Share Posted February 24, 2007 Thanks for that Jessica, I did have a look at the php file originally, but whatever I did, it was still at the bottom. I used the code you supplied, it gave me the right column, but was still at the bottom, so all I done was got rid of the left (which is my categories, and not really needed on that page), and page now looks great.. so Thanks for the info, helped out alot. Also, it seems people are having trouble on seperate category downloads, is there any way at all, at getting rid of that option on that page. It is handy, but would rather have the full catalog download only, if the category downloads do not work. Any help appreciated.. Hi all, I made an interesting(?) discovery the other day concerning getting pdf´s out of specific categories rather than the complete pdf-catalog. Read in an earlier post in this forum that somebody installed the font catalog in the contribution not only to catalog/admin but also to catalog/! So I gave it a shot and now I can get the template for the pdf page generated and a 2nd page which only has written: PDF_INDEX_HEADER in the top. Conclusion: The is a function working to generate pdf but for some reason it doesn´t get filled by the product info. Any ideas? I also wonder a bit about the coding of the so called "statusbar" that´s supposed to be filled while the pdf is generated??? Anyone looked in to this? Should be about time to solve the categories-pdf function, as I understand noone of the coders have bothered to solve this...If nothing is done I suggest this contribution to be withdrawn from the contributionslist since it creates more problems and takes time from all it´s users than the benefits it gives an online store. >_< If getting the categories selected pdf´s working then I dont have to bother to much about the fact that my catalog nos is to large to be generated as a compete pdf-catalog. Best Regards, Hans Quote Link to comment Share on other sites More sharing options...
♥stubbsy Posted March 1, 2007 Share Posted March 1, 2007 Hi All PDF Catalog v2.0.6 downloaded tonight. Selecting the PDF Introudction (pdf_define_intro.php) from the Tools menu I get a pink error message on the page ERROR_FILE_NOT_WRITEABLE. Checking in pdf_define_intro.php line 123 ERROR_FILE_NOT_WRITEABLE language variable not defined. Error occuring as $file is null value Hence a) why is it null B) need to handle a null value with appropriate error c) need to add ERROR_FILE_NOT_WRITEABLE definition No time to fix tonight, but cannot see that anyone else has this issue. Am I alone? CHMOD includes/languages/english/pdf_define_intro.php to 777 Quote Link to comment Share on other sites More sharing options...
tranquilsense Posted March 5, 2007 Share Posted March 5, 2007 Would it be a huge issue to get attributes to display along with prices in the PDF? Thanks Quote _________________________________________________________________________ David G Aschenbrener Tranquil | Sense - Your Stop for Tranquility. Link to comment Share on other sites More sharing options...
DuFF1 Posted March 6, 2007 Share Posted March 6, 2007 I am having the same problem regarding the pdf not being generated on the customers side when they choose categories. I found the problem on my side. I needed to remove "$" in front of every: $parent_category_name to parent_category_name in /catalog/pdf_catalogue_info2.php like done on my /catalog/admin/pdf_catalogue.php All this cause by PHP5 Quote Link to comment Share on other sites More sharing options...
tranquilsense Posted March 7, 2007 Share Posted March 7, 2007 I tried this but all I do not get anything at all to happen, just a wide open area where the status bar is supposed to be. Any suggestions? Thanks I found the problem on my side. I needed to remove "$" in front of every: $parent_category_name to parent_category_name in /catalog/pdf_catalogue_info2.php like done on my /catalog/admin/pdf_catalogue.php All this cause by PHP5 Quote _________________________________________________________________________ David G Aschenbrener Tranquil | Sense - Your Stop for Tranquility. Link to comment Share on other sites More sharing options...
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.