mmstoned Posted January 3, 2009 Share Posted January 3, 2009 Hello all! I installed the PDF Upload V2.0 Contribution on (2) seperate demo stores. On the first one I'm having no problems. But on the second one I keep getting an error when I try to view the catalog in the admin section. I get the following error: Parse error: syntax error, unexpected '}' in /home/.hackney/idp/commerce.idproductions.com/admin/categories.php on line 636 I took a look at the code around that lines on the file and it reads as: } elseif ($action == 'new_product_preview') { I'm not a PHP expert by any means but I do not see an extra "}" there as reported. Can anybody point me in the right direction as to what I should be looking for? I've followed the driections several times and always end up with the same error. THanks! JEff Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 3, 2009 Share Posted January 3, 2009 The parser is complaining about the } at the beginning of that line. It's likely that is not the actual problem. You probably have an extra } somewhere above that line that is the actual problem. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
mmstoned Posted January 5, 2009 Author Share Posted January 5, 2009 Thank you for the information. Someday I hope to get the hang of it ... Jeff Quote Link to comment Share on other sites More sharing options...
alman Posted January 12, 2009 Share Posted January 12, 2009 The parser is complaining about the } at the beginning of that line. It's likely that is not the actual problem. You probably have an extra } somewhere above that line that is the actual problem. you dont have extra } the problem is that you are missing a <?php in admin/categories.php should read like this <?php if($products_pdfupload_name != "") { ?> Quote 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.