Page 1 of 1

[Solved] Existing installation to a new server - No title and stylesheets

Posted: Thu Mar 25, 2010 10:31 am
by n1ck87
Yesterday I followed the guide to move my existing installation to a new server. (http://wiki.cmsmadesimple.org/index.php ... er_.281.29) At first I got all sort of weird errors, but then I realized that my paths in 'config.php' were wrong. When I corrected them (from /httpdocs to /var/foo/bar/httpdocs) all errors were gone. Logging into the admin section works too, but I have one serious problem. This is the sourcecode on the new server:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" >
<head>
<title> - </title>

<!-- all javascripts -->
<__script__ type="text/javascript" src="a.js"></__script>
<__script__ type="text/javascript" src="b.js"></__script>
<__script__ type="text/javascript" src="c.js"></__script>

</head>
</__body>
<!-- website divs -->
<__body>
</__html
As you can see there isn't a title and there are no stylesheets. So the site on the new server looks horrible. Here is the URL to the new server, so you can see for yourself: http://www.tvnieuwbeijerland.nl/index.php

I've got no clue what to check or do next; all the tags like {title} and {stylesheets} are at the right place inside the template. So does anyone know how to fix this?

Re: [Existing installation to a new server] No title and stylesheets

Posted: Thu Mar 25, 2010 2:12 pm
by reneh
look twice at the folder permissions

Re: [Existing installation to a new server] No title and stylesheets

Posted: Thu Mar 25, 2010 2:46 pm
by n1ck87
reneh wrote: look twice at the folder permissions
I just double checked the folders below and they are all on 775. Do I have to chmod other folders or just these?

Code: Select all

chmod 775 tmp; \
chmod 775 tmp/templates_c; \
chmod 775 tmp/cache; \
chmod 775 uploads; \
chmod 775 uploads/images; \
chmod 775 modules

Re: [Solved] Existing installation to a new server - No title and stylesheets

Posted: Thu Mar 25, 2010 8:55 pm
by n1ck87
Problem solved. ;D I also posted my problem on the Dutch section of this forum and an user suggested to clear the cache again.
That did it! The site on the new server works like a charm now ;D