suckatcoding Posted October 11, 2012 Share Posted October 11, 2012 Hi, Was installing an addon to my osCommerce store and stumbled upon this problem... Parse error: syntax error, unexpected '}' in admin\extra_info_pages.php on line 519 I have no knowledge in PHP. Only thing I know is that the error is at line 519 .. and have to do with closing the tags (??? :oops:) Here is the file: http://pastebin.com/frzx62bV Screenshot@Dreamweaver http://i.imgur.com/X9S64.jpg Cookies will be delievered to the one who solves this problem. THANKS in advance. /J extra_info_pages.php Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 11, 2012 Share Posted October 11, 2012 As far as I can see, it goes from an opening for(){ to an }else{ without ever closing the for(){ construct. Talk to the developer who made it? Quote Link to comment Share on other sites More sharing options...
suckatcoding Posted October 11, 2012 Author Share Posted October 11, 2012 Thanks for your reply. Emailed him about the issue. Got this response: I am expert in oscommerce, but not mine, is a free source programming. I need to send data to the host access for review in this. Keys FTP and host access, domain web. The information addons I do not believe it, but people in the community for free. If you think I check and re quoted the most convenient option. At your command. regards ---------- Cryptic............ Quote Link to comment Share on other sites More sharing options...
suckatcoding Posted October 11, 2012 Author Share Posted October 11, 2012 So, what exactly should I do in order to fix this ? Lines etc should be deleted? Haha sorry. I wish I understood "your" language... Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 11, 2012 Share Posted October 11, 2012 Yeah, don't give that guy access to your server. I would try to find another script, if you're not able to fix this one. The crappy indenting makes it hard to follow to even identify the problem. Quote Link to comment Share on other sites More sharing options...
suckatcoding Posted October 11, 2012 Author Share Posted October 11, 2012 ( Seems like a good addon. Hmmmmm.. Thanks for your input tho, appreciate it. Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 11, 2012 Share Posted October 11, 2012 Well someone else might come along and figure it out, I'm just saying it looks like there is a section of the file missing. And the Dev should be able to debug the code you've posted if it's his code, without going on your server. But he says he didn't even write it. If you can find the author of it on http://www.oscommerce.com you might get some help from them. Quote Link to comment Share on other sites More sharing options...
suckatcoding Posted October 11, 2012 Author Share Posted October 11, 2012 Nah, it was the developer. "I am expert in oscommerce, but not mine (the oscommerce system), is a free source programming." Will wait a little longer then Someone suggested to get rid of line 432: else { But when I did that... It complained about line 435: } *sigh*..... Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 11, 2012 Share Posted October 11, 2012 The problem is likely the use of lazy-way short opening <? tags. Quote Link to comment Share on other sites More sharing options...
suckatcoding Posted October 11, 2012 Author Share Posted October 11, 2012 (edited) Nevermind... Changed every <? to <?php = Problem solved.. --------- Yea.. it was Edited October 11, 2012 by suckatcoding Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 11, 2012 Share Posted October 11, 2012 So where is the if that goes with that else?? That's bugging me. Quote Link to comment Share on other sites More sharing options...
DarkerAngel Posted October 11, 2012 Share Posted October 11, 2012 So where is the if that goes with that else?? That's bugging me. That for FOR loop ends at Line 490 as for which IF that ELSE is for I have no idea Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 11, 2012 Share Posted October 11, 2012 *shrug*. Glad someone could help you Quote Link to comment Share on other sites More sharing options...
derwert Posted October 12, 2012 Share Posted October 12, 2012 So where is the if that goes with that else?? That's bugging me. Line: 257 if ($action == 'new') { 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.