Advanced search  

News:

cpg1.5.28 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.26 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine critical error: Unable to connect to database.....  (Read 8862 times)

0 Members and 1 Guest are viewing this topic.

Bollie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Peter Bolman Photography
Coppermine critical error: Unable to connect to database.....
« on: August 05, 2007, 10:25:36 AM »

I've searched this forum and found many topics on this error-message but I haven't found a solution.

Visiting my website http://www.peterbolman.nl/galleries I suddenly was confronted with this message.
I can acces my 'last uploads' and 'last comments' but thats it !
I can login and upload files....I've tested this.

What can be wrong ? Thnx for answering.....
« Last Edit: August 05, 2007, 06:30:27 PM by Nibbler »
Logged

Nibbler

  • Guest
Re: Coppermine critical error: Unable to connect to database.....
« Reply #1 on: August 05, 2007, 01:19:02 PM »

Link leads nowhere.
Logged

Bollie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Peter Bolman Photography
Re: Coppermine critical error: Unable to connect to database.....
« Reply #2 on: August 05, 2007, 01:51:13 PM »

sorry, thought as I put it that it would work..
This is my website http://www.peterbolman.nl
Than please click on galleries....

O god, I tried it myself..it's completely fucked-up now....
Yesterday my site was offline for a couple of hours...I think now the problem lies with my hosting...they must have fucked-up something...

Thnx for looking...
Logged

Nibbler

  • Guest
Re: Coppermine critical error: Unable to connect to database.....
« Reply #3 on: August 05, 2007, 02:12:44 PM »

Enable debug mode in config and post the mysql error message you get (not the entire debug output) when you replicate the error.
Logged

Bollie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Peter Bolman Photography
Re: Coppermine critical error: Unable to connect to database.....
« Reply #4 on: August 05, 2007, 04:42:42 PM »

"Enable debug mode in config"
Should I do that by logging in on my webspace (plesk login fm my host), than through my phpMyAdmin find cpg1410_config chance the value ?
Current value is 0....
If this is the correct way to do this...what value should I enter ?

Or should I do it by logging in on the coppermine gallery. If that's the case than there's an additional problem...I can log-in and the gallery welcomes me but than I get a white page and text : template error......

Oh dear....please bear with me.... :-[
Logged

Nibbler

  • Guest
Re: Coppermine critical error: Unable to connect to database.....
« Reply #5 on: August 05, 2007, 04:50:14 PM »

If you can't login, use the manual way.

http://coppermine-gallery.net/tutorial/debug_mode.php

If you already know how to get that far, then set debug_mode to 1.
Logged

Bollie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Peter Bolman Photography
Re: Coppermine critical error: Unable to connect to database.....
« Reply #6 on: August 05, 2007, 05:34:22 PM »

Thnx for the tutorial....I was on the right way...
Changed the debug_mode to 1.

When visiting the galleries now (after removing cookies !)  I get this message :

mySQL error: Can't open file: 'cpg1410_pictures.MYI'. (errno: 145)
Logged

Nibbler

  • Guest
Logged

Bollie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Peter Bolman Photography
Re: Coppermine critical error: Unable to connect to database.....
« Reply #8 on: August 05, 2007, 06:17:48 PM »

You did it Nibbler !! - S O L V E D  :D

I am again stunned by the knowledge shared on this support-forum.

Thnx ever so much for your kind help !

Leaves me with the question why something like this happens....probably a MySQL server hiccup on my webhost ?
I know you're very busy, you don't have to answer this question...

Greetings, Pete
Logged

Nibbler

  • Guest
Re: Coppermine critical error: Unable to connect to database.....
« Reply #9 on: August 05, 2007, 06:29:31 PM »

It can happen if mysql or the server itself restarts unexpectedly or due to hardware/software issues. No need to worry unless it happens frequently.
Logged

itsonlychand

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine critical error: Unable to connect to database.....
« Reply #10 on: August 13, 2007, 05:08:12 PM »

My gallery is at www.Mobilemastee.com/wallpapers

I am getting ths error

Coppermine critical error:
Unable to connect to database !

MySQL said: Too many connections
Logged

Nibbler

  • Guest
Re: Coppermine critical error: Unable to connect to database.....
« Reply #11 on: August 13, 2007, 05:13:13 PM »

Don't hijack unrelated threads, search before posting. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.075 seconds with 20 queries.