Log in

View Full Version : Parse error: syntax error, unexpected '}


TalkForGold
08-11-2007, 05:05 AM
Hi, i got the followin error while trying to create a new thread, can someone help me to fix it.
Parse error: syntax error, unexpected '}' in /home/talk/public_html/newthread.php(465) : eval()'d code on line 13

ZomgStuff
08-11-2007, 05:12 AM
Did you recently install any new mods? If so, try disabling them one by one to find out the culprit.

TalkForGold
08-11-2007, 05:15 AM
Yes i have added about around 15 modifications and i have only edited template files. I havent even touched those script files and i tried to check the newthread.php file but the scripts were same as orginal so where is that error happening.

ZomgStuff
08-11-2007, 05:17 AM
You don't have to edit those script files, most mods have hooks that can cause errors if not coded corectly. Make sure all the hacks that you installed are currently supported by your vBulletin version.

It's one of the hacks causing this problem so you're going to have to go backwords and disable them one at a time until you find which one's hook is causing the error.

Knippschild
08-11-2007, 05:18 AM
Yes, that appears to be a typo in a plugin. eval() is used in plugins.

For future reference, test basic features after installing each modification, that way you know if something is screwed up rather than having to go through each of them at a later date.

TalkForGold
08-11-2007, 05:21 AM
I found it :) i have Icash Paid Topic Hack (https://vborg.vbsupport.ru/showthread.php?t=144066) Installed, i checked disabling all the mods and finally i found the error was by that hack,
thanx guyz for the suggestion and i would like to ask one more thing how do i display subboards in the forum home, is there a hack for it i tried to search but was unabe to find
thanx

ZomgStuff
08-11-2007, 05:25 AM
I found it :) i have Icash Paid Topic Hack (https://vborg.vbsupport.ru/showthread.php?t=144066) Installed, i checked disabling all the mods and finally i found the error was by that hack,
thanx guyz for the suggestion and i would like to ask one more thing how do i display subboards in the forum home, is there a hack for it i tried to search but was unabe to find
thanx

Already answered your question here:
https://vborg.vbsupport.ru/showthread.php?t=154929

TalkForGold
08-11-2007, 06:08 AM
thanx