We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3232
    • 380 Posts
    I read through the forum sticky and updated my parameters as required.

    my call is
    [!AjaxSearch? &showResults=`0` &landingPage=`16` &moreResultsPage=`16` &parents=`12` &ajaxMax=`3` &extract=`0` &depth=`4`!] 


    And the ajax response is

    {"res":"","resnb":"0,0","ctgnm":"","ctgnb":""}


    It use to respond with actual html code.

    Anyone have any ideas? I saw another post about commenting out the filter line in the results class but that didn’t seem to help.

    PHP 5.0.4
    Apache 2.0.54
      • 3232
      • 380 Posts
      I got the ajax to work but it is running incredibly slow. the ajax call takes over 11 seconds to complete.

      In 1.8.4 it was taking about 1 second.

      Anyone have experience with long load times?
        • 5811
        • 1,717 Posts
        {"res":"","resnb":"0,0","ctgnm":"","ctgnb":""}
        is not a correct answer. If you got no results (resnb=0) you should got a message "no results found".

        Could you add &debug=`1` in your AjaxSearch snippet call and send me by personal message the generated file debug/ajaxSearch_log.txt. Clear your browser and your Modx site cache (at least the page which hold the snippet call). Run only a search as you did previously. Don’t forget to remove this debug parameter after this test.

        And if your site is in production, thanks to send me the url too.
          • 3232
          • 380 Posts
          PM sent, thanks for your help.