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
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.
Also edit include/config.inc.php if the database connection details for the new server are different then the old one.
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
If it's a different OS then the path to ImageMagick is probably different... change it in config.
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
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).
ahh then I dont have imageshack installed I thought it was a chmod error
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.
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.
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.
Missed that. But after that post too, he was suspicious for file paths.