Moving phpwcms installation to new server

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Pieter
Posts: 54
Joined: Sat 20. Mar 2004, 18:08

Moving phpwcms installation to new server

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

check you DOCUMENT_ROOT var. Seems to be empty on new server.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Pieter
Posts: 54
Joined: Sat 20. Mar 2004, 18:08

Post by Pieter »

Setting this variable to a more meaningful value indeed helped. Thanks.
Post Reply