Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (JAISP, Gizmo, Ruben), 56 guests, and 43 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
isaac
isaac
California
Posts: 907
Joined: April 2004
Show All Member Profiles 
Top Posters(30 Days)
Morgan 8
Gizmo 5
isaac 3
Mark S 3
JAISP 2
UBDan 1
Latest Photos
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Coffee & Cocoa related
QHD Walls (960x800)
Previous Thread
Next Thread
Print Thread
#258857 - 01/02/17 07:09 AM Fatal error: Call to a member function error() on  
Joined: Mar 2007
Posts: 31
BB Offline
newbie
BB  Offline
newbie
Joined: Mar 2007
Posts: 31
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!

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#258858 - 01/02/17 09:21 AM Re: Fatal error: Call to a member function error() on [Re: BB]  
Joined: Feb 2007
Posts: 1,312
JAISP Online tapedshut
JAISP  Online Tapedshut


Joined: Feb 2007
Posts: 1,312
Pennsylvania
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.

#258859 - 01/02/17 04:53 PM Re: Fatal error: Call to a member function error() on [Re: BB]  
Joined: Jun 2006
Posts: 16,709
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer

Joined: Jun 2006
Posts: 16,709
Portland, OR; USA
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.


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#258860 - 01/02/17 05:55 PM Re: Fatal error: Call to a member function error() on [Re: BB]  
Joined: Dec 2003
Posts: 5,803
Ruben Online yawn
Ruben  Online Yawn



Joined: Dec 2003
Posts: 5,803
Lutz,FL
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/17 06:00 PM.

Blue Man Group


There is no such thing as stupid questions. Just stupid answers
#258861 - 01/02/17 06:44 PM Re: Fatal error: Call to a member function error() on [Re: Ruben]  
Joined: Jun 2006
Posts: 16,709
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer

Joined: Jun 2006
Posts: 16,709
Portland, OR; USA
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


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#258862 - 01/02/17 07:07 PM Re: Fatal error: Call to a member function error() on [Re: BB]  
Joined: Mar 2007
Posts: 31
BB Offline
newbie
BB  Offline
newbie
Joined: Mar 2007
Posts: 31
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!

#258863 - 01/03/17 01:20 PM Re: Fatal error: Call to a member function error() on [Re: BB]  
Joined: Dec 2003
Posts: 5,803
Ruben Online yawn
Ruben  Online Yawn



Joined: Dec 2003
Posts: 5,803
Lutz,FL
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

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
photos/images
by Morgan. 07/22/17 01:22 PM
Fee Based Registration
by Outdoorking. 07/13/17 07:49 PM
The Right to Ban Someone?
by PianoWorld. 07/11/17 06:01 PM
Global bug ???
by Morgan. 07/09/17 08:51 AM
upload photo or not for everyone
by Morgan. 07/09/17 07:14 AM
Forum Statistics
Forums36
Topics34,966
Posts190,184
Members12,003
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20170611)