This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search stopped working since update

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search stopped working since update

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #48933
    melsaundersmelsaunders
    Participant

    Hi – 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?

    #48935
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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.

    #48950
    melsaundersmelsaunders
    Participant

    You cannot access this content.

    #48951
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi 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.

    #48956
    melsaundersmelsaunders
    Participant

    You cannot access this content.

    #48958
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi 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.

    #49102
    melsaundersmelsaunders
    Participant

    You cannot access this content.

    #49119
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi 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.

    #49129
    melsaundersmelsaunders
    Participant

    You cannot access this content.

    #49140
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thanks!

    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.

    #49142
    melsaundersmelsaunders
    Participant

    You cannot access this content.

    #49144
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.