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 & SMF  (Read 6540 times)

0 Members and 1 Guest are viewing this topic.

Uzma

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Coppermine & SMF
« on: May 28, 2011, 06:21:46 am »

hello,
My coppermine gallery is connected to the SMF forum. I just moved the whole site from one domain to another. While SMF has transferred everything correctly with all the database info. The coppermine gallery is giving me a database connection error. I restored the database info for the gallery from old domain to the new as well yet it's not connecting. Any idea which file needs to be configured? I can't seem to find the database settings in any php file in the coppermine folder.

Any help would be appreciated.

Thanks.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 933
  • +Tinyportal Support team.
Re: Coppermine & SMF
« Reply #1 on: May 28, 2011, 09:01:39 am »

Check the "include/config.inc.php" file has the correct info added to it, or it won't work.  ;)
Logged
Running SMF 2.0.15  / Tinyportal 1.6.4, bridged with Coppermine 1.6.06, plus cpmfetch 2.0.0

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 933
  • +Tinyportal Support team.
Re: Coppermine & SMF
« Reply #2 on: May 28, 2011, 09:04:41 am »

Forgot to say.  There's a complete section in the docs about moving your coppermine gallery. http://documentation.coppermine-gallery.net/en/export.htm#moving
Logged
Running SMF 2.0.15  / Tinyportal 1.6.4, bridged with Coppermine 1.6.06, plus cpmfetch 2.0.0

Uzma

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Coppermine & SMF
« Reply #3 on: May 28, 2011, 07:11:28 pm »

Hello,
I changed that (thanks for letting me know where the file was located!) but now I'm getting the following error:

Quote
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

I don't see this file anywhere.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Coppermine & SMF
« Reply #4 on: May 31, 2011, 11:01:37 am »

Try to Google that error message and you'll get something like this:
That message means that no MySQL process is running. mysql.sock is the default socket file. If it was a password problem, your message would be a permission denied type. Check to make sure your MySQL instance is running. If your on linux go to /var/run/ and see if mysql.sock is there. If it is then its running, it not its not.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.