|
|
Joined: Mar 2008
Posts: 24
stranger
|
stranger
Joined: Mar 2008
Posts: 24 |
Hello,
I got an email from a customer. She wanted to access our forums and got the following error message:
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
I have never been reported about this problem before. Is it know for you guys? And do you know how to solve this?
Thanks for the help, Lynn
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Do you have SQL error logging turned on in the control panel? If so, can you take a look there to grab the actual database error?
|
|
|
|
Joined: Jul 2010
Posts: 2
stranger
|
stranger
Joined: Jul 2010
Posts: 2 |
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
No, I was referring to the UBB control panel. You can turn on logging of all MySQL errors relating to UBB in there.
|
|
|
|
Joined: Jul 2010
Posts: 2
stranger
|
stranger
Joined: Jul 2010
Posts: 2 |
i have simular problem how can i see this error? maybe i can modify some file to display this error
The problem i have is after i moved forum to the new host i got these: UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
Please use your back button to return to the previous page. if there is a way to see the error it would be very helpfull
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Easy way is to edit your libs/mysql.inc.php file
Look for the line that has $showerror = 0; and change that to $showerror = 1;
Save it and that should show you the actual database error.
|
|
|
|
Joined: Jul 2010
Posts: 13
stranger
|
stranger
Joined: Jul 2010
Posts: 13 |
This works to see the actual error being thrown. Be sure to change that value back once you resolve the problem or it could be used by someone to hack into the forum later.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Nightcrawler, Ruben),
694
guests, and
214
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|