![]() |
Parse error: syntax error, unexpected '}'
Greetings,
I have this error: Parse error: syntax error, unexpected '}' in /home/user/public_html/Forum/cache/tpl_prosilver_viewtopic_body.html.php on line 44 Can anybody help me resolve this issue? Everytime i try to enter on a post in forum appear that error. I don't know what to do and what to edit. On line 44 from "cache/tpl_prosilver_viewtopic_body.html.php" is this: Code:
Please anybody can help? If that line is not enough for resolving i can provide another codes.I'm new in this job and don't know much. Thanks |
Quote:
|
See the Coding Styles link in my signature for more help on dealing with this problem and to see why your should format your code neatly.
|
i've removed the last { from the last if statement..... and now the parse error syntax error, unexpected '}' is in "/home/user/public_html/Forum/includes/template.php(229) : eval()'d code on line 44"
after second refresh the error is back in on cache/tpl_prosilver_viewtopic_body.html.php" ... any ideas? :( |
Quote:
Copy and paste this: PHP Code:
|
ok...i will paste that....but i don't wanna make any mistakes paste it in another files....where to paste that?
in: /cache/tpl_prosilver_viewtopic_body.html.php or in: styles/prosilver/template/viewtopic_body.html or somewhere else? sorry....i'm new in php |
Quote:
|
done that....i've maded a refresh and same error....and the i go to administator control panel->styles->templates and hit the refresh button and cleared all the cache and still same error ...
|
Quote:
|
Did you even look at my topic? - You've come here and posted one very long line of code.
It's no wonder you can't see the error. Break it down into lines of readable code as suggested in the 'Coding Styles' link in my topic. It will make your life so much easier. Trust me, I had to learn PHP once too. |
Quote:
|
tangoforce - i will do gladly that "Break it down into lines of readable code" but like i sayd i'm new in this and don't know how to do that...who knows what mistake i made when try something on my own without having the knowledge of php ... i just wanna get rid of that error.
melloorr - i've deleted that php. at first refresh sayd this: Quote:
Quote:
|
Quote:
|
done that....same errors....
i think this erros is because i modified something in "viewtopic_body.html"....but when i saw those errors i delete my modifications....its about the +1 Google Button. i don't understand...i undo my modifications...i cleared the cache...i deleted that cache manualy from file manager...and still same errors...... what can it be the problem? |
Quote:
|
| All times are GMT +1. The time now is 07:37 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.