File Structure in different hosts
Permalink
I intend to move my website that was created with Concrete5 CMS. I have found that my current host has a file structure with what seems to be the root in the 'www' directory. The intended future host has no www directory so the root seems to be up a level. If this seems right, how do I move the Concrete5 content from /www to /. Or do I have to recreate the same directory structure and somehow change the setting for the root directory? Thanks in advance.
Keep in mind you have to migrate the database over as well. The "www" is just a common root folder for web servers. Some use "www", some use "public_html", etc. I am going to possibly need to do this as well so I would be interested in know how to migrate a MySQL database. Don't know if this is the right forum for finding that out though.
Yes, I have copied the DB over already. I have also made the root directories identical. The config/site.php file settings were changed accordingly. However, I did forget to disable cache and pretty URLs before re-pointing DNS to new host. I get a message like this: "Warning: Cannot modify header information - headers already sent by (output started at /home/content/81/7532281/html/index.php:14) in /home/content/81/7532281/html/concrete/startup/url_check.php on line 6"
And I'm stuck.
And I'm stuck.
go to site.com/index.php/dashboard and disable pretty urls
then delete the .htaccess file and you can then re-enable them
then delete the .htaccess file and you can then re-enable them
Is the dashboard hosted elsewhere or is it contained in the content when installed at a hosting provider? The reason I ask is because shouldn't a backup of content be taken after pretty URLs are disabled if it is all contained in my content?
Now this is what I get:
Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time in /home/content/81/7532281/html/concrete/startup/session.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/content/81/7532281/html/index.php:14) in /home/content/81/7532281/html/concrete/libraries/view.php on line 725
Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time in /home/content/81/7532281/html/concrete/startup/session.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/content/81/7532281/html/index.php:14) in /home/content/81/7532281/html/concrete/libraries/view.php on line 725