Moved Hosts- Getting Error

4 posts by 2 authors in: Forums > CMS Builder
Last Post: April 1, 2011   (RSS)

By humanear - March 31, 2011

Hi. I went from one server to another, changed the paths for the database info for the cms, but I'm getting a sporadic problem. I'm getting the following error on pages that are calling for different content IDs:

Warning: require_once(lib/compat/CONSTANTS.php): failed to open stream: No such file or directory in /usr/local/www/vhosts/siouxlandscale.com/httpdocs/cmsAdmin/lib/init.php on line 201 Fatal error: require_once(): Failed opening required 'lib/compat/CONSTANTS.php' (include_path='.:/usr/local/share/pear/') in /usr/local/www/vhosts/siouxlandscale.com/httpdocs/cmsAdmin/lib/init.php on line 201

Is there something that I'm missing as far as my server configuration that could be causing this problem? I've reuploaded particular php files and it seems to work. and then break again. Am I missing something?

It's cms Builder 1.32.

Thanks!

Humanear

Re: [humanear] Moved Hosts- Getting Error

By gkornbluth - April 1, 2011

Hi Humanear,

Moving sites, especially with (much) older versions of the program (1.32 was released in August of 2009) can be a bit tricky, but I'm sure that one of the programmers at IT can help you with this.

I would recommend that you upgrade your installation to the current 2.07 version, which is light years ahead of your 1.32 version. http://www.interactivetools.com/upgrade/ Upgrade is by donation so it need not be a costly process.

Along the upgrade path, many migration issues have also been addressed.

If you can, I'd upgrade the old installation first, and then move that to the new server.

As always...

BACK UP YOUR DATABASE AND YOUR CMSADMIN FOLDER BEFORE BEGINNING THE UPGRADE PROCESS.

There's also some information about migrating sites in my CMSB Cookbook at www.thecmsbcookbook.com

Hope that helps.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [humanear] Moved Hosts- Getting Error

By humanear - April 1, 2011

That was way too easy. All done, and thanks very much for the reply and the help!

Phil