Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search stopped working since update
- This topic has 11 replies, 2 voices, and was last updated 1 year, 9 months ago by
Ernest Marcinko.
-
AuthorPosts
-
August 8, 2024 at 11:37 am #48933
melsaunders
ParticipantHi – since the latest update our search is no longer working. We wondered if there’s a way to get a previous version of the plugin so we can get it working while we resolve the issue?
August 8, 2024 at 9:02 pm #48935Ernest Marcinko
KeymasterHi,
Unfortunately we can’t provide previous releases, downgrading is usually dangerous as it may corrupt the data from the newer release.
I checked your website but currently it seems to work all right on my end. Was this resolved? Usually the issue in these cases is the cache, where the previous version of the scripts/styles is served and it breaks, but of course it can be something else too. Let me know.
August 9, 2024 at 10:08 am #48950melsaunders
ParticipantYou cannot access this content.
August 9, 2024 at 4:00 pm #48951Ernest Marcinko
KeymasterHi Mel,
The issue was simply this option – actually not the option but the custom handler file was not longer accessible from the front-end, so I turned it off, now it’s okay: https://i.imgur.com/MRgnMqI.png
The file mask or the permissions must have changed, even installing the older versions the issue persists, as the file permission does not allow direct access on the newly copied files. That or there is a mod_rewrite or firewall ban on direct file access from plugin directories.
August 9, 2024 at 5:47 pm #48956melsaunders
ParticipantYou cannot access this content.
August 12, 2024 at 1:12 pm #48958Ernest Marcinko
KeymasterHi Mel,
The search results page itself is not in relation with the plugin – but either way please make sure to update to the latest release 4.26.15 to see if the issue gos away. Some cache related problems had been addressed in that version and it may resolve your problem as well.
September 3, 2024 at 2:20 pm #49102melsaunders
ParticipantYou cannot access this content.
September 4, 2024 at 9:07 am #49119Ernest Marcinko
KeymasterHi Mel,
It is only the custom ajax handler – with the update the files are probably replaced with default server file permission, which may have been updated to not allow direct file access outside of wordpress includes and root directories.
Turning off the custom ajax handler will solve the issue. If you still getting blank (without error on live), then it also could be a miscofiguration of some sort – as the two search bars are not the same, and therefore there can be a tiny difference in the config. On the staging it works okay on my end.
September 4, 2024 at 10:30 am #49129melsaunders
ParticipantYou cannot access this content.
September 5, 2024 at 8:24 am #49140Ernest Marcinko
KeymasterThanks!
The configurations seems to be all right on both ends. After updating though, still the old script files were loaded – I assume the CDN has cached them heavily, as the local cache is clean.
After switching the script source back to the default minified everything seems to work all right. Make sure to clear the CDN cache after plugin updates or perhaps configure the CDN to consider query strings (not to ignore query string). With that the CDN will know when to refresh the scripts as the query string updates after a plugin update.
September 5, 2024 at 8:41 am #49142melsaunders
ParticipantYou cannot access this content.
September 5, 2024 at 8:44 am #49144Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.