Hello,
the usage of DOCUMENT_ROOT ist not possible for IIS, thus all scripts using it will fail.
Pls see also
http://bugs.php.net/bug.php?id=11759
Do you have any idea to get it run under Win2K with IIS 5.0?
Regards,
KM
DOCUMENT_ROOT not available for IIS
you could try setting document root in the include\inc_libdefault.inc.php to the actuall address on the hardisk...
currently...
change to..
the only other instance of DOCUMENT_ROOT is in /img/random_image.php
hope it helps.
currently...
Code: Select all
define ("PHPWCMS_ROOT", preg_replace('/\/$/', '', $_SERVER['DOCUMENT_ROOT']).(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") );
Code: Select all
define ("PHPWCMS_ROOT", "DriveLetter:\Directory/SubDirectory/WWWRootDirectory/".(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") );
hope it helps.
Well, pSoupers solution seem's to be a good one.
I run my dev phpwcms under W2003 Server Enterprise Edition (MSDN Eval.) and IIS 6.0. I have absolutly no problems with it. Maybe your php.ini declarations are worng at any line, or (more possible) the directories permissions are not set in the right way on your system.
Cheers,
Florian
I run my dev phpwcms under W2003 Server Enterprise Edition (MSDN Eval.) and IIS 6.0. I have absolutly no problems with it. Maybe your php.ini declarations are worng at any line, or (more possible) the directories permissions are not set in the right way on your system.
Cheers,
Florian
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
-
- Posts: 10
- Joined: Thu 25. Mar 2004, 16:39
Hello all. Just wanted to add a post to this thread for info only. This seems to be a problem that is not specific to IIS and Windows. I could not edit articles until I had applied this same solution (Oliver's post above) and I am running apache server on Mac OS X (10.2..
See this thread
http://www.phpwcms.de/forum/viewtopic.p ... sc&start=0
Thanks Oliver for a simple solution.
See this thread
http://www.phpwcms.de/forum/viewtopic.p ... sc&start=0
Thanks Oliver for a simple solution.