Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 92
L
luckie Offline OP
journeyman
OP Offline
journeyman
L
Joined: Oct 2007
Posts: 92
When I try to go to my forum, following error apears.
Database error only visible to forum administrators
What to do? Please help frown

url: click

Joined: Jun 2006
Posts: 16,171
Likes: 101
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,171
Likes: 101
This error is mentioned numerous times with the search option; quite simply, edit libs/mysql.inc.php, change the "showerror" line from a 0 to a 1, upload file; it will now show the error to anyone who can see it.

You'll want to change this back when you're finished however, as it could identify db names and other data your users don't really need...


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: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
Your site seems to be okay now - any further issues, let us know smile

Joined: Oct 2007
Posts: 92
L
luckie Offline OP
journeyman
OP Offline
journeyman
L
Joined: Oct 2007
Posts: 92
The site has been unavailable every day since then, only early in the morning.

Going to make a puppy face and ask blaaskaak again to take a look at it blush


Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
Likes: 1
If you follow Gizmo's steps or turn on MySQL Error logging in the control panel you can at least figure out exactly what's going on. Once we know the actual error we should be able to give proper advice.

Joined: Oct 2007
Posts: 92
L
luckie Offline OP
journeyman
OP Offline
journeyman
L
Joined: Oct 2007
Posts: 92
MySQL Error logging apparently was already turned on.
This is the error producing between 5 and 7 am:
Script: - Line: Unable to connect to the database! - Too many connections

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
Are you on a shared server and not a dedicated server?

If so I would get in touch with your host and advise them of the error.

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Offline
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Or they are using pconnect and have more apache children than mysql connections allowed. Make sure pconnect is UNCHECKED in the control panel.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2006
Posts: 16,171
Likes: 101
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,171
Likes: 101
Yeh, pconnect is evil... Too bad we can't make it so they have to edit the config file by hand to enable it; so random users just don't turn it on...

Not to mention, the error is not UBB related, it is your MySQL server choking; it's either the pconnect issue, or your server is over-loaded at this timeframe and mysql is struggling to stay alive.


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: Oct 2007
Posts: 92
L
luckie Offline OP
journeyman
OP Offline
journeyman
L
Joined: Oct 2007
Posts: 92
Thanks for the info!

Can't the pconnect option, where is it located?

Joined: Jun 2006
Posts: 16,171
Likes: 101
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,171
Likes: 101
in the control panel, it'll be where your MySQL data resides.
Master Settings >> DB, Paths & URLs >> Use Persistent Connections?


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: Jul 2006
Posts: 2,143
Pooh-Bah
Offline
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
pconnect is in no way evil. It's great *IF* you know how to use it. The mantra that pconnect is evil that some of the moderators chat around here is pretty tiring.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2006
Posts: 16,171
Likes: 101
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,171
Likes: 101
The fact that users utilize it on overloaded vhosted servers is amusing wink...


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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
RSS not working
by jsteinborn - 04/18/2022 2:46 PM
Largest UBB.threads forum
by Aaron101 - 04/06/2022 8:38 AM
News Block
by Aaron101 - 04/05/2022 6:48 PM
Who's Online Now
1 members (Morgan), 48 guests, and 59 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