Moving Installation Directory...
Permalink
Hi,
I've been building my Concrete5 website in a subdirectory and today I decided to move everything to the root folders. Edited site.php and the website seems to load fine. However i'm getting an error saying
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/user/public_html/config/site.php:1) in /home/user/public_html/concrete/startup/session.php on line 18
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/config/site.php:1) in /home/user/public_html/concrete/startup/session.php on line 18
Can anyone help me please?
Thanks
I've been building my Concrete5 website in a subdirectory and today I decided to move everything to the root folders. Edited site.php and the website seems to load fine. However i'm getting an error saying
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/user/public_html/config/site.php:1) in /home/user/public_html/concrete/startup/session.php on line 18
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/config/site.php:1) in /home/user/public_html/concrete/startup/session.php on line 18
Can anyone help me please?
Thanks
I changed the directory structure, searched for any reference to the old directory path in files and database, changed the DIR_REL value in config/site.php script, but still getting error message because it's trying to reference scripts in old cms path. I believe it's due to cache but I'm not sure which files and folders are OK to delete. Please advise. Thanks!
Anyone know how to pull this off successfully? I need to move my site from a subdirectory to the root. Any help would be greatly appreciated
move the files, update config/site.php to reflect where they now live.
If you have had pretty URLs enabled during testing/development don't forget to turn them off and clear out .htaccess before you start.