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
Make sure you have read, write and DELETE privileges set for both directory's for the IIS user (I think IIS has two users).
Arthur Guy
arthur@astarsolutions.co.uk a star solutions www.astarsolutions.co.uk
Audio & Video Leads Adapters and Accessories -----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Matt Comstock Sent: 09 October 2005 01:13 To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Image upload internal error
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
'a star solutions' disclaimer The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company. We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this communication
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
mediawiki-l@lists.wikimedia.org