forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: kevvv on August 27, 2010, 01:29:04 pm

Title: moving to new server - permission errors
Post by: kevvv on August 27, 2010, 01:29:04 pm
I moved my gallery to a new server, but am having permissions problems:
main site gives me a 500 internal server error:
http://bwbdfsdb.com/gallery
any thoughts?
I will also need to change the first part of my database name as it was tied in with my account username at the old host (eg oldhost_databasename, which is now newhost_databasename)  - same with my username -- is this just done in the config file or will I need to delve further into phpmyadmin?
Title: Re: moving to new server - permission errors
Post by: phill104 on August 27, 2010, 02:12:56 pm
Yes, you will need to change the details in include/config.inc.php to reflect the new databas information. Once done run update.php

The 500 server error we cannot help you with as we do not have the information. You will need to look at the server error lovs to find out what is going wrong.
Title: Re: moving to new server - permission errors
Post by: kevvv on August 27, 2010, 11:22:55 pm
my web host says the server is giving this error:

SoftException in Applicaiton.cpp:422: Mismatch between target IUD (847) and IUD (32275) of file "/home/myusername/public_html//gallery/index.php


does that help at all? ???
Title: Re: moving to new server - permission errors
Post by: phill104 on August 29, 2010, 07:19:51 pm
Looks like a suPHP error. Try changing the ownership of the coppermine foldr with the chown command as root. Something like 'chown -R siteuser:siteuser /yourgallery' where siteuser is a username with the correct permissions and yourgallery is the path to er, your gallery.
Title: Re: moving to new server - permission errors
Post by: kevvv on August 30, 2010, 04:12:33 pm
yup, I forwarded your response to my webhost and they fixed it -- everything's working fine now -- thanks so much!!