WCMS under XP IIS

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

WCMS under XP IIS

Post 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.
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

Modify your "php.ini" file:

Code: Select all

error_reporting  =  E_ALL & ~E_NOTICE
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post 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...
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

i belive ther eis a DOCUMENT_ROOT test script within the setup process - am I wrong?
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post 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/';
Vince-E
Posts: 19
Joined: Mon 7. Feb 2005, 17:27

Post by Vince-E »

thnx Karla,
you´ve been very helpful
Post Reply