Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2018, 04:07 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 06-28-2018, 07:37 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade vb

or

Remove & on each of those lines in each file
=& new to = new
Reply With Quote
  #3  
Old 06-28-2018, 10:08 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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.
Reply With Quote
  #4  
Old 06-28-2018, 11:04 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade to the latest vBulletin 3 version and PHP version to 7.1, that should get rid of those errors.
Reply With Quote
  #5  
Old 06-28-2018, 11:07 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Dave.

where I can buy V Bulletin 3 version I am only seeing 5 version on members area.
Reply With Quote
  #6  
Old 06-28-2018, 11:30 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Buying vBulletin 5 will automatically give you access to the older vBulletin 3 after the purchase.
Reply With Quote
  #7  
Old 06-28-2018, 11:46 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #8  
Old 06-28-2018, 07:13 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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 View Post
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
Reply With Quote
  #9  
Old 06-28-2018, 08:39 PM
Alice Alice is offline
 
Join Date: Mar 2013
Location: Great Lakes Area
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pallam View Post
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.
Reply With Quote
  #10  
Old 07-01-2018, 02:30 AM
Mattwhf Mattwhf is offline
 
Join Date: May 2016
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This error is caused by PHP version on your hosting, check that and it should solve your error.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:29 PM.


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.04167 seconds
  • Memory Usage 2,257KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete