Media upload issues with new WordPress version
-
Since the upgrade to the new version, the Media upload DOES NOT WORK any more, either tring to ‘add new’ in the library with drag and drop or with the browser’s built-in file uploader option. It was working perfectly before the upgrade.
Now the upload reaches 100%, then shows ‘HTTP error’, and the image looks as broken in the media library.
I learnt from the support forum that this is a very common issue among users since the last update, so I would kindly ask you to look into this as fix it as soon as possible.
I would rather not start using external FTPs to upload images…
Many Thanks!
-
I have this same issue. It only started happening this week since the WP upgrade.
Have tried a number of things including changing permissions, etc.
Nothing is working. Please help.This seems to be happening to a lot of people (including me).
List of things that have been tried with no solution:- Deactivating all plugins
- using a different theme
- uploading all 3 ways (add media/featured image selection/dragging image to upload area)
- even directly uploading the image to the uploads folder in hosting
Strangely nothing has worked which leads me to think its the updated release of WordPress. No issues were found until the update.
If anyone knows how to get into contact with WordPress admins for this fix… a lot of people could use the help.Just following up on this thread. I have also been having the same issues and just wanted to check in to see if there have been any corrections for this or if anyone has experienced a resolve for this issue.
It looks like it’s a server timeout issue. This seemed to have worked for me:
Open wp-config.php in your sites main directory via FTP (or cPanel)
Scroll to the line which reads:/* That’s all, stop editing! Happy blogging. */Add the code above the line:
set_time_limit(60); /* That’s all, stop editing! Happy blogging. */textSome hosting companies may not allow you to overwrite this setting from wp-config. However, you can still try.
Okay, I have just been on the phone with my host – GoDaddy, who said my issue was a WordPress memory issue. GoDaddy used a back end tool that increased the php memory limit. This solved my issue of http errors occurring every time I tried to upload an image. I hope this helps someone!
Ik have a similar problem with Coleman.
Adding set_time_limit(60); did not help.
I already switched back to the standard theme and disabled all the plugins, but that didn’t help as well. Directory permissions are ok (755)However, it seems to upload the (first) file in some way (and then it just stops), because I can see the file in Filezilla, and it is complete and correct, but it show broken in WordPress. And if I add pictures manually in Filezilla, I can’t see them at all in WordPress Media Liberary…
Help 🙁
Also uploading images through add media, cause processes to start on server but they don not get terminated, so I have to kil them…
Many thanks irestorestuff! I have Go Daddy as well as a host and will try and contact them. On the contrary, I would not feel confident in modifying the code (would not know where to start or what to do in case something goes wrong..).
I must say am very concerned (and a bit disappointed) that WordPress has not taken care of this issue yet, despite the number of people affected (I understand almost anybody who switched to the new version is encountering the same problem)…I would have expected a quick fix and a far better customer care from them.This was reported to the core team several days ago. You can track the issue, and read a couple of work-arounds, in this ticket:
https://core.trac.ww.wp.xz.cn/ticket/36534Meanwhile my hosting company moved the site to a newer server (or at least they said they would do so, but never actually comfirmed this) and all seems to be working fine now.
Just spoke with GoDaddy, my host, and they just try deactivated my plugins (which did not change anything) and told me that if I want to increase the php memory they can create an INA file for me for a fee, but I have to tell them exactly what I need. I don’t even know what an INA file is…
I don’t have almost any knowledge of IT and I feel completely lost…and still unable to upload anything on my website.
@irestorestuff what was your experience with GoDaddy, did they ask you the same?@christine36 I don’t remember them asking me anything like that. I just told them what my problem was with uploading images and the errors I was getting. The lady was very helpful and said they had several calls recently regarding this issue. She is the one that told me she could increase the php memory and it should resolve the problem. She then tested it on my site for me while I was on my website backend too. I would try calling back and you should get a different tech person who will hopefully be able to help you. I wouldn’t tell them what they need to do, but maybe suggest that “someone else I know had this problem and GoDaddy tech said they resolved it by increasing the php memory.” if they don’t have a clue how to fix it. I happened to talk to a tech lady who had this issue several times before me, so hopefully it all works out for you.
The v4.5.1 Maintenance Release has been posted:
https://ww.wp.xz.cn/news/2016/04/wordpress-4-5-1-maintenance-release/Here’s an article on increasing php memory:
https://premium.wpmudev.org/blog/increase-memory-limit/If you have upgraded to WP 4.5 and the problem started then…
There is an extensive thread here with several workarounds: https://ww.wp.xz.cn/support/topic/http-error-when-uploading-images-17/
It’s my understanding that WP 4.5 does so much more processing with images and especially on shared hosting, it’s creating problems. There are two distinct workarounds that many have had success with. I tried the htaccess method and it solved the problem for me.
1) Add this to your .htaccess file at the root of your WordPress installation just before the
# BEGIN WordPressline:SetEnv MAGICK_THREAD_LIMIT 1
OR
2) add this to your themes functions.php file (actually add to a child theme functions.php file or use a plugin likeCode Snippets )
add_filter( 'wp_image_editors', 'change_graphic_lib' ); function change_graphic_lib($array) { return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); }Alternatively, you may install this plugin instead to change the default image editor:
default-to-gdIf neither of these works for you, try reading the thread mentioned at the top to see what others have done.
Why do they upgrade and not test it? They are not upgrading but downgrading. I thought only Microsoft used these tactics for people to buy newer versions of which one thing is fixed and another broken.
TEST for Christ sake!
The topic ‘Media upload issues with new WordPress version’ is closed to new replies.