PDA

View Full Version : Strange Forums Error


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

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

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:

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
Just add the below to a php.ini file, place the php.ini file in your public_html dir.
display_errors = OffThat 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
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
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