Fatal error in media.php when uploading image
-
Hello! I’ve tried to google this topic, and I’ve also tried searching on this forum, but none of the solutions have beeen helpful for me. I’ve tried both to add an .htaccess-file, I’ve tried to change limits in wp-config and wp-settings, but notings seems to help.
The problem is that when I try to upload a picture on my wordpress-page it seems OK until the uploader is going to crunch the picture. Then this message appears:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 13824 bytes) in /home/virtual/****/public_html/****/wp-includes/media.php on line 258
I’m using the theme Twenty Eleven and version 3.4 of WordPress.
This is a totally fresh install of wordpress on my host. That means that there is no plugins which makes it difficult. And as mentioned above I have tried to change the limits in the files.
I do not have access to the php.ini-file.
I have never had such problems with earlier versions of WordPress, and I think that there should be enough php-memory available since there is nothing else installed on the host.
- The topic ‘Fatal error in media.php when uploading image’ is closed to new replies.