Page 1 of 1

Displaying issue after upgrade

Posted: Fri Apr 12, 2013 12:20 pm
by lmu
Hi,

I would like to upgrade the CMS installation from 1.10.3 to 1.11.5.

After the upgrade, the pages are not displayed correctly, like in a mobile phone format.

1.10.3 website : http://www.avocatsconseils.ch
1.11.5 website : http://www.avocatconseil.ch

Any help are welcome.

Thanks in advance,
Laurent

Re: Displaying issue after upgrade

Posted: Fri Apr 12, 2013 3:31 pm
by velden
Probably you've the wrong root_url configured in the config.php file?

Re: Displaying issue after upgrade

Posted: Fri Apr 12, 2013 4:31 pm
by lmu
Yes, you are right, changing the domain name in config.php solve the problem. Thanks a lot

I know that my new question is out of scope. At the end, I would like to redirect the "http://www.domain2.com to the "http://www.domain1.com to keep only one site.

Think, I will have to manage this by the .htaccess or the apache2 site config file to avoid to have this kind of problem. Any idea of config to manage the redirection ?

Regards,
Laurent

Re: Displaying issue after upgrade

Posted: Fri Apr 12, 2013 4:48 pm
by staartmees
Did you read the warning notice regarding template and css
Warning Notice:

If you have a fresh install of CMSMS 1.10.x or greater, not an upgrade, some of these themes will give a smarty error related to {stylesheet}, this plugin has been removed from CMSMS distributions. use {cms_stylesheet} instead.

a) Open the template of the theme;
b) Search for {stylesheet};
c) Replace {stylesheet} with {cms_stylesheet};
d) Save template;
e) Open style sheets and change image calls:
old url(uploads/folder/image.jpg)
new url([[root_url]]/uploads/folder/image.jpg