PDA

View Full Version : Parse error: syntax error, unexpected ':' content.php(82) : eval()'d code on line 31


bahattab
12-24-2009, 11:31 AM
hi

i got this problem :

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/----/public_html/vb/packages/vbcms/controller/content.php(82) : eval()'d code on line 31

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/----/public_html/vb/packages/vbcms/controller/content.php(82) : eval()'d code on line 31

Parse error: syntax error, unexpected ':' in /home/----/public_html/vb/packages/vbcms/controller/content.php(82) : eval()'d code on line 31

can anyone fix it for me ?

thanks

Lynne
12-24-2009, 01:44 PM
Those errors are from modifications. Turn them all off, then turn them on one-by-one until you get the error again.

bahattab
12-24-2009, 06:33 PM
Those errors are from modifications. Turn them all off, then turn them on one-by-one until you get the error again.


hi thanks for your reply i did that but i still have the same problem

Lynne
12-24-2009, 06:53 PM
Try disabling them from the config.php file:
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Paul M
12-24-2009, 08:35 PM
hi thanks for your reply i did that but i still have the same problem
You did what exactly ?

bahattab
12-25-2009, 03:23 AM
You did what exactly ?


i disabled all the plugins and the products but i still having the problem

when i add the global plugins disable by :



define('DISABLE_HOOKS', true);

the forum work fine , but i cant use the plugins because it is disabled.

:confused: :confused: :confused:

Link14716
12-25-2009, 03:59 AM
Line 82 on the file in question in a call to the global_start hook. Disable any plugins that are using this hook. It's very obviously one of them causing the error.