vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Just upgraded to 4.2.1 getting error (https://vborg.vbsupport.ru/showthread.php?t=302428)

dj83 09-18-2013 09:10 PM

Just upgraded to 4.2.1 getting error
 
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:

PHP Code:

 define('DISABLE_HOOKS'true); 

So it looks like this:
PHP Code:

<?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

Quote:

Originally Posted by pityocamptes (Post 2446572)
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

Quote:

Originally Posted by ForceHSS (Post 2446579)
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.

Quote:

Originally Posted by dj83 (Post 2446570)
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

Quote:

Originally Posted by ozzy47 (Post 2446580)
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

Quote:

Originally Posted by dj83 (Post 2446589)
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?

Quote:

Originally Posted by ozzy47 (Post 2446591)
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

Quote:

Originally Posted by pityocamptes (Post 2446720)
Actually can you post the entire block with line numbers?

What are blocks? I am new to vb :)


All times are GMT. The time now is 04:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01116 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete