coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: flapper on February 04, 2005, 03:56:38 PM

Title: Coppermine critical error
Post by: flapper 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.
Title: Re: Coppermine critical error
Post by: Nibbler 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.
Title: Re: Coppermine critical error
Post by: flapper on February 04, 2005, 06:25:14 PM
Quote from: Nibbler 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.


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.
Title: Re: Coppermine critical error
Post by: Tranz 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.
Title: Re: Coppermine critical error
Post by: flapper on February 05, 2005, 12:01:32 PM
Quote from: TranzNDance 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.

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.
Title: Re: Coppermine critical error
Post by: kegobeer on February 05, 2005, 02:56:09 PM
Disable the bridge and see if Coppermine works.
Title: Re: Coppermine critical error
Post by: kegobeer 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?
Title: Re: Coppermine critical error
Post by: flapper 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.
Title: Re: Coppermine critical error
Post by: kegobeer 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.
Title: Re: Coppermine critical error
Post by: flapper on February 05, 2005, 10:55:30 PM
Quote from: kegobeer 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.


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)
Title: Re: Coppermine critical error
Post by: kegobeer 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.
Title: Re: Coppermine critical error
Post by: flapper 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.
Title: Re: Coppermine critical error
Post by: Joachim Müller 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