![]() |
Problem Moving vB5
I'm trying to move my forums to a new server. I've moved the files and database. When I access my forums, I get an internal server error. The apache error log shows issues with the API calls or something. Can anyone decipher and help me correct this?
Code:
PHP Fatal error: Call to a member function fetch_userinfo_value() on a non-object in /home/domain/forums.domain.com/public_html/core/vb/api/state.php on line 316 |
You sure you correctly uploaded all of the files?
|
I pulled my files from current server. When those didn't work. I grabbed a fresh copy from the members section of vBulletin.com. Those didn't work either. So, I'm guessing it's either a database issue or an issue with the new server config. I just don't know where to start looking.
|
What version PHP and MySQL on the new and old server? What is the collation of the database on the new and old server? Did you move the .htaccess file? Did you change the URL at all for the forums? Does you new server have mod_rewrite enabled as well as cURL?
Lynne Sands vBulletin Support Staff vBulletin.org Admin |
Old Server
PHP 5.3.20 MySQL 5.1.61 New Server PHP 5.4.37 MySQL 5.6.22 The .htaccess file didn't move. I set up a test URL for the forums on the new server, since I haven't actually made the switch yet. I updated the core/includes/config.php file and setting table with the test URL. The new server has both mod_rewrite and cURL. |
You said the .htaccess file didn't move, but you need an .htaccess file in vB5, so you need to move it to the new site.
|
Oh - I meant that the .htaccess file hadn't changed to a different location. I had copied to the new server in the same location.
|
If you set up a test URL, did you change the URL in the admincp before creating the database backup and moving the database to the new server?
What version of vB is this? |
I didn't change anything before creating the database backup. This is version 5.1.1.
|
Did the domain URL change? If so, then you need to have the correct domain URL in there. You should put it in there *before* creating the database backup and moving it to the new server.
|
All times are GMT. The time now is 07:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|