PDA

View Full Version : Just upgraded to 4.2.1 getting error


dj83
09-18-2013, 09:10 PM
Hello,

I just upgraded to 4.2.1 and I am getting the following error....

Parse error: syntax error, unexpected '{' in /home2/website/public_html/forums/forum.php(791) : eval()'d code on line 178

How can I fix this error?

Thank You!

ozzy47
09-18-2013, 09:12 PM
Try disabling all your mods, and see if the error sill occurs.

Open your config.php and below<?php add this line:

define('DISABLE_HOOKS', true);

So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.1.4

dj83
09-18-2013, 09:26 PM
It's photopost 8.4 causing this issue. How would I fix it so that photo post will work with it? It work fine with 4.0.0

pityocamptes
09-18-2013, 09:28 PM
Whats line 178 say...

dj83
09-18-2013, 10:01 PM
Whats line 178 say...

$birthday['comma'] = $vbphrase['comma_space'];

ForceHSS
09-18-2013, 10:50 PM
This error is caused by one of your plugin that might just need a update. Disable each one until you find the problem when found update or remove it

ozzy47
09-18-2013, 10:52 PM
This error is caused by one of your plugin that might just need a update. Disable each one until you find the problem when found update or remove it

He did this was his findings.

It's photopost 8.4 causing this issue. How would I fix it so that photo post will work with it? It work fine with 4.0.0

ForceHSS
09-18-2013, 10:56 PM
He did this was his findings.

He does not say he did in that post

ozzy47
09-18-2013, 10:59 PM
He did in post #3

ForceHSS
09-18-2013, 11:01 PM
He said in post 3 what was causing it but not what u or I said to do. Like i said in post 6 update or remove the problem plugin

dj83
09-18-2013, 11:06 PM
I did what ozzy47 said to do and that's how I found out that it's photopost and after disabling the photopost plugin I didn't get any errors.

If i remove it I wouldn't be able to use it right?

ozzy47
09-18-2013, 11:07 PM
That would be correct.

TheLastSuperman
09-19-2013, 12:26 AM
I did what ozzy47 said to do and that's how I found out that it's photopost and after disabling the photopost plugin I didn't get any errors.

If i remove it I wouldn't be able to use it right?

That would be correct.

Bingo and also, if you remove i.e. "Uninstall" it you may lose all past data, then if you decided to enable it again all that would be lost. If it ever boils down to a modification you need but is not updated to work with your current version of vBulletin you should simply disable it otherwise as I said above uninstalling usually removes it completely so all the members photos and such would be gone forever.

pityocamptes
09-19-2013, 02:51 PM
Actually can you post the entire block with line numbers?

dj83
09-20-2013, 11:31 PM
Actually can you post the entire block with line numbers?

What are blocks? I am new to vb :)