PDA

View Full Version : I am getting DB error


pallam
06-28-2018, 04:07 AM
Hello all,

Please help me anyone for the DB error .

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 101

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 105

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 113

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 124

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 128

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 136

Deprecated: Assigning the return value of new by reference is deprecated in /home3/ncee/public_html/Vb/includes/init.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 383

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/class_core.php on line 2552
Database Error Database error

snakes1100
06-28-2018, 07:37 AM
Upgrade vb

or

Remove & on each of those lines in each file
=& new to = new

pallam
06-28-2018, 10:08 AM
Upgrade vb

or

Remove & on each of those lines in each file
=& new to = new



Thank you for the help.

I changed every thing but still not working. Currently I am using: 5.6 PHP version.

Dave
06-28-2018, 11:04 AM
Upgrade to the latest vBulletin 3 version and PHP version to 7.1, that should get rid of those errors.

pallam
06-28-2018, 11:07 AM
Thank you Dave.

where I can buy V Bulletin 3 version I am only seeing 5 version on members area.

Dave
06-28-2018, 11:30 AM
Buying vBulletin 5 will automatically give you access to the older vBulletin 3 after the purchase.

pallam
06-28-2018, 11:46 AM
There is no more option other than buying V bulletin 5 fix this error.

--------------- Added 1530193687 at 1530193687 ---------------

If I change PHP version lower can help get rid of the error ?

blind-eddie
06-28-2018, 07:13 PM
Upgrade vb

or

Remove & on each of those lines in each file
=& new to = new

what is the word new being used for?
There is no more option other than buying V bulletin 5 fix this error.

--------------- Added 1530193687 at 1530193687 ---------------

If I change PHP version lower can help get rid of the error ?



Do this:

includes/init.php
includes/class_core.php

==========
search for
===========
=&

============
replace with
============
=

Save

Alice
06-28-2018, 08:39 PM
Hello all,

Please help me anyone for the DB error .


Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 101

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 105

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 113

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 124

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 128

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 136

Deprecated: Assigning the return value of new by reference is deprecated in /home3/ncee/public_html/Vb/includes/init.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/init.php on line 383

Deprecated: Assigning the return value of new by reference is deprecated in /home3/nce/public_html/Vb/includes/class_core.php on line 2552
Database Error Database error

Just to make sure I am communicating clearly, that is not a database error, that is a PHP error. That is a big distinction/difference. In my experience, you get those php errors when your vbulletin version and php version is mismtached. Either upgrade one or the other, either way, it should resolve once you do.

Hope this helps. :)

Mattwhf
07-01-2018, 02:30 AM
This error is caused by PHP version on your hosting, check that and it should solve your error.

pallam
07-09-2018, 02:31 AM
Thank you all for the help problem solved .:)