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.
Can you post the usual information please: at least a link and what you have changed in the bridge file.
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.
If the mysql server went down, then it needs to get restarted. There is nothing we can do.
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.
Disable the bridge and see if Coppermine works.
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?
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.
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.
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)
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.
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.
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