So, through buying a new server, I need to move a c5 install. Any ideas on how to do this? I've copied the files and SQL database, but it hasn't seemed to work right. Not sure what else I can do, or what's the most straightforward way to do this.
Hi, have you changed the settings in the config file? Also make sure that the permissions on files and folders are maintained after you have moved the site.
Like dmt says...you really shouldn't have to do much beyond change the entries in config/site.php. Make sure your BASE_URL is set to your new domain...and if the site isn't at the top of the domain you'll need the relative directory to the site to be DIR_REL (but usually this is blank.)
Beyond that, and the setting of permissions on the files/ directory and all its subdirectories so that they can be written to by the web server (chmod 777 or something similar), that should be all you need to do.
So I exported my db and imported it to another server. I moved my files there and tried to log in. I am able to log in and can see the site, but I get these errors:
Warning: Unknown: open(/path/to/session//sess_82upjk2b9egh5qrm47q8ut9t05, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/path/to/session/) in Unknown on line 0
I use SSH to make changes on my server.