Page 1 of 1

WCMS under XP IIS

Posted: Mon 7. Feb 2005, 17:46
by Vince-E
Hello,
I get an error while trying to install WCMS under IIS.
I searched this forum for a solution. Though I saw the problem here many times, I didnt find a solution..
So please help me out...

While running http://localhost/wcms/setup/index.php I get this error
system: Windows NT VINCE 5.1 build 2600
server: Microsoft-IIS/5.1
php: v4.3.10
path:
Notice: Undefined index: DOCUMENT_ROOT in c:\inetpub\wwwroot\wcms\setup\index.php on line 91
/wcms


On top of the screen the following error:
Notice: Undefined variable: body_onload in c:\inetpub\wwwroot\wcms\setup\index.php on line 32

I allready editted the file conf.inf.php with the following settings:
$phpwcms["root"] = "wcms/";
$_SERVER['DOCUMENT_ROOT'] = 'c:/inetpub/wwwroot/';

Checked the security and file settings.. IUSR got right, write and EXE access to all folders and files...

Still got this problem, please help? I tried many CMS based on PHP, but so far nothing really fits my needs. The demo looked promissing so I really want to get this thing to work.

Posted: Tue 8. Feb 2005, 02:55
by Karla
Modify your "php.ini" file:

Code: Select all

error_reporting  =  E_ALL & ~E_NOTICE

Posted: Tue 8. Feb 2005, 14:20
by Vince-E
thank you Carla...
It seems to work, allthough I have some problems now with my paths..
also a common problem I saw... I will see if I can figure it out...

Posted: Wed 9. Feb 2005, 22:24
by pSouper
i belive ther eis a DOCUMENT_ROOT test script within the setup process - am I wrong?

Posted: Thu 10. Feb 2005, 15:26
by Karla
Vince-E wrote:thank you Carla...
It seems to work, allthough I have some problems now with my paths..
also a common problem I saw... I will see if I can figure it out...
Vince-E wrote:I allready editted the file conf.inf.php with the following settings:
$phpwcms["root"] = "wcms/";
$_SERVER['DOCUMENT_ROOT'] = 'c:/inetpub/wwwroot/';

Code: Select all

// site values
$phpwcms["site"]              = "http://localhost/";

// paths
$phpwcms["root"]              = "wcms";

// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings.
// Do not use backslash "" on Windows - always replace "" by "/" 
$_SERVER['DOCUMENT_ROOT']     = 'c:/inetpub/wwwroot/';

Posted: Thu 10. Feb 2005, 15:34
by Vince-E
thnx Karla,
you´ve been very helpful