Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2008
Posts: 7
J
stranger
stranger
J Offline
Joined: Apr 2008
Posts: 7
Suddenly our forum shows the error "Database error only visible to forum administrators". Is there a method to log in as admin to get at least access to the control panel?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, if you enabled error logging to a flat file on your server you could just go open that in notepad... otherwise you'd have to edit libs/mysql.inc.php (going off the top of my head, your mileage may vary) and it should have a line "show_errors" that you'll need to change to 1 vs 0 (be sure to change it back after you're done otherwise you may have some security issues to deal with later)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2008
Posts: 7
J
stranger
stranger
J Offline
Joined: Apr 2008
Posts: 7
Thanks! Now the message is:

SQL Error: User dbo240407564 has already more than 'max_user_connections' active connections
SQL Error #: 1203
Query: Unable to connect to the database!

How can I fix that?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You'll need to email your host; they have a "max connections" variable set in the webserver and you're hitting that limit.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Or find a new host provider with larger limits, or consider a VPS package maybe. They're getting pretty cheap these days compared to what they used to be.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
prolly not your case, but also do NOT enable persistent connections either..

Joined: Apr 2008
Posts: 7
J
stranger
stranger
J Offline
Joined: Apr 2008
Posts: 7
Thanks! Problem solved (I hope).


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
3 members (Nightcrawler, Outdoorking, 1 invisible), 818 guests, and 395 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)