Previous Thread
Next Thread
Print Thread
Hop To
#237616 06/26/2010 3: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.

elijahone #237619 06/26/2010 3:45 PM
Joined: Dec 2003
Posts: 6,320
Likes: 49
Offline
Joined: Dec 2003
Posts: 6,320
Likes: 49
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 3:46 PM.

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

elijahone #237622 06/26/2010 3:51 PM
Joined: Dec 2003
Posts: 6,320
Likes: 49
Offline
Joined: Dec 2003
Posts: 6,320
Likes: 49
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
Ruben #237624 06/26/2010 3:58 PM
Joined: Jan 2010
Posts: 84
journeyman
OP Offline
journeyman
Joined: Jan 2010
Posts: 84
I could delete and re-install?

elijahone #237625 06/26/2010 4:11 PM
Joined: Dec 2003
Posts: 6,320
Likes: 49
Offline
Joined: Dec 2003
Posts: 6,320
Likes: 49
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
Ruben #237626 06/26/2010 4:49 PM
Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
Had a bad username for the database user in the config file.

Rick #237628 06/26/2010 4:51 PM
Joined: Dec 2003
Posts: 6,320
Likes: 49
Offline
Joined: Dec 2003
Posts: 6,320
Likes: 49
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
Ruben #237630 06/26/2010 6: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
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
active text
by isaac - 03/02/2021 6:48 AM
How to delete all PM's for one user
by Ruben - 02/27/2021 7:10 AM
Active links corrupts image links/urls
by Morgan - 02/24/2021 1:03 PM
Return to Page
by Abbott - 02/20/2021 9:57 AM
Importers folder?
by DaveZ - 02/18/2021 11:31 AM
Who's Online Now
1 members (JAISP), 47 guests, and 55 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5