vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Strange Forums Error (https://vborg.vbsupport.ru/showthread.php?t=290428)

Ev!L ErN!E 11-09-2012 11:46 PM

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!

Lynne 11-10-2012 01:02 AM

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?

Ev!L ErN!E 11-10-2012 02:04 AM

im running 3.6.2 and yes they did upgrade the php on my site to php 5.x

kh99 11-10-2012 01:38 PM

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.

Ev!L ErN!E 11-10-2012 04:39 PM

Tried that kh99, that didnt not work.

Lynne 11-10-2012 04:47 PM

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.

Simon Lloyd 11-10-2012 09:56 PM

Or add KH99's suggestion to your php error reporting (your host can do this for you).

Ev!L ErN!E 11-11-2012 12:42 AM

I have Godaddy as a host, how do I get them to add that to my php error reporting?

Simon Lloyd 11-11-2012 12:49 AM

Ask them to change the php config error handling for html errors to E_ALL & ~E_NOTICE & ~8192

snakes1100 11-11-2012 03:02 AM

Just add the below to a php.ini file, place the php.ini file in your public_html dir.
display_errors = Off

Simon Lloyd 11-11-2012 03:35 AM

Quote:

Originally Posted by snakes1100 (Post 2380147)
Just add the below to a php.ini file, place the php.ini file in your public_html dir.
display_errors = Off

That could be a bad thing to turn off all errors :)

snakes1100 11-11-2012 03:37 AM

For now it will resolve his issues & is a fix he can do.

ForceHSS 11-11-2012 03:59 AM

Quote:

Originally Posted by Ev!L ErN!E (Post 2380138)
I have Godaddy as a host, how do I get them to add that to my php error reporting?

I also have godaddy and have never had this error

Simon Lloyd 11-11-2012 04:09 AM

Quote:

Originally Posted by snakes1100 (Post 2380149)
For now it will resolve his issues & is a fix he can do.

Sorry i have to disagree!, if he's going to add another php.ini file like that he should use this error_reporting = E_ALL & ~E_DEPRECATED


All times are GMT. The time now is 03:28 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.01029 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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