Coppermine critical error Coppermine critical error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine critical error

Started by flapper, February 04, 2005, 03:56:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flapper

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.

Nibbler

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

flapper

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.

Tranz

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

flapper

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.

kegobeer

Disable the bridge and see if Coppermine works.
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

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?
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

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.

kegobeer

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.
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

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)

kegobeer

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.
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

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.

Joachim Müller

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