Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2007
Posts: 36
Likes: 1
B
BB
Offline
Newbie
Newbie
B Offline
Joined: Mar 2007
Posts: 36
Likes: 1
Hello,

I'm running version 7.5.9 and trying to move to a new server.

I'm getting this error message on the new server:

Fatal error: Call to a member function error() on a non-object in libs/mysql.inc.php

The new server is http://158.69.69.199/board/admin/login.php or https://new.wordsmith.org/board/admin/login.php (this will get a cert warning; you can ignore it).

The old server is https://wordsmith.org/board/ . The forum code and data tables are exactly the same on both the servers.

Thanks for your help!

Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
On your MySQL database have you used the same exact database name, user name, and passcode? Also check the information for your database in /includes/configure.inc.php for that information to make sure it is correct to your new server settings. You may have to change the server from localhost to 127.0.0.1 to access your database depending on how the new server is setup.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Sounds like you moved servers but neglected to update the paths in the includes/config.inc.php file; you'll need to populate the new information for both the MySQL server and the paths to your user directory, as well as ensure the chmods of all of your files are correct.

I have a Migration Guide on the ubbwiki at Migration Guide.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
what you need to remember is even if you have the same file structure on a new server.
Paths may change due the the host setup, especially the db paths. which also means user name, db and password.
Meaning a prefix may have changed or if on linux the case has changed.
It is best to edit the config.inc.php file
At least the first few lines(there are more depending on what options you have turned on).
Once you have it running again.
You should go thru all the settings in the cp and re-save them even if they look correct.

Last edited by Ruben; 01/02/2017 6:00 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Originally Posted by Ruben
At least the first few lines(there are more depending on what options you have turned on).
There are more indications of the path further down the file if he had setup attachments.

Prior to a move you should try the UBB.threads System Requirement Test to ensure your new server can run UBB.threads without any issues (such as suhosin, among other checks), the latest version will also tell you:
PHP Interface: cgi-fcgi
PHP Version: v5.6.29
Reported Host: www.ubbwiki.com
Reported IP: 184.154.76.213
Reported OS: Linux
Reported Path: /home/ubbwiki/public_html
Reported Port: 80

Documentation for it is available at UBB.threads System Requirement Test


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2007
Posts: 36
Likes: 1
B
BB
Offline
Newbie
Newbie
B Offline
Joined: Mar 2007
Posts: 36
Likes: 1
Well, I had neglected to set the 'nobody' password on the db. I wish the bboard software would give a more descriptive error message, such as: Error accessing database.

Anyway, thanks everyone, for your help. Appreciate it very much!

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Originally Posted by BB
Well, I had neglected to set the 'nobody' password on the db. I wish the bboard software would give a more descriptive error message, such as: Error accessing database.

Anyway, thanks everyone, for your help. Appreciate it very much!

It does, you need to enable server logs in the ubb control panel.
In fact it is strongly advised by all of us to do so.
Other wise you get a generic message
The logs are accessible via the cp and the files are view able as text if you ftp to the folder.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)