Loading...
 
Skip to main content

Architecture / Installation


Problems with Paths

Hi
Ive just installed v3.2. After installation, when I call the index.php, I get the following Msg:

Copy to clipboard
Tiki is not properly set up: The directory 'C:\Inetpub\wwwroot/backups/' does not exist. The directory 'C:\Inetpub\wwwroot/dump/' does not exist. The directory 'C:\Inetpub\wwwroot/img/wiki/' does not exist. The directory 'C:\Inetpub\wwwroot/img/wiki_up/' does not exist. The directory 'C:\Inetpub\wwwroot/modules/cache/' does not exist. The directory 'C:\Inetpub\wwwroot/temp/' does not exist. The directory 'C:\Inetpub\wwwroot/templates_c/' does not exist.


The Files are located c:\Inetpub\wwwroot\tikiwiki
which is also the "root" directory of my Website ( intranet. viewable by http:\\tiki\ .
Im Running IIS6 and PHP 5.2.10

So the Problem is, that it seems to point 1 directory backwards too far. Something like ..\..\temp but I cant find where it does this

Is this something known? And has anyone a soloution on this?

Thanks in advance

Sea

Ok forget it. ive found the Problem

the file \lib\setup\tikisetup.class.php

has the following Lines ( 29-38 )

Copy to clipboard
if (strpos($_SERVER['SERVER_SOFTWARE'],'IIS')==TRUE){ if (array_key_exists('PATH_TRANSLATED', $_SERVER)) { $docroot = dirname($_SERVER['PATH_TRANSLATED']); } else { $docroot = getcwd(); } } else{ $docroot = getcwd(); }


where I uncommented that PATH_TRANSLATED Part to ->

Copy to clipboard
if (strpos($_SERVER['SERVER_SOFTWARE'],'IIS')==TRUE){ //if (array_key_exists('PATH_TRANSLATED', $_SERVER)) { // $docroot = dirname($_SERVER['PATH_TRANSLATED']); //} else { $docroot = getcwd(); //} } else{ $docroot = getcwd(); }


Works fine so far