Problem freezes web page in search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Problem freezes web page in search

This topic contains 4 replies, has 2 voices, and was last updated by pixelapixel pixelapixel 4 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14809
    pixelapixel
    pixelapixel
    Participant

    When I perform a search and find no results, the web page is frozen and does not let me do anything, I have to close the browser.

    #14810
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’ve tried to make a test search, but the browser console reports that the WordPress ajax handler file is missing (404 error): https://i.imgur.com/XLvxOz7.png
    This could be caused by a malfunctioning .htaccess rule, or if the file is actually deleted.
    I suspect this is going to be a bad .htaccess redirection rule, because I’m getting an infinite redirection error when trying to access the admin area: https://i.imgur.com/NVDTlE3.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #14813
    pixelapixel
    pixelapixel
    Participant

    so?

    #14814
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    .htaccess issue is not related to this plugin. There is a file in your web server root directory called .htaccess, which contains certain page redirection rules, mostly based on regular expressions. If those rules are incorrect, they will cause page redirection problems.
    It’s basically used to tell the server how to resolve certain requests, like take fancy URLs into a readable format, permalink resolving and so on..

    There is very likely an issue there, as the admin-ajax.php file is not accessible, returning a 404 error, very likely caused by a wrong rule. And the site back-end is not accessible either (permanent redirection error), which are almost certainly caused by one or more issue in that file.

    If you have not changed anything in that file, then it may come from an incorrect permalink configuration, maybe a cache plugin or anything that has any sort of connection with permalinks.

    I’m no .htaccess expert, but I would probably try to re-vert that file to the original contents first, to see if that changes anything. Once that is resolved, I will be actually able to log-in to the back-end, and maybe see the freeze problem as well, as currently the ajax request is not even processed by the server, that has to be resolved first.

    If you use an NGINX server instead of Apache, then keep in mind that it does not support .htaccess, and the mod_rewrite rules have to be applied differently. By default WordPress is designed for Apache servers, but I believe there is a tutorial on how to convert it to use on Nginx servers.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #14817
    pixelapixel
    pixelapixel
    Participant

    The problem was the template grgrgrgrrgrg Betheme

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.