Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2012, 11:46 PM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Strange Forums Error

Hello,

I tried to access my forum today and got this error:

Quote:
Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i/ /html/forums/includes/init.php on line 43

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 91

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 95

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 114

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 118

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 126

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 195

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/init.php on line 402

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/E/v/i//html/forums/includes/class_core.php on line 2337

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/content/E/v/i//html/forums/includes/class_core.php on line 1505




Unable to add cookies, header already sent.
File: /home/content/E/v/i//html/forums/includes/init.php
Line: 43

I need help, none of my members can use the forum due to this error. Thank you!
Reply With Quote
  #2  
Old 11-10-2012, 01:02 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might want to ask your host if they upgraded your php on your site. What version of vbulletin are you running and what version of php and mysql?
Reply With Quote
  #3  
Old 11-10-2012, 02:04 AM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im running 3.6.2 and yes they did upgrade the php on my site to php 5.x
Reply With Quote
  #4  
Old 11-10-2012, 01:38 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a version of php that isn't supported by vb3. But you can try doing this: edit global.php and near the top under the copyright notice, add this:

Code:
error_reporting(E_ALL & ~E_NOTICE & ~8192);

do the same for admincp/global.php and modcp/global.php.
Reply With Quote
  #5  
Old 11-10-2012, 04:39 PM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried that kh99, that didnt not work.
Reply With Quote
  #6  
Old 11-10-2012, 04:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll have to either ask your host to put you back on a server running PHP4 or you will need to upgrade your vbulletin site to 3.8.7.
Reply With Quote
  #7  
Old 11-10-2012, 09:56 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or add KH99's suggestion to your php error reporting (your host can do this for you).
Reply With Quote
  #8  
Old 11-11-2012, 12:42 AM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have Godaddy as a host, how do I get them to add that to my php error reporting?
Reply With Quote
  #9  
Old 11-11-2012, 12:49 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ask them to change the php config error handling for html errors to E_ALL & ~E_NOTICE & ~8192
Reply With Quote
  #10  
Old 11-11-2012, 03:02 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add the below to a php.ini file, place the php.ini file in your public_html dir.
display_errors = Off
Reply With Quote
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 01:10 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.04310 seconds
  • Memory Usage 2,251KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete