PDA

View Full Version : syntax error, unexpected $end


Turbosport
Sat 28th Jun '08, 4:18pm
Any ideas people, I get this with all addons disabled :(

Parse error: syntax error, unexpected $end in /var/www/html/includes/functions_online.php(1167) : eval()'d code on line 36

Steve Machol
Sat 28th Jun '08, 4:24pm
This error is from a plugin you've installed. You need to disable each of your plugins then turn one at a time to see which one is causing this.

If you cannot log into the Admin CP then to disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

This will disable all hooks and allow you to log in properly with no hooks running.

http://www.vbulletin.com/docs/html/disable_plugins

Turbosport
Tue 1st Jul '08, 7:13pm
Steve as I said in the original post I get this with all addons disabled.

Steve Machol
Tue 1st Jul '08, 8:53pm
You can't get an eval() error without add-ons or modified code.

Turbosport
Wed 2nd Jul '08, 1:51pm
:rolleyes: sorry Steve me bad, I had disabled all plugins but not products.....


Found it

Thanks again :)

Steve Machol
Wed 2nd Jul '08, 1:52pm
Glad to hear it. :)