http error and 404 error on file upload
-
Alright, I’ll try to keep a cool head when discussing this issue, but I have already tried about 3 dozen “solutions” that have not yet fixed the problem.
Problem:
So, uploading any files, be it themes, images, or anything, I receive a http error or get redirected to a 404 page whenever the file size is greater than 100kb… yes, kb.Info about hosting and what have you:
Linux VPS
PHP version: 5.3.19
MySQL: 5.0.96
PHP memory_limit is set to 32M
upload_max_filesize is set to 100M.htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Added the following line to wp-config.php(have tried without this as well):
define('WP_MEMORY_LIMIT', '64M');
Have also tried many changes to the .htaccess and php.ini files. These changes were related to establishing higher memory limits and upload limits. I have since reverted all changes to these files. Of course all plugins and themes were disabled during the process of troubleshooting. Upload speed is not an issue for those thinking it may be related to a max execution time problem.
*Side note: files will upload to 100% and then the http error occurs when it begins to crunch the file. 404 page is generated when using the browser uploader as opposed to the multi-file uploader.
All advice is welcome to help solve this issue.
Thanks,
Connor
- The topic ‘http error and 404 error on file upload’ is closed to new replies.