The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Urgent Please - Site down after MYSQL upgrade.
Hello,
We have scheduled a vbulletin upgrade next week. We were just trying to upgrade the mysql version to latest. After successfully upgrading mysql, we are getting following errors. We also have bought dbseo. Please provide some help urgently, so atleast we get the site live again. This are errors: HTML Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 45 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 93 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 97 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 105 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 116 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 120 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 128 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 197 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/init.php on line 404 Strict Standards: Declaration of vB_Database_MySQLi::select_db_wrapper() should be compatible with vB_Database::select_db_wrapper($database = '', $link = NULL) in /home/tarena/public_html/forums/includes/class_core.php on line 1115 Deprecated: Assigning the return value of new by reference is deprecated in /home/tarena/public_html/forums/includes/class_core.php on line 2345 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/tarena/public_html/forums/includes/class_core.php on line 1514 Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/tarena/public_html/forums/includes/class_core.php on line 2348 Fatal error: Memcache is not installed in /includes/class_datastore.php on line 270 |
#3
|
||||
|
||||
Hello kh99,
Thank You for immediate answer, it was our bad to not close the forums.. Vbulletin 3.6.x Apache Version 2.2.29 PHP Version 5.4.39 MySQL Version 5.6.23 I got rid of many errors after following this : http://www.vbulletin.com/forum/forum...07#post3949907 |
#4
|
|||
|
|||
Like that thread says, your version of vbulletin doesn't support php 5.4, so you should really either upgrade vbulletin or go back to an older php. But in any case, what errors do you have left?
|
#5
|
||||
|
||||
Code:
Strict Standards: Declaration of vB_Database_MySQLi::select_db_wrapper() should be compatible with vB_Database::select_db_wrapper($database = '', $link = NULL) in /home/tarena/public_html/forums/includes/class_core.php on line 1115 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/tarena/public_html/forums/includes/class_core.php on line 1514 Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/tarena/public_html/forums/includes/class_core.php on line 2348 Fatal error: Memcache is not installed in /includes/class_datastore.php on line 270 Site is scheduled to be uprgaded next week to vb 4.x latest. And following errors on front-end. Code:
Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php on line 279 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php on line 86 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php on line 129 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php on line 130 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php on line 131 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php on line 132 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 18 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 19 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 20 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 21 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 22 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 23 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 24 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 25 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 26 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo.php on line 27 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo.php on line 17 Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_url.php on line 359 Strict Standards: Declaration of vB_Database_MySQLi::select_db_wrapper() should be compatible with vB_Database::select_db_wrapper($database = '', $link = NULL) in /home/tarena/public_html/forums/includes/class_core.php on line 1115 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/tarena/public_html/forums/includes/class_core.php on line 1514 Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/tarena/public_html/forums/includes/class_core.php on line 2348 Fatal error: Memcache is not installed in /includes/class_datastore.php on line 270 |
#6
|
|||
|
|||
Yeah, the last error is the one really causing a problem. I don't know about memcached, but I suppose the problem is that you don't actually have it installed, so maybe you either need to install it or edit your config.php file and comment out the lines where it's configured.
|
#7
|
||||
|
||||
Commented out memcache configuration from config.php
Code:
Fatal error: Memcache is not installed in /includes/class_datastore.php on line 270 But getting a new error instead of memcache and all other still there: Code:
Unable to add cookies, header already sent. File: /home/tarena/public_html/forums/vbseo/includes/functions_vbseo_pre.php Line: 279 This is response from our hosting provider. Quote:
Quote:
Still this errors on admincp exists.. which wont allow us to upgrade vbulletin. Code:
Strict Standards: Declaration of vB_Database_MySQLi::select_db_wrapper() should be compatible with vB_Database::select_db_wrapper($database = '', $link = NULL) in /home/tarena/public_html/forums/includes/class_core.php on line 1115 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/tarena/public_html/forums/includes/class_core.php on line 1514 Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/tarena/public_html/forums/includes/class_core.php on line 2348 Unable to add cookies, header already sent. File: /home/tarena/public_html/forums/includes/class_core.php Line: 1115 |
#8
|
|||
|
|||
Quote:
I don't have the source code for vb3.6 handy so I can't tell you how to fix those errors. You might be able to change the error_reporting() call to stop those errors from being displayed, but I think that has to be done in many places. |
#9
|
||||
|
||||
Atleast if we are able to fix the issue on admincp part.
We can continue ahead with the upgrade. This are problems appearing on admincp Code:
Strict Standards: Declaration of vB_Database_MySQLi::select_db_wrapper() should be compatible with vB_Database::select_db_wrapper($database = '', $link = NULL) in /home/tarena/public_html/forums/includes/class_core.php on line 1115 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/tarena/public_html/forums/includes/class_core.php on line 1514 Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/tarena/public_html/forums/includes/class_core.php on line 2348 Unable to add cookies, header already sent. File: /home/tarena/public_html/forums/includes/class_core.php Line: 1115 Can you allow me to send the source code of few specific files to you or post here ? Please let me know which files to get access to admincp. Will reverting back to old version of php help ? as per our hosting provider ? Thanks. --------------- Added [DATE]1428672207[/DATE] at [TIME]1428672207[/TIME] --------------- Will reverting back to old version of php help ? as per our hosting provider ? |
#10
|
|||
|
|||
OK, for the first error, if you edit includes/class_core.php, somewhere around like 1090 (actually, I guess it's line 1115 like in the error message) should be this:
PHP Code:
Code:
/** * Simple wrapper for select_db(), to allow argument order changes * * @param string Database name * @param integer Link identifier * * @return boolean */ function select_db_wrapper($database = '', $link = null) { return $this->functions['select_db']($link, $database); } Yes, I think what vbulletin support would recommend is to use a php version that is compatible with the vbulletin you're running. I don't know what version that would be - I think your host has upgraded and not told you, or they didn't realize they did it. If you want to try to get rid of those errors and see what happens, I can try to help with that. But I think what might happen is that you might get rid of the errors but there could be other problems that aren't so obvious. But if you're planning to upgrade vbulletin next week, it might be good enough until then. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|