Page 1 of 1
Website formatting affected after upgrade SOLVED
Posted: Mon Jul 19, 2010 10:47 pm
by JannevWP
Trying to muddle my way through an issue with just basic knowledge.
My website was running 1.2.4 Greenland. I was advised that I should upgrade it but as I was nervous about losing the site, the upgrade to CMS MS 1.7 was undertaken (by a third party) and placed in a sub-folder in the CMS. I was advised that I needed to point the DNS to this sub-folder.
In speaking to the hosting company about how to make the sub-folder 'live' they advised that a lot of the website's formatting had been lost in the sub-folder. Can formatting be lost like this in upgrades?
Any help in this matter gratefully appreciated.
Janne
Re: Website formatting affected after upgrade
Posted: Mon Jul 19, 2010 11:04 pm
by Dr.CSS
Yes it can if it's not pointing to the correct paths in config.php...
Re: Website formatting affected after upgrade
Posted: Tue Jul 20, 2010 3:28 am
by JannevWP
Dr.CSS wrote:
Yes it can if it's not pointing to the correct paths in config.php...
But if it points to the correct paths then it will display how it used to? Sorry for being so ignorant - I am just being told so many differing things by differing companies...
Re: Website formatting affected after upgrade
Posted: Tue Jul 20, 2010 10:24 am
by NaN
If you just moved your Site to a different folder or if you installed it in a subfolder you need to adapt the pathes in the config.php.
E.g.
Lets say your domain points to your root directory of your webspace user account and you now install the cms in a subfolder named "cms". Your page can be accesed by using "yourDomain/cms" in the browsers addressbar. If you now change the server settings that your domain points by default to that subfolder (so that you can access your page just using "yourDomain" without the subfolder in the addressbar) you now need to modify your config.php and adapt the root_url (and any other URL that still has the folder "cms" in it).
But notice that you only may change URL settings. Be sure to not to change the root_path itself (since it hasn't changed. It is only the URL that does not need to point to the "cms" folder anymore in your config.php since the server directs every request to that folder by default now).
The root_path only needs to be changed if you moved your page in a different folder after installation.
The reason why you need to do this is because the CMS won't find its stylesheets and images anymore since it used to look for "yourDomain/cms/..." what will be redirected by the server to "yourUserAccountRootPath/cms/cms/..." that logically does not exist.
hope that helps
Re: Website formatting affected after upgrade
Posted: Tue Jul 20, 2010 2:44 pm
by replytomk3
Exact config.php paths were not known before DNS was to be pointed to that folder, so temporary ones were placed in config.php by him. Once DNS is pointed to the installation, config.php can be modified with the correct path and URL settings.
Re: Website formatting affected after upgrade
Posted: Wed Jul 21, 2010 8:00 am
by alby
FOR INFORMATION because I think that there is some mistake with DNS and server (WEB) settings definitions....
In DNS you can define which IP address is defined by that hostname STOP! No informations on what server type, filesystem, services, whatever....
In HTTP config (usualy httpd.conf) on YOUR server you can define for any hostnames your paths, logs, web modules, ....
Alby
Re: Website formatting affected after upgrade SOLVED
Posted: Wed Jul 21, 2010 10:01 pm
by JannevWP
With many thanks to Michael!