http://dev.redchalkstudios.com/century/Blame Theme
I'm using the theme right out of the box. Nothing custom has been added.
1) Image upload doesn't work correctly. I just get "Error upload. Please try again later." Then if I exit media and come back, sometimes the image is there (just with no preview) I disabled plugins and still was acting funny, I disable Blame theme and try 2014, works again normally. I checked the error logs and noticed something funny with imagemagick.
php: magick/cache.c:3443: GetVirtualPixels: Assertion `image->signature == 0xabacadabUL' failed
Comments
These image sizes are needed for different places in layout, so images would look nice.
Thing I will write below is not solution but rather debug test, as I have never seen such issue before:
Please go to blame\advance\apollo13.php line ~185 and delete all this code I suspect that there is problem with resizing images on your server, or there is some limit. I may be wrong!
Meanwhile I will google about simialr issues.
With regards.
Other possible solutions including imagemagick http://stackoverflow.com/questions/21726630/an-error-occurred-in-the-upload-please-try-again-later-in-wordpress-when-uplo
Next possible debug way http://rockdio.org/ayudatech/solution-to-3-5-an-error-occurred-in-the-upload-please-try-again-later/
And my last finding http://mikekelly.myblog.arts.ac.uk/2013/04/25/tracking-down-a-wordpress-bug/
Also if you can test on different server then we could find guilty one faster :-)
Thanks for all the info, I will start working my way through! See what the culprit is.
With regards.
Ok, so I've been trying everything you mentioned. First I upped my php_memory way more than wordpress recommends. (8000M) for testing purposes. Still got the error. Left the memory limit the same and deleted code from apollo13.php still ran into issue.
Looked at the logs, realized it was Imagemagick burning out from my resources. Basically I solved it by making Imagemagick use one thread instead of unlimited threads and burning up the servers resources.
Basically all I had to do was add putenv("MAGICK_THREAD_LIMIT=1"); in my php.ini and it works!
Thanks for the help!
Still I wonder what exactly in theme could make it "burn" processor so much. These all are standard wordpress functions for preparing thumbnails. Hope I will get to solve this mystery someday.
Thanks again!
With kind regards.