Previous Thread
Next Thread
Print Thread
Hop To
What Happened?
#237616 06/26/2010 4:39 PM
Joined: Jan 2010
Posts: 84
journeyman
OP Offline
journeyman
Joined: Jan 2010
Posts: 84
UBB Message
We encountered a problem. The reason reported was

Database error only visible to forum administrators

Please click back to return to the previous page.

Re: What Happened?
elijahone #237619 06/26/2010 4:45 PM
Joined: Dec 2003
Posts: 6,103
Likes: 15
Offline
Joined: Dec 2003
Posts: 6,103
Likes: 15
Oops you need to find out what the problem is.
Did you enable the log option in the control panel?
And can you get to the control panel?

Last edited by Ruben; 06/26/2010 4:46 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: What Happened?
Ruben #237620 06/26/2010 4:46 PM
Joined: Jan 2010
Posts: 84
journeyman
OP Offline
journeyman
Joined: Jan 2010
Posts: 84
Nope...

Re: What Happened?
elijahone #237622 06/26/2010 4:51 PM
Joined: Dec 2003
Posts: 6,103
Likes: 15
Offline
Joined: Dec 2003
Posts: 6,103
Likes: 15
No to both questions?
There is another way to see the actual error but you would need to edit one of the script files. And it will display the actual error to anyone that visits the site. Including info that they should not see so it should only be turned on for a short time.
Can't recall the file name and line but I will look it up.



Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: What Happened?
Ruben #237624 06/26/2010 4:58 PM
Joined: Jan 2010
Posts: 84
journeyman
OP Offline
journeyman
Joined: Jan 2010
Posts: 84
I could delete and re-install?

Re: What Happened?
elijahone #237625 06/26/2010 5:11 PM
Joined: Dec 2003
Posts: 6,103
Likes: 15
Offline
Joined: Dec 2003
Posts: 6,103
Likes: 15
Start with this:
FTP to the site.
Open includes/config.inc.php
If it is blank or missing info on lines especially the top 7 or so lines then that file got hosed somehow.
Those top lines have all the path and login info for the database and forum.
If it is hosed you can either manually edit the file or upload a file from a backup.

The next is what I mentioned above.
Ftp to libs/mysql.inc.php
Edit the file search for
$showerror = 0
change it to:
$showerror = 1
Save it and visit the site it will show you what the actual error is.
When you are done change it back to:
$showerror = 0

And enable the logs in the control panel for future.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: What Happened?
Ruben #237626 06/26/2010 5:49 PM
Joined: Jun 2006
Posts: 9,243
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Had a bad username for the database user in the config file.

Re: What Happened?
Rick #237628 06/26/2010 5:51 PM
Joined: Dec 2003
Posts: 6,103
Likes: 15
Offline
Joined: Dec 2003
Posts: 6,103
Likes: 15
Well that will do it for sure.
Only question is how did it get there.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: What Happened?
Ruben #237630 06/26/2010 7:32 PM
Joined: Jan 2010
Posts: 84
journeyman
OP Offline
journeyman
Joined: Jan 2010
Posts: 84
I wish I knew? Rick is so quick Johnny on the spot its fixed before you can blink! Warp speed support around here thats for sure! But its great!!!


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
allow photos to a PM?
by Morgan - 04/03/2020 4:24 PM
SFS Login Detection Issue [NotABug]
by Ruben - 03/29/2020 1:16 PM
possible bug?
by Morgan - 03/29/2020 5:18 AM
Who's Online Now
1 members (1 invisible), 69 guests, and 39 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4