Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Gizmo, GregK, Iann128, SteveS, SD), 34 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/22/10
Posts: 5
Top Posters (30 Days)
Ruben 61
SD 52
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Mark S 13
Stan 12
Iann128 10
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#238187 - 07/25/10 01:06 PM Forum crashed after server SQL repair - HELP
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
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/10 01:10 PM)
_________________________
JR
Team ZR-1 Corvette Racer's
Top
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."
#238188 - 07/25/10 01:08 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Rick Offline
Post-a-holic
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.
Top
#238189 - 07/25/10 01:14 PM Re: Forum crashed after server SQL repair - HELP [Re: Rick]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Does the error I added to above help ?

via Cpanel on host the phpAdmin was used and the databases were all set to repair and then to optimize
After that forum was broken
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#238190 - 07/25/10 01:21 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Not particularly. It's trying to throw an admin error but can't. We really need to see the actual database error.
Top
#238191 - 07/25/10 01:21 PM Re: Forum crashed after server SQL repair - HELP [Re: Rick]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Changing to 1 and now get

We encountered a problem. The reason reported was

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
Top
#238192 - 07/25/10 01:22 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Rick Offline
Post-a-holic
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.
Top
#238193 - 07/25/10 01:28 PM Re: Forum crashed after server SQL repair - HELP [Re: Rick]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Which database is for UBB ?


teamzron_bdd1 0.05 MB
teamzron_bdd1 Delete User
Delete Database
teamzron_dprj1 0.20 MB
teamzron_dprj1 Delete User
Delete Database
teamzron_mychat1 0.00 MB
teamzron_mychat1 Delete User
Delete Database
teamzron_nhs1 0.16 MB
teamzron_nhs1 Delete User
Delete Database
teamzron_pfc01 0.00 MB
teamzron_pfc01 Delete User
Delete Database
teamzron_zc1 72.77 MB
teamzron_zc1 Delete User
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#238194 - 07/25/10 01:36 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
It looks like the teamzron_zc1, but to be sure, take a look at your includes/config.inc.php file and look at the DATABASE_NAME in that file to verify.
Top
#238195 - 07/25/10 01:38 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
If you don't recall your database name then you may want to start with looking at includes/config.inc.php.

The top few lines will tell you all the info needed.
Quote:
<?php
$config = array (
'DATABASE_SERVER' => 'yourhost',
'DATABASE_USER' => 'username',
'DATABASE_PASSWORD' => 'password',
'DATABASE_NAME' => 'databasename',
'TABLE_PREFIX' => 'ubbt_',( this is the default setting)
_________________________
Blue Man Group
Top
#238196 - 07/25/10 01:45 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
Whats up with the delete user line?
Quote:
teamzron_zc1 Delete User
_________________________
Blue Man Group
Top
#238197 - 07/25/10 01:49 PM Re: Forum crashed after server SQL repair - HELP [Re: Ruben]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
That's a cPanel thing. It allows you to delete that particular user from accessing the database
Top
#238198 - 07/25/10 01:54 PM Re: Forum crashed after server SQL repair - HELP [Re: Rick]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
Yes I know.
Thats what I mean.
How was a user deleted???
_________________________
Blue Man Group
Top
#238199 - 07/25/10 01:56 PM Re: Forum crashed after server SQL repair - HELP [Re: Ruben]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
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
Top
#238200 - 07/25/10 01:57 PM Re: Forum crashed after server SQL repair - HELP [Re: Ruben]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
That is a function that allows user (admin) to click and delete existing database(s)
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#238201 - 07/25/10 02:00 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
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.
_________________________
Blue Man Group
Top
#238202 - 07/25/10 02:07 PM Re: Forum crashed after server SQL repair - HELP [Re: Ruben]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
OK guys thanks for the help

in 10 plus years of running UBB this is only the 2nd time it was non working :-(

Problem is the morons at hostmonster did backup restore so forum is back up but all posts for the last week are gone :-(
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#238203 - 07/25/10 02:12 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
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.
_________________________
Blue Man Group
Top
#238204 - 07/25/10 02:13 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ugh, sorry to hear that. Why did the do a backup restore in the first place? Did they do that for all of the databases on that server or just for you?
Top
#238205 - 07/25/10 03:12 PM Re: Forum crashed after server SQL repair - HELP [Re: Rick]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Rick support at Hostmonster pure stinks,

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
Top
#238206 - 07/25/10 03:16 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
That sucks.
Chasing a problem all day that keeps changing and was never something you did to begin with.
_________________________
Blue Man Group
Top
#238207 - 07/25/10 03:35 PM Re: Forum crashed after server SQL repair - HELP [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
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.
Top
#238208 - 07/25/10 06:35 PM Re: Forum crashed after server SQL repair - HELP [Re: teamzr1]
Dunny Offline
addict
Registered: 01/16/08
Posts: 427
Loc: DE USA
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.

Dunny
_________________________
Dunny

http://forums.iskirra.net

Dawn of Iskirra
Top
#238209 - 07/25/10 06:37 PM Re: Forum crashed after server SQL repair - HELP [Re: Dunny]
gliderdad Offline
Registered: 06/08/06
Posts: 1438
Loc: NY
Originally Posted By: Dunny

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.

Dunny


Same here and was thinking the same thing!
Top
#238213 - 07/25/10 09:08 PM Re: Forum crashed after server SQL repair - HELP [Re: gliderdad]
Iann128 Online   gnasher

enthusiast
Registered: 03/21/08
Posts: 224
Loc: Austin, AR
I am in the process of moving our club site to Mindraven and can tell you Rick has made it painless!!!!
_________________________
Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Edit Post
by Bert
Today at 01:19 PM
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10214 Members
36 Forums
33668 Topics
180918 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image