[wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5 Upgrade
WordPress Trac
noreply at wordpress.org
Mon Jun 13 23:43:41 UTC 2016
#36534: Media Upload Issue Since 4.5 Upgrade
---------------------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.6
Component: Media | Version: 4.5
Severity: major | Resolution:
Keywords: needs-testing needs-patch | Focuses:
---------------------------------------+------------------------
Changes (by melissasaywhat):
* keywords: has-patch needs-testing => needs-testing needs-patch
Comment:
The fixes I've tried work for a minute (maybe a day) then I started having
the same issue again.
"Of note is that the images were always uploaded, they just showed as
broken in the media library and in the posts, when tried." --- This is
exactly what's happening to me.
I went back and checked all the code I had edited and it was still in
place. I reverted it, tried each one, one by one, again and I'm back at
square one.
Replying to [comment:69 pkilmartin]:
> I don't think the issue is fully understood judging by the threads I've
seen. This weekend, I moved two sites to different providers, and when
they looked ok, went ahead an upgraded WP from 4.4.3 to 4.52, along with
all plugins. Both sites had the image issue.
>
> I tried all of the various workarounds (SetEnv MAGICK_THREAD_LIMIT 1 in
.htaccess, adding the lines to functions.php in child theme, applying the
fixes from the patch, verifying permissions, verified PHP settings were
above the problematic ones listed) without success. There was a youtube
video about changing PHP's reporting errors, which silenced the http
errors but didn't fix the underlying problem. Rather than update imagick
from 6.7.2-7, i elected to downgrade WP.
>
> I put in place the pre-upgrade public_html directory (from prior to the
migration) and changed db_version in wp_options from 36686 to 35700. This
was effective. Hopefully all the db changes are backwards compatible
(couldn't find documentation on the db changes).
>
> Of note is that the images were always uploaded, they just showed as
broken in the media library and in the posts, when tried.
>
> Here is my info:
> imagick version: ImageMagick 6.7.2-7 2016-05-09 Q16 module version is
3.4.1
> PHP Version 5.6.21
> memory_limit 512M
> max_execution_time 60
> max_input_time 60
> upload_max_filesize 128M
> post_max_size 128M
>
>
>
>
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36534#comment:72>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list