Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (UBBSystems, Gizmo, Dunny, Mindraven), 20 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/04/04
Posts: 425
Top Posters (30 Days)
Ruben 65
SD 57
Gizmo 54
gliderdad 33
Iann128 22
Dunny 22
Steve C 20
driv 18
dbremer 16
Stan 15
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
Topic Options
#237057 - 05/27/10 07:31 AM Database error
Lynn Offline
stranger
Registered: 03/28/08
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
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."
#237058 - 05/27/10 08:43 AM Re: Database error [Re: Lynn]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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?
Top
#238025 - 07/20/10 02:15 PM Re: Database error [Re: Rick]
Grey owl Offline
stranger
Registered: 07/19/10
Posts: 2
control panel for mySQl?
Top
#238026 - 07/20/10 02:16 PM Re: Database error [Re: Grey owl]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
No, I was referring to the UBB control panel. You can turn on logging of all MySQL errors relating to UBB in there.
Top
#238027 - 07/20/10 02:19 PM Re: Database error [Re: Grey owl]
Grey owl Offline
stranger
Registered: 07/19/10
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
Top
#238028 - 07/20/10 02:22 PM Re: Database error [Re: Grey owl]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#238059 - 07/21/10 03:59 PM Re: Database error [Re: Rick]
jarmerson Offline
stranger
Registered: 07/20/10
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.
Top



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

Today's Birthdays
No Birthdays
Recent Topics
How to locate links to particular site if they are only used in images?
by Conrad
Yesterday at 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
Long thread, UBB code not parsing
by Bad Frog
02/09/12 07:47 AM
Most Recent Posts
by Bert
02/09/12 12:21 AM
Forum Stats
10210 Members
36 Forums
33665 Topics
180900 Posts

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