Page 1 of 1

getting a blank webpage after migrating CMSMS to a new server

Posted: Tue Feb 19, 2008 11:28 pm
by mblyman
Hello everyone. New to CMSMS. We did a migration of our website to a new server. Our CMSMS was running great on our old server but will not function on our new server.

Here are the details of our new server

Server config:
Red linux 5 operating system
PHP 5.2.5
mysql 5.0
apache: 2.2.8

CMSMS Version number: CMS Made Simple 0.7.2

When I go to the home page it is blank and if I look at the source code it has

Code: Select all

<!-- Generated in 0.049018 seconds by CMS Made Simple 0.7.2 (not cached) using 9 SQL queries -->
<!-- Generated by CMS Made Simple - Released under the GPL - http://cmsmadesimple.org -->
<!-- Removal of this message without being shown elsewhere on this site is a violation of the terms of the license -->
I had my host look into it and here is the error messages that were able to dig up:

Code: Select all

[Sun Feb 17 05:22:01 2008] [error] [client xxx.xxx.xxx.xxx] PHP Warning:
Smarty error: unable to read resource: "db:Games" in
/var/www/domains/mydomain.org/www/htdocs/smarty/Smarty.class.php
on line 1088
[Sun Feb 17 05:22:07 2008] [error] [client xxx.xxx.xxx.xxx] PHP Warning:
Smarty error: unable to read resource: "db:" in
/var/www/domains/mydomain.org/www/htdocs/smarty/Smarty.class.php
on line 1088
[Sun Feb 17 05:22:14 2008] [error] [client xxx.xxx.xxx.xxx] PHP Warning:
Smarty error: unable to read resource: "db:" in
/var/www/domains/mydomain.org/www/htdocs/smarty/Smarty.class.php
on line 1088
I've searched the forums and found some cases that were almost the same but not the exact error message that I'm receiving. I'm thinking it is permission error. Does anyone have any thoughts on what I might be able to do to get this to work?

Thanks

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 12:12 am
by nivekiam
What version?  I don't see 0.7.2 as ever being one of the releases of CMSms:
http://dev.cmsmadesimple.org/frs/?group_id=6

In the current version 1.2.3, that file does not even exist in the location you show in your logs, it's located in /lib/smarty

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 12:22 am
by mblyman
I looked through the versions of CMSMS and I don't see the version number either. However, all I have to go off of is what is being displayed on the html. Is this such an old version that it isn't even listed as a stable release.

Is there another way to try and determine the version of CMSMS?

Thanks

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 12:30 am
by nivekiam
o.k.  I see it here:
http://viewsvn.cmsmadesimple.org/viewsvn/tags/

First, I would make sure you have a backup of everything, the files, database, everything.  Double check that you have everything.

Then I would try upgrading to the latest version.  If you have 3rd party modules or old modules that might not be supported any more installed those may or may not work with the latest version.

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 12:36 am
by mblyman
ok I will try that. Is there a good post on upgrading... ie a step by step or is included in the documentation of the latest release?

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 12:43 am
by nivekiam
It's pretty easy: http://wiki.cmsmadesimple.org/index.php ... /Upgrading

As long as nothing goes wrong ;)

I would double check to make sure your new server meets all of the requirements:
http://wiki.cmsmadesimple.org/index.php ... quirements

No safe_mode, minimum 16MB memory available to PHP, FAST_CGI mode seems to cause a lot of problems as well as PHP accelerators.

You can see most or all of that info by looking at a phpinfo page on your site, the "Do you have GD with PHP" section of this page explains how to create a phpinfo page:
http://wiki.cmsmadesimple.org/index.php ... ith_PHP.3F

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 8:13 am
by alby
mblyman wrote: Is there another way to try and determine the version of CMSMS?
Look in version.php for $CMS_VERSION

0.7.2  :o
Never updated since then? Very lucky! You see nice change!

Alby

Re: getting a blank webpage after migrating CMSMS to a new server

Posted: Wed Feb 20, 2008 7:01 pm
by Pierre M.
Hello,

old 0.x was not designed to work under PHP 5.2+...
nivekiam wrote: (...)Then I would try upgrading to the latest version.  If you have 3rd party modules or old modules that might not be supported any more installed those may or may not work with the latest version.
Yes, beware the odd/old modules. There was a module API change arond 1.1. May be you need to try this upgrade path carefully with step backups : 0.x -> 1.0 -> 1.1 -> 1.2.3.
(Pain you wouldn't have if you had upgraded with each new release).

Pierre M.