Wordpress & mediawiki both throw error when trying to upload
Moderator: General Moderators
Wordpress & mediawiki both throw error when trying to upload
I'm using WP 2.9.2, MediaWiki 1.15.4, PHP 5.3.2 (cgi-fcgi), MySQL 5.1.32-community, on Windows WebServer 2008 with IIS7, and when I try to upload a file, I just get an internal error message like "Could not find file "C:\phpup\php[random characters].tmp"." I have uploads allowed in localsettings.php, the test uploads are small files (less than 100k), I have permissions Full Control for Everyone set for the C:\phpup directory. What else can I do?
Re: Wordpress & mediawiki both throw error when trying to up
Add the IIS user account to the permissions. Everyone group usually doesn't include the IIS anonymous user account.
Re: Wordpress & mediawiki both throw error when trying to up
Internet Guest Account (HOSTNAME\IUSR_HOSTNAME) also has full control permissions.
Re: Wordpress & mediawiki both throw error when trying to up
Maybe you haven't properly configured the upload directory in php.ini, or maybe you need to review permissions on that directory too. In addition, you may need to adjust permissions in c:\php and the windows %TEMP% directory.
Oh, you did check permissions already in the upload directory. My guess is still that the server is unable to write the temporary uploaded file for some reason.
Oh, you did check permissions already in the upload directory. My guess is still that the server is unable to write the temporary uploaded file for some reason.
Re: Wordpress & mediawiki both throw error when trying to up
The directory described in the OP is the upload_tmp_dir, I see in the directory the files existing, but being 0 bytes. Trying to figure out why the server can't seem to write to them.
Edit, no wait, the 0 byte files are in the session save temp directory.
Edit, no wait, the 0 byte files are in the session save temp directory.