D:\www\tuinenv.. become D:\www uinenv.. \t = tab

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
ehoeven
Posts: 3
Joined: Thu 12. Feb 2004, 10:41
Location: The Haque
Contact:

D:\www\tuinenv.. become D:\www uinenv.. \t = tab

Post by ehoeven »

installed phpWCMS on an IIS5 webserver.. i added the next thing to the conf.inc.php file to be able to read directories on the webserver.

$_SERVER["DOCUMENT_ROOT"] = "D:\www\tuinenvijver.nl\www";

This works great except for the error below when trying to edit an article:

Warning: main(D:\www uinenvijver.nl\www/include/inc_tmpl/articlecontent.list.tmpl.php): failed to open stream: Invalid argument in d:\www\tuinenvijver.nl\www\include\inc_lib\article.editcontent.inc.php on line 147

Warning: main(): Failed opening 'D:\www uinenvijver.nl\www/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.;c:\php;C:\php\PEAR\go-pear-bundle') in d:\www\tuinenvijver.nl\www\include\inc_lib\article.editcontent.inc.php on line 147

The problem:
D:\www\tuinenvijver.nl\ww... etc seems to be converted to
D:\www uinenvijver.nl\ww.. the whitespace becomes a 'tab'.. similar problems probably also with other \t or \? constructions.


How i solved this problem:
changing: \ to /
$_SERVER["DOCUMENT_ROOT"] = "D:/www/tuinenvijver.nl/www";
rolf
Posts: 18
Joined: Sat 6. Dec 2003, 23:45
Location: Norway - Drøbak
Contact:

Re: D:\www\tuinenv.. become D:\www uinenv.. \t = tab

Post by rolf »

ehoeven wrote: $_SERVER["DOCUMENT_ROOT"] = "D:\www\tuinenvijver.nl\www";
Try it this way:

$_SERVER["DOCUMENT_ROOT"] = "D:/www/tuinenvijver.nl/www";
Rolf Dahl
Locked