vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I am getting DB error (https://vborg.vbsupport.ru/showthread.php?t=326512)

pallam 06-28-2018 04:07 AM

I am getting DB error
 
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

Quote:

Originally Posted by snakes1100 (Post 2595299)
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 [DATE]1530193687[/DATE] at [TIME]1530193687[/TIME] ---------------

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

blind-eddie 06-28-2018 07:13 PM

Quote:

Originally Posted by snakes1100 (Post 2595299)
Upgrade vb

or

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

what is the word new being used for?
Quote:

Originally Posted by pallam (Post 2595307)
There is no more option other than buying V bulletin 5 fix this error.

--------------- Added [DATE]1530193687[/DATE] at [TIME]1530193687[/TIME] ---------------

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

Quote:

Originally Posted by pallam (Post 2595297)
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.


All times are GMT. The time now is 04:15 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.05763 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete