D:\www\tuinenv.. become D:\www uinenv.. \t = tab
Posted: Fri 13. Feb 2004, 11:19
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";
$_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";