Page 1 of 1

Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 5:19 pm
by greg_s
Hello everyone!

I'm not much of a web-administrator, but today I had to move a site to another server for my client. I followed all the instructions in the "HowTo"-section, but the site just doesn't work. First of all I exported the old database and than imported it into the new one. I moved all the files using FTP and set all the permissions. Finally i changed all paths in the config-file. Still I get a blank page instead of my site.
I tried to install CMSMS in a subdirectory of this host and it worked fine. Then I decided to have a look at the source of the blank page I get instead of my site and was surprised to find the following:

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="en" > 
<head> 
<link rel="stylesheet" type="text/css" href="http://www.***.**/modules/Album/css/stylesheet.css" /> 
<title> - </title> 
</head> 
</__body> 
 
<!-- start pagewrapper --> 
<div id="pagewrapper"> 
 
<!-- start topspace --> 
<div id="topspace"> 
</div> 
<!-- end topspace --> 
 
<!-- start header --> 
<div id="header"> 
</div> 
<!-- end header --> 
 
<!-- start menu --> 
<div id="menu"> 
   </div> 
<div id="menu_level_2"> 
   </div> 
<!-- end menu --> 
 
<!-- start content --> 
<div id="content"> 
   </div> 
<!-- end content --> 
 
<!-- start footer --> 
<div id="footer"> 
   </div> 
<!-- end footer --> 
 
</div> 
<!-- end pagewrapper --> 
 
 
<__body> 
</__html> 
<!-- 0.108974 / 7 --> 
This is the code of my template, but I still don't see the content and also I can't get into the "admin"-Panel. Instead I get to the "admin"-Panel of my hoster (Telekom Austria, if that may help).

Does anyone know what the solution to this problem might be? It's probably fairly simple, but I just don't understand much in web-administration... Thank you in advance!

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 8:27 pm
by replytomk3
How large is the index.php file?

If putting site/admin gets you hosting's admin panel then it was probably named the same way (hosting admin panel was probably in /admin with a file named index.html or similar)

PM me FTP login

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 8:55 pm
by greg_s
Index.php is 9.740 Bytes.

Yes, I thought about this, but it doesn't seem to be the case or I may have overlooked something...

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 9:10 pm
by replytomk3
Does that match the size of that file from the installation archive? Would that be kB? My 1.7 index.php is 12.3 kB.

What you PMed me doesn't look like an FTP host, username, and password.

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 9:17 pm
by greg_s
The site ran on an earlier version than 1.7 so I wanted to transfer the site first and upgrade it afterwards.

I'll send you another PM now.

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 9:36 pm
by replytomk3
I'm on IRC right now trying to verify whether "/var/www/html" is the proper location of your hosting. Where is your DNS pointed? PM me the website URL (domain name). Can you get help from your hosting?

I need the domain name to try to put a test html file on your server and see if I can run in from the URL.

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 10:05 pm
by replytomk3
You will need to talk to your hosting tech support.

For example, while /admin is blank, /admin/index.php shows the login page.

While you are at it, ask them why I could not modify permissions for files in /tmp/cache/template_c and delete them.

Also, since you have other misc folders on the server, I advise to install CMSMS in a subfolder, and point your DNS to that subfolder. It will not have the server's filesystem messy that way.

Re: Problems with moving a CMSMS-site

Posted: Wed Apr 07, 2010 10:18 pm
by greg_s
Thanks for the tips! I will call the support first thing tomorrow!