Media Upload 'http error'
-
Hi,
i’ve recently uploaded my ‘beta’ website from my local copy to a server sub-domain.beta.newsite.comThis area is also password protected using .htaccess + .htpasswd (if worth mentioning)
—
From my local copy, I’ve had no issues with uploading media – now on server, I cannot upload from either flash or browser uploader.The error i get –
HTTP error.Any solutions / suggestions as to what i can do to help resolve issue?
I’ve already tried the following ..
removed ‘uploads’ directory, and re-created new one.
set permissions of ‘uploads’ directory and all sub-recursive to 777.
-
Thank you esmi, I appreciate your help.
I’ve concluced the following..
The issue(s) around the media uploader we’re in fact, caused by the password protected area (I disabled the following in .htaccess, and it’s now working again)AuthName "Restricted Area" AuthType Basic AuthUserFile /root/path/to/my/website/.htpasswd AuthGroupFile /dev/null require valid-userNow, that being said.. It’s nice to know that problem has been pin-pointed; however, it does leave my ‘beta’ area unprotected.. which is not ideal.
Any solutions as to how i can get around this?
Hi all, here is a logical solution to my problem(s) described above.
To summarize when / if this relates to your issue(s), here are is a brief summary –
- wordpress ver. 3.0
- installed on subdomain
- authentication / user + pswrd prompt (.htaccess, .htpasswd) required
problem?
when trying to upload, the error – HTTP error. is returned, with unsuccessful file upload.
solution?
add the following to the very top of your .htaccess file, (should resolve issues around uploading media)
# Exclude the file upload and WP CRON scripts from authentication <FilesMatch "(async-upload\.php|wp-cron\.php|xmlrpc\.php)$"> Satisfy Any Order allow,deny Allow from all Deny from none </FilesMatch>For more information:
http://codex.ww.wp.xz.cn/User:Hakre/Htaccess_Auth_ExcludesThanks.
By the way I tried the above mentioned technique, adding the code to my .htaccess but didn’t work. Than I tried the plugin ‘Image Upload HTTP Error Fix’ …not successful.Finally i tried the plug-in ‘flexupload’… Bang it fixed the problem right away and still working.
The topic ‘Media Upload 'http error'’ is closed to new replies.