Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2014, 08:54 PM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Deprecated Error Showing up on my forum

I was recently moved to a new server through my webhost.

When I got moved, I now get an error at the top of my webpage that says:

Deprecated: Function split() is deprecated in /home/sitename/public_html/forums/forum.php(791) : eval()'d code on line 49

Then at the very bottom of the page it displays all the
vBulletin 4.2.1 Debug information for everybody to see.

Any idea what is happening or going on?
Reply With Quote
  #2  
Old 02-05-2014, 09:08 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your new server seems to have a different (newer) version of php running and also it appears as if they added a snippet of code to the config.php file in order to run it in debug mode for whatever reason.

Check the config.php file which is within /includes/ folder and see if any code such as this is at the very top below <?php at the very top, it will resemble this:

PHP Code:
<?php
$config
['Misc']['debug'] = true;
If it is then delete the line or comment it out, to comment out the code add to slashed before it, example:

PHP Code:
<?php
// $config['Misc']['debug'] = true;
That will tell it NOT to "act" since the slashes make it not parse when the file is read .

Now as for the deprecated error, that can be related to a mod (the eval()'d code part of the message tells us that) or sometimes something within vBulletin itself that does not act how it should because well things have changed in other words.

Check post #2 here as well: http://www.vbulletin.com/forum/forum...-been-released
Reply With Quote
  #3  
Old 02-05-2014, 09:18 PM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Your new server seems to have a different (newer) version of php running and also it appears as if they added a snippet of code to the config.php file in order to run it in debug mode for whatever reason.

Check the config.php file which is within /includes/ folder and see if any code such as this is at the very top below <?php at the very top, it will resemble this:

PHP Code:
<?php
$config
['Misc']['debug'] = true;
If it is then delete the line or comment it out, to comment out the code add to slashed before it, example:

PHP Code:
<?php
// $config['Misc']['debug'] = true;
That will tell it NOT to "act" since the slashes make it not parse when the file is read .

Now as for the deprecated error, that can be related to a mod (the eval()'d code part of the message tells us that) or sometimes something within vBulletin itself that does not act how it should because well things have changed in other words.

Check post #2 here as well: http://www.vbulletin.com/forum/forum...-been-released
Thanks so much, the config.php fix corrected everything!
Reply With Quote
Благодарность от:
TheLastSuperman
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08567 seconds
  • Memory Usage 2,190KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (1)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete