Advanced search  

News:

cpg1.5.48 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.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine critical error  (Read 6939 times)

0 Members and 1 Guest are viewing this topic.

flapper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Coppermine critical error
« on: February 04, 2005, 03:56:38 pm »

My Mysql database went down last night and this morning get this error:

Coppermine critical error:
Unable to connect to SMF Board database !

MySQL said: Unknown MySQL Server Host 'SMF_BD_HOST' (1)


I have coppermine bridged with smf 1.0.1, forum works but when i go to gallery get this error message.

can anyone please help me.
« Last Edit: February 10, 2005, 10:30:36 am by GauGau »
Logged

Nibbler

  • Guest
Re: Coppermine critical error
« Reply #1 on: February 04, 2005, 04:16:21 pm »

Can you post the usual information please: at least a link and what you have changed in the bridge file.
Logged

flapper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Coppermine critical error
« Reply #2 on: February 04, 2005, 06:25:14 pm »

Can you post the usual information please: at least a link and what you have changed in the bridge file.


http://www.africansouth.co.uk/album/index.php

thats just it i never changed a thing, sql server went down and this morning when i went into gallery got the error message.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Coppermine critical error
« Reply #3 on: February 04, 2005, 07:35:11 pm »

If the mysql server went down, then it needs to get restarted. There is nothing we can do.
Logged

flapper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Coppermine critical error
« Reply #4 on: February 05, 2005, 12:01:32 pm »

If the mysql server went down, then it needs to get restarted. There is nothing we can do.

No sorry, maybe i am not making myself clear, everything is up and running, my forum works fine but when i go to the gallery i get the message.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine critical error
« Reply #5 on: February 05, 2005, 02:56:09 pm »

Disable the bridge and see if Coppermine works.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine critical error
« Reply #6 on: February 05, 2005, 03:05:07 pm »

In a fresh copy of smf.inc.php bridge file, there is no SMF_BD_HOST, but there is a SMF_DB_HOST.  Did you change that constant variable by accident?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

flapper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Coppermine critical error
« Reply #7 on: February 05, 2005, 06:16:05 pm »

Ok thankyou for your reply kegobeer, sorry im not very good at this, first how do i disable bridge. will my members loose there pictures, i never messed with smf.inc, but my server did go down the night before last, could this of corupted file.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine critical error
« Reply #8 on: February 05, 2005, 07:09:06 pm »

Don't worry about disabling the bridge.  Just go into smf.inc.php and find SMF_BD_HOST and replace it with SMF_DB_HOST.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

flapper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Coppermine critical error
« Reply #9 on: February 05, 2005, 10:55:30 pm »

Don't worry about disabling the bridge.  Just go into smf.inc.php and find SMF_BD_HOST and replace it with SMF_DB_HOST.


Ok found file, did search, found smf_bd_host and changed it, now get this error

Coppermine critical error:
Unable to connect to SMF Board database !

MySQL said: Unknown MySQL Server Host 'Mysql2.streamline.net ' (1)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine critical error
« Reply #10 on: February 05, 2005, 10:58:57 pm »

Have you verified that the smf.inc.php database information is still correct?  That error means Mysql2.streamline.net isn't a valid MySQL host.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

flapper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Coppermine critical error
« Reply #11 on: February 06, 2005, 11:42:53 am »

Weird, i looked at smf.inc.php again and noticed at top the line

$path = '../smf'; was wrong, but i had not messed with it, i changed it to

$path = '../forum'; and it worked, so dont know what happened there.


Can you please tell me what files and folders need to be write or read protected so they cant be edited, thankyou for your time.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error
« Reply #12 on: February 10, 2005, 10:30:22 am »

we have a "one question per thread" policy on this board you agreed to respect when signing up for your account. Your above question is not related at all to the initial question, so I'm flagging this thread as solved. You should CHMOD (set permissions) as stated in the docs that come with coppermine: the script needs write permissions inside the albums dir, that's all (write access to include dir only needed during install).

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.