Browse to the images directory in Windows Explorer, right-click; choose Properties, and locate the Security properties. You need to grant read-write access to IUSR_GUEST and IUSR_<name>, where <name> is the local machine name.
Note: These usernames may differ slightly depending upon your IIS configuration, but you should be able to pick them out from any other users.
Rob Church
On 09/10/05, Matt Comstock mccomstock@yahoo.com wrote:
I get an error when trying to upload an image file logged in as any user including as WikiSysop:
Internal error Could not copy file "C:\WINDOWS\TEMP\php10A.tmp" to "C:\Inetpub\wwwroot\mediawiki/images/temp/4/42/20051008234644!DSC04075.JPG".
The "file paths\names" are slightly different each try with the exception that .tmp always appears in the first and the C:\Inetpub\wwwroot\mediawiki/images/ always appears in the second.
IIS ver. 5.1 WinXP Pro ver. 5.1.2600 build 2600 PHP ver. 5.0.4 mysql ver 4.1.12a-nt via TCP/IP MediaWiki 1.4.7
In MediaWiki's LocalSeetings.php I uncommented the line $wgDisableUploads = false;
In PHP's php.ini: file_uploads = On
In IIS for the MediaWiki directory under the default website, when I right click, select properties and look at the directory tab, under local path both the read and write boxes are checked.
As per suggestions on
http://meta.wikimedia.org/wiki/Upload#Supported_file_types.3B_miscellaneous
I added this line to LocalSettings.php: $wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'ogg','doc','xls','ppt','mp3','sxc','pdf' );
That didn't help
I am able to 'wiki' fine otherwise, adding new pages, etc.
I'd welcome any ideas for other things to try.
Thanks,
Matt
Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l