Please turn on EWWW’s debugging option, and post the debug information from the settings page via pastebin.com.
Also, please link to one of the images you are having trouble optimizing.
Thread Starter
MKNN
(@mknn)
One of the images here: http://toal.mankinlevine.com/wp-content/uploads/2016/06/DSC06327.jpg
PasteBin: http://pastebin.com/w0SCc2sv
Running through the operations doesn’t generate any additional debug info, just the webhost’s default 500 Error Page.
Hmm, nothing out of the ordinary there. Doing local optimization should be like a 4-5 second operation with your setup. If you have access to your server’s error logs, run an optimization and check the logs. If you don’t, check with your webhost to see if they can shed any light on those 500 errors.
One additional thing that might give us some more insight without seeing the error logs, is to use Firefox with the Firebug add-on. Open the Firebug console by clicking Inspect Element with Firebug, and then click the Console tab, and make sure All is selected. Then upload an image and see what happens. With a 500 error, it should come back in red when the POST attempt comes back, and you can expand it to see if there are any other details.
Also, see what happens if you switch to the default theme and deactivate all other plugins.
Thread Starter
MKNN
(@mknn)
No change with default theme/no plugins. I supposedly have access to the logs, but cannot find info about the 500 error. With FireBug, there is an error:
ReferenceError: prettyPrint is not defined, with a link to
http://toal.mankinlevine.com/wp-admin/admin.php?action=ewww_image_optimizer_manual_optimize&ewww_manual_nonce=4ab3d832b9&ewww_attachment_ID=111
That help at all? In the meantime, I will contact the host and see if they can point me in the right direction wrt the log files.
That tells us there is something causing javascript errors, which could be the source of your uploading problems, but if Firebug shows that your site is attempting to upload the file anyway, then it is probably not an issue.
The fact that it link back to the main page source itself seems to indicate that the javascript in question is being inserted inline into the page, not from a separate .js file.
Thread Starter
MKNN
(@mknn)
Sorry, got taken away from this for a while. Came back, hoping that the WP update would have solved the issue, but no such luck.
The error occurs on clicking optimize from the image library, with no other plug ins loaded and the default theme selected. I am going to, I think, delete the entire subdomain and reinstall from scratch and see if it recurs. Will update once that is done.
Thread Starter
MKNN
(@mknn)
That seems to have solved the problem. Deleted everything from the subdomain, reinstalled WP, installed EWWW, and it’s optimizing successfully. Who knows … glad it happened before I had really done a lot on the project!