westbard
Forum Replies Created
-
Thanks. Which version started using the Rest API? That’s when I started having issues with your plugin.
I verified what the host said. About 1 in 10 images downloads. The others just spin and spin. This happens on sites with and without a WordPress firewall, so it doesn’t seem to be related to that.
Any other ideas?
By the way, an old version of your plugin worked flawlessly. I should have kept that.
- This reply was modified 2 years, 2 months ago by westbard.
According to the host, there is nothing blocking the Rest API request. I even disabled WordFence to be sure. Here’s what KnownHost reports:
“I am not seeing any Server side errors or blocking that could be preventing the images to download, and some of the images are downloading fine, where some of the images are having trouble while downloading, so would it be possible that some of the images were protected by the provider or the limitations at the Images provider end?”
Yes, it’s this:
instant-images.js?ver=6.1.1:1
- D {message: ‘Request failed with status code 503’, name: ‘AxiosError’, code: ‘ERR_BAD_RESPONSE’, config: {…}, request: XMLHttpRequest, …}
- code: “ERR_BAD_RESPONSE”
- config: {transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}
- message: “Request failed with status code 503”
- name: “AxiosError”
- request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
- response: {data: ‘<!DOCTYPE html>\n<html style=”height:100%”>\n<head>\n… try again later!</p>\n</div></div></body></html>\n’, status: 503, statusText: ”, headers: ft, config: {…}, …}
- stack: “AxiosError: Request failed with status code 503\n at https://<domain>/wp-content/plugins/instant-images/build/instant-images.js?ver=6.1.1:1:18690\n at XMLHttpRequest.u (https://<domain>/wp-content/plugins/instant-images/build/instant-images.js?ver=6.1.1:1:18835)”
- Prototype: Error
P.S. I’m using the paid version of NextGEN gallery.
Thanks. I know about how the new version moves the feature to the Add Media modal. I was just giving you (another) data point from a user who prefers the old method. Why not offer both? Options are always good.
I prefer the button above the editor.
4.2 seems to work. For anyone reading: you must first deactivate and delete the current version. Then install the older version.
- This reply was modified 6 years ago by westbard.
So it looks like PUT is not enabled in Cpanel by default.
https://forums.cpanel.net/threads/put-method-enabled.471081/
This would then cause a lot of people issues, I imagine.
Also if I install an older version, do I first need to uninstall the current version? Or can I just install over the current version?
Fantastic. Thank you. What’s the latest version that does not have the REST API PUT issue and that still has the button over the editor?
Thanks again.
- This reply was modified 6 years ago by westbard.
I also miss the button that used to appear on top of the WordPress editor (TinyMCE), next to Add Media. That button no longer appears. It was handy.
I will check with the host. No idea.
I do know that previous versions of your great plugin worked fine, so I was disappointed w/ this problem, which essentially has made it unusable.
Same issue. Upload folder is set properly to 755.
Any fixes?