Page 1 of 1

after install error

Posted: Thu 1. Mar 2007, 03:36
by dyno
Ok, I had a perfect install. At step 5 all was green. I copied the conf.inc.php to the /config/phpwcms directory. Now when I try to login for the frst time I get the following error:

You Cannot Access This Script Directly, Have a Nice Day.
Warning: main(PHPWCMS_ROOT/include/inc_lib/lib.php_special_entities.php): failed to open stream: No such file or directory in /mnt/w0504/d21/s12/b0247819/www/content/include/inc_lib/general.inc.php on line 24

Fatal error: main(): Failed opening required 'PHPWCMS_ROOT/include/inc_lib/lib.php_special_entities.php' (include_path='.:/usr/local/nf/lib/php') in /mnt/w0504/d21/s12/b0247819/www/content/include/inc_lib/general.inc.php on line 24

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /mnt/w0504/d21/s12/b0247819/www/content/login.php on line 47

Fatal error: Call to undefined function: convertstringtoarray() in /mnt/w0504/d21/s12/b0247819/www/content/login.php on line 130

Wcms is installed under a content sub directory. Please help!

Re: after install error

Posted: Thu 1. Mar 2007, 04:58
by DeXXus
"conf.inc.php"

Code: Select all

// site values
$phpwcms['site']              = 'http://'.$_SERVER['SERVER_NAME'].'/';

// paths
$phpwcms['DOC_ROOT']          = '/mnt/w0504/d21/s12/b0247819/www';
$phpwcms['root']              = 'content';

it worked

Posted: Thu 1. Mar 2007, 12:49
by dyno
Thank you!! worked like a charm