Moved Servers Moved Servers
 

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]

Main Menu

Moved Servers

Started by Dfoolz, November 30, 2006, 05:14:34 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Dfoolz

Hey I setup coppermine for a friend a while back and it all went perfectly but now that I moved the site to a new server I have no idea where the configs are for the file paths etc... and I dont wanna reinstall the whole site so can anyone help me out?
Best Regards,
Dfoolz

Joachim Müller

The file paths in the database are stored as relative paths, seen from the albums folder you specified in the config. You don't have to edit them. All you have to to is edit the setting "URL of your coppermine gallery folder (no 'index.php' or similar at the end)" in coppermine's config.

Abbas Ali

Also edit include/config.inc.php if the database connection details for the new server are different then the old one.
Chief Geek at Ranium Systems

Dfoolz

no I updated the config file to the new sql im not that stupid what im asking is where does it store the file_paths for uploading images. I chmod on albums folder and I keep getting

The file 'albums/userpics/10002/_at_the_office.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127


which im guessing is because its still trying to use the old file_paths since this is a new server and a diff OS their not the same

Nibbler

If it's a different OS then the path to ImageMagick is probably different... change it in config.

Dfoolz

Alrite if you didnt understand me the first 2 times I dont know where in the php the image_path is at its NOT in config.php all thats in that is the sql info nothing else

Nibbler

We know Coppermine better than you do, trust me.

Error executing ImageMagick - Return value: 127

That means you have the path to ImageMagick set incorrectly on your config page (or you don't have imagemagick installed at all).

Dfoolz

ahh then I dont have imageshack installed I thought it was a chmod error

Joachim Müller

Quote from: Dfoolz on December 02, 2006, 12:35:44 AM
imageshack
It's actually named ImageMagick. Try switching "method to resize images" to GD2 instead in coppermine's config. Relative paths to your images are an entirely different animal. Changing permissions (CHMOD) is something different as well.

Abbas Ali

And just fyi: image paths which are stored in database for all your pictures and files are relative and they don't need to be changed when you move to another server.
Chief Geek at Ranium Systems

Joachim Müller

Quote from: GauGau on November 30, 2006, 05:18:13 AM
The file paths in the database are stored as relative paths, seen from the albums folder you specified in the config. You don't have to edit them. All you have to to is edit the setting "URL of your coppermine gallery folder (no 'index.php' or similar at the end)" in coppermine's config.

Abbas Ali

Missed that. But after that post too, he was suspicious for file paths.
Chief Geek at Ranium Systems