"Fatal Error: Out of Memory" when uploading images
-
New poster to the forums, but frequent browser. Sorry the post is so long, but I just want to be as detailed as possible.
When trying to upload an image using both the flash and basic uploader. Everytime i am given this error.Fatal error: Out of memory (allocated 32243712) (tried to allocate 10200 bytes) in /homepages/30/d179495380/htdocs/wp-includes/media.php on line 254
I have seen other posts with the same problem so I tried to fix the problem this way.
I edited my wp-config.php file as follows by adding this line.
define(’WP_MEMORY_LIMIT’, ‘256M’)
I also tried 64M as wellI also created a php.ini file in my root directory with the following contents
register_globals=off
memory_limit = 256M; Maximum amount of memory a script may consume (64MB)
That didnt work in any variation of size or by changing “register_globals=off” to “register_globals off” so I deleted it.I tried to edit my .htaccess file by adding
php_value memory_limit 256M
but that just made the uploader not work at all.All of these were done with all plugins deactivated.
I had the problem before but it was fixed with the memory bump plugin, but when i updated wordpress, that went away.
I also called my provider 1and1.com and asked them about my php memory limit, and apparently the limit for the basic package is 30M. I have been able to upload images before with no problem, so I cant imagine this being the real problem since that hasnt changed.Any help is GREATLY appreciated. My back is against the wall at this point. Thanks in advance.
Michael
- The topic ‘"Fatal Error: Out of Memory" when uploading images’ is closed to new replies.