Plugin doesn't work after update
-
Hello,
After the plugin was udated I started reciving the following mistake — http://gyazo.com/20d2af3a4652dfe7f66e4bb5b8da2cad (it says Http error)
In the result it is not possible to insert images and they look like here http://gyazo.com/0374142969697f9d7aa4931060bcdbd3
After I deactivated plugin, everything works perfectly again.
Please let me know what I may do to fix the problem.
Thanks,
Denis.
-
First try completely deleting the plugin and reinstalling. Sometimes files get corrupted or missed in the update process (not sure how it happens, cause it’s not supposed to).
If it persists, have a look in your servers error logs (ask your webhost if you don’t know where those are). That’s generally the only way to find out what the actual error is.
Also see if this is applicable: https://ww.wp.xz.cn/support/topic/http-error-52?replies=8
Hello,
Thank you for the reply. I have tried to reinstall the plugin, but the same error appears.
Here is the log file — https://dl.dropboxusercontent.com/u/45101170/freesmi.by/error.log
Please let me know if anything else is required to fix the problem.
Thanks,
Denis.Can you give me a timeframe when you uploaded an image, or do a new upload and send me a fresh log with an indication of when the error occurred. You’ve got so much noise in your log I can’t find anything.
Oh, it would also be useful to know the path to your website if you know what that is to narrow things down a bit.
I have just activated a plugin in 4:20 am and uploaded tree different images. I received a error every time I uploaded a new picture. It was approximately at 4:21-4:25
Here is the log file — https://dl.dropboxusercontent.com/u/45101170/freesmi.by/error.log
The path to my website is /var/www/clients/client0/web1/web
Umm, there’s only 1 line in that log file, and it isn’t relevant to your website at all. Is there another error log for your site/vhost?
Please see below the reply from my hoster:
These are the logs available
1. /var/log/nginx/access.log
2. /var/log/nginx/error.log
Please ask your plugin developer what type of log he is looking for.
Let us know if you need any further assistance.I just have reinstalled plugin, retried uploading images and received the same error. It was done in the period of 9:29-9:34 of the time zone of web server.
I recorded the video for your of how it was done to undertand the problem more clear http://youtu.be/vv2LXUbb0vQ
Please see the latest log files that I uploaded once again just now:
access.log — https://dl.dropboxusercontent.com/u/45101170/freesmi.by/1/access.log
error.log — https://dl.dropboxusercontent.com/u/45101170/freesmi.by/1/error.logBefore the update the plugin has been working perfectly for almost a year.
What I’m looking for is the cause of the http error. There should always be something in the logs indicating the problem. Even if the return output just gets messed up, WP doesn’t throw the http error. It will only do that if an actual error is returned by the server when the upload is attempted. That actual error should be in your server error logs. Instead, there is nothing related to your site in either the error or access log, which is most confusing. Is this a VPS or a shared hosting server?
VPS
is it a standalone vps where you control everything, or a managed vps where you still share a server, but have dedicated resources?
Here is the response from the hosting:
You are purchased VS3 Pure SSD VPS from us.
VPS (Virtual Private Server) is a virtual machine created on a physical server. On a Virtual Private Server, you are allotted resources that are not shared by everyone, functionally equivalent to a dedicated physical server. We provide root access to VPS clients, so they can install any software/OS and perform any root level tasks.
Let us know if you have any additional questions.
Which also likely means they wouldn’t know if you changed something with the logging or other configs (unless they also have a root login on all their VPS servers, which is possible). Can you send me a test login for your WP site (not the server itself, but a WP login) via http://ewww.io/contact-us/
I’d like to test an upload and see if I can find anything in the developers console before we go digging any further.I sent you the credentials. Please let me know I may help with anything else.
The problem ended up being an endless loop when the set_time_limit() function doesn’t work. I’ve removed the offending code from your version of the plugin, and implemented a fix in ‘dev’ for anyone else with this problem: https://downloads.wp.xz.cn/plugin/ewww-image-optimizer.zip
Thanks a lot!
Do I need to ask to switch the set_time_limit() function on hosting or the issue does not related to hosting?
The topic ‘Plugin doesn't work after update’ is closed to new replies.