Thread:Project:Support desk/Unable to upload files

Hi all,

Wonder if someone could assist?


 * Mediawiki 1.19.1
 * PHP 5.4.5
 * MySQL 5.5.27
 * IIS 7.5

I am trying to get file upload functionality to work, but after I select the file to upload and click upload, get the following error:

PHP Warning: is_file: open_basedir restriction in effect. File(C:\Windows\Temp\php6B6F.tmp) is not within the allowed path(s): (c:\inetpub\wwwroot\;c:\php\upload_temp\;c:\php\uploadtemp\;c:\php\sessiondata\;d:\web sites\;C:\Windows\TEMP\) in C:\inetpub\wwwroot\mediawiki\includes\filerepo\backend\FSFile.php on line 42 PHP Notice: Undefined index: file-mime in C:\inetpub\wwwroot\mediawiki\includes\upload\UploadBase.php on line 351

I've ensured that IUSR has write access to c:\windows\temp and as can be seen above, c:\windows\temp\ is declared in open_basedir.

Wonder if it's a Windows thing?

Can't post the url i'm afraid as it's a corporate intranet and I'm forced to use Windows and IIS. :(

Any pointers would be cool....

Dom