PDA

View Full Version : Getting Deprecated errors


TalkVirginia
10-12-2009, 08:51 PM
I have a product that I've started working on that shows these errors at the top of the page. I'm working in local development environment on Windows Vista Ultimate with a fresh install of vBulletin v3.8.4 pl1. I'm running xampp v1.7.2 with php 5.3.0.

When I use my test forum, I do not get these errors.

My error level in my php.ini is set to: E_ALL & ~E_NOTICE & ~E_DEPRECATED

I have also tried adding an error reporting php statment with just E_ERROR at the end of my vbulletin config.php file. That didn't work either.

Any ideas how I can fix this?




Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\class_core.php on line 2552

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\functions.php on line 945

Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\forum\includes\functions.php on line 949

JamesC70
10-12-2009, 09:10 PM
I'd drop PHP back to 5.2.9.

More information: http://www.vbulletin.com/forum/project.php?issueid=28380

TalkVirginia
10-12-2009, 10:57 PM
I'd drop PHP back to 5.2.9.

More information: http://www.vbulletin.com/forum/project.php?issueid=28380

I downgraded to PHP 5.2.9. Now I'm getting this error from vbulletin.

Fatal error: Call to undefined function mysql_connect() in D:\xampp\htdocs\forum\includes\class_core.php on line 311

Lynne
10-12-2009, 11:35 PM
You get that error on all pages or just on some? Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

TalkVirginia
10-13-2009, 04:42 AM
I decided to go back to an older version of xampp that I had. I think it's using PHP 5.2.6 instead of 5.2.9.