PDA

View Full Version : Without modifiy my forum get an error in all thread pages


adivor
04-13-2009, 07:51 AM
I see from 1 day in oll may pages this error at top pages:


Parse error: syntax error, unexpected ':' in /var/www/virtual/adivor.it/htdocs/forum/includes/class_postbit.php(294) : eval()'d code on line 8

Parse error: syntax error, unexpected ':' in /var/www/virtual/adivor.it/htdocs/forum/includes/class_postbit.php(294) : eval()'d code on line 8

Parse error: syntax error, unexpected ':' in /var/www/virtual/adivor.it/htdocs/forum/includes/class_postbit.php(294) : eval()'d code on line 8


i don't install or remouve plugin or mod from 6 day, how is possible?

--------------- Added 1239622512 at 1239622512 ---------------

solved after update plugin "adsense postbit"

Mr-Moo
04-13-2009, 04:02 PM
Something had to have changed. It appears that there is an extra ":" in your file.

Please attached the PHP file "/forum/includes/class_postbit.php" and I will fix it for you.

Thank you,

Dismounted
04-14-2009, 04:03 AM
Something had to have changed. It appears that there is an extra ":" in your file.
It is not caused by the file - look at the error, it says eval()'d code. That is, plugins and templates (in vBulletin).

Also see the user's edit at the end, the problem was found to be in a plugin.

Mr-Moo
04-15-2009, 06:39 PM
Yes, thank you dismounted. I did not read the entire code. Big mistake on my end.

Learn something new every day ;) I was not aware that the eval() does that