Root problems following upgrade

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jsavage
Posts: 44
Joined: Sun 2. May 2004, 18:40

Root problems following upgrade

Post by jsavage »

Background.
I have moved a copy of a working installation of 1.1 RC4 from one server at my hosting company to another which is more up to date. The database is staying where it is. I managed to get 1.1 all working except a long standing issue of logging in to backend (shows me logged in but doesn't redirect to correct page.

Anyway, I decided to upgrade the version running on the new server to the latest dev 1.2.3 as it is described as stable. I made a copy of my inc.conf.php file and the others mentioned on http://www.phpwcms.de/docu ? and then copied the dev release over the top of the 1.1 RC4 file structure.
I have run the update.php script, done all the steps up to 1.2.2 (1.2.3) and manually edited the new config/phpwcms/inc.conf.php.

The main problem is the following errors that apear above an incorrect and partially rendered front page:

Code: Select all

Warning: main(/local/apache/htdocs/ca/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /files/home1/hp/ca/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/local/apache/htdocs/ca/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.') in /files/home1/hp/ca/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(/local/apache/htdocs/ca/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /files/home1/hp/ca/include/inc_front/content.func.inc.php on line 264

Warning: main(): Failed opening '/local/apache/htdocs/ca/include/inc_front/content.article.inc.php' for inclusion (include_path='.') in /files/home1/hp/ca/include/inc_front/content.func.inc.php on line 264
Line 264 is:

Code: Select all

include_once(PHPWCMS_ROOT."/include/inc_front/content.article.inc.php");
I can only summise that PHPWCMS_ROOT, is not being set correctly but perhaps there is something in my inc.conf.php that is wrong.

Extract from my inc.conf.php is as follows:

Code: Select all

// site values
$phpwcms["site"]              = "http://ccgi.hp.plus.com/";
$phpwcms["admin_email"]       = "x@x";

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "ca";

$_SERVER['DOCUMENT_ROOT']     = '/files/home1/hp';

Can anyone see what is causing the problem or offer any advice. I have a lot of content in the database so I don't really want to start from scratch.

James
jsavage
Posts: 44
Joined: Sun 2. May 2004, 18:40

Post by jsavage »

See http://www.phpwcms.de/forum/viewtopic.php?t=7765 for the solution I came up with.

James
Post Reply