The hostserver where my UBB is loaded to my domain did a SQL database repairs for another software issue and now I find when going to my forum it is crashed saying
We encountered a problem. The reason reported was
Database error only visible to forum administrators
---------------
How can I get to Admin directly (URL) ? page to fix this ASAP or via the Cpanel of the host for SQL ?
Never seen this in 10 years of UBB use so no idea how to quickly fix this
When I try to go directly to admin logn I get
Fatal error: Call to a member function error() on a non-object in /home1/teamzron/public_html/ubbthreads/libs/mysql.inc.php on line 77
Thanks for any help
Edited by teamzr1 (07/25/1001:10 PM)
_________________________
JR Team ZR-1 Corvette Racer's
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#238188 - 07/25/1001:08 PMRe: Forum crashed after server SQL repair - HELP
[Re: teamzr1]
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
You'll want to get to the root cause of the error. If you don't have SQL error logging turned on, then you'll want to edit the libs/mysql.inc.php file and change the line that says:
$showerror = 0;
to
$showerror =1;
Then report back here with what the actual error is.
Script: Line#: SQL Error: Access denied for user 'teamzron'@'localhost' (using password: YES) SQL Error #: 1045 Query: Unable to connect to the database!
_________________________
JR Team ZR-1 Corvette Racer's
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ok, so it's a database access issue. It seems somehow they've taken away your access to your database. If you've got cpanel you might want to go into the MySQL databases section and confirm that the proper user has access to the database, or create a new user if necessary.
I suspect the damn tech on hostmonster had me change the main password which now does not match the password I see in the Config.inc.php you had me check
Sound right ? if it no longer matches then forum fails to load ?
_________________________
JR Team ZR-1 Corvette Racer's
Thats correct. You need to probably start over. Meaning add a user and password to the ubb database. Then edit the config.inc.php to match it. Or vice versa. Check the config file and add a user and password to the database that matches the config file. Your call.
That's probably because the backup file was a week old. Might be time to consider your own backup routine. For a CYA situation like this in the future.
They caused all this as they supply Zen Cart a frontstore software. A update of it wacked a Admin function, HM tech said it was a database issue
Add to problem I suspect HM has had hacking problems and was forcing all domain owners to change master passwords.
Well when the phpadmin was used old password had to be changed BUT it also changed then password to all databases
Bitch is I find the Zen Cart problem was the vendor of software coding issue and not a DB issue.
Thus HM idiots instead of knowing the password was the issue forced a 1 week backup ( they wanted to delete the UBB forum and I reinstall and I refused !)
To make it worse I had told them NOT to do the backup as I changed the PW in the config file to new one so forum was back up Then they did do the back up so now old PW was used so forum was down again and I just had to change PW back to old password again
Happy Admin Sunday blown day :-(
_________________________
JR Team ZR-1 Corvette Racer's
I installed Zen Cart on one of my servers for a client to test the software as he intended to use it if it fit his needs. It appeared to be a good solution for that client but overnight some how through the Zen Cart software the MySQL database user file was accessed and all users were deleted and the user folder on the server was corrupted and unable to be repaired.
I found the problem through a secondary server that monitors all access to the servers through the network and found exactly what was done and how. The person who did this did a very good job at covering his tracks and I would have never found out what happened if I didn't have a secondary server running the log copies and such.
What I had to do is log into the server as a root user and upload a copy of the user records on to the server and reset the file permissions as it is a Linux server. Once that was completed all users were able to access their MySQL databases once again with out any problems and no data was lost in any of the databases running on the server.
May I make a quick suggestion? Change your hosting to MindRaven and forget about your present people.. we all know that Tech Support for UBB is probably the best there is already so I don't think that their hosting plans would be any different.
Just a thought. I know I run my own equipment but if I didn't I can guarantee you I would be running on MindRaven's servers.