Page 1 of 1

Moving phpwcms installation to new server

Posted: Mon 8. Jan 2007, 11:12
by Pieter
I'm trying to move my current installation of phpwcms to a new server.
I've already copied all the files and the database.

However, there seems to be a problem with the value of PHPWCMS_ROOT as I get the following error:

Code: Select all

Warning: include_once(/var/www/html/include/inc_front/content.article.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/kerk/domains/******/public_html/include/inc_front/content.func.inc.php on line 196
As you can see, the value for PHPWCMS_ROOT is "/var/www/html" while it shouldn't be. How can I repair this?

Posted: Tue 9. Jan 2007, 12:35
by Oliver Georgi
check you DOCUMENT_ROOT var. Seems to be empty on new server.

Oliver

Posted: Tue 9. Jan 2007, 21:38
by Pieter
Setting this variable to a more meaningful value indeed helped. Thanks.