Micke Posted July 14, 2006 Share Posted July 14, 2006 Hey all you coders! I have recently done my cut-and-paste in admin/categories.php as I installed Header Tags Controller v2.5.9 and I get the following: Parse error: syntax error, unexpected $end in /server/a/domain/www/catalog/admin/categories.php on line 1400 This has happened before with another contribution (can't remember wich...) and at the end I had to "roll back" the installation. BUT! Perhaps the message above is widely known among coders? Maybe there's a simple solution to this? Line 1400 is the line after the last %> //Micke Link to comment Share on other sites More sharing options...
choosealogin Posted July 14, 2006 Share Posted July 14, 2006 Usually that error is because the end of your file is missing...thus the unexpected $end (literally) :P Could you post the last 20 lines of your categories.php file? Link to comment Share on other sites More sharing options...
Gil_e_n Posted July 14, 2006 Share Posted July 14, 2006 I think you need a closing bracket somewhere. What you need to do in that case is go through and check all your brackets for the one without a closing bracket, and put it where it's needed. You could place one almost randomly just to get rid of the error, but then you'd have no idea what was broken in the page. Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller Link to comment Share on other sites More sharing options...
Micke Posted July 14, 2006 Author Share Posted July 14, 2006 Thanks! I inserted an extra bracket in the last <?php }} ?> and it's workin' fine... [no sense in posting the last 20 lines since these lines are not edited] Link to comment Share on other sites More sharing options...
choosealogin Posted July 14, 2006 Share Posted July 14, 2006 [no sense in posting the last 20 lines since these lines are not edited] no sense in that 'cause it's fixed now. :huh: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.