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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
n1ck87
New Member
New Member
Posts: 7
Joined: Thu Mar 25, 2010 10:27 am

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

Post 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?
Last edited by n1ck87 on Thu Mar 25, 2010 8:48 pm, edited 1 time in total.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm
Location: Norway

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

Post by reneh »

look twice at the folder permissions
ReneH 8-)
A search will save you hours waiting for an answer! Image
n1ck87
New Member
New Member
Posts: 7
Joined: Thu Mar 25, 2010 10:27 am

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

Post 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
n1ck87
New Member
New Member
Posts: 7
Joined: Thu Mar 25, 2010 10:27 am

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”