We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29781
    • 25 Posts
    I use AjaxSearch 1.9.0 on Evo 1.0.4.

    If I call Ajax Search on any uncached page with
    [!AjaxSearch? &ajaxSearch=`0`!]
    everything is fine, I get the search-results and if I klick on "page 2" I am redirected to "page 2" with the next search results.
    When I call AS with
    [!AjaxSearch? &ajaxSearch=`0` &asId=`as1`!]
    to have the possibility to use a second searchbox on the page (but not yet using it or – it is the same using a second searchbox – with asId=as2) I get the results on resultpage1 but if I click on "page2" which is linked with: http://www.my-domain.de/?asId=as1&search=my-searchphrase&advsearch=oneword&aso=0,6 I get no further searchresults. In firebug I then can see an empty div with the class=AS_ajax_resultsIntroFailure.

    Is this a problem of my configuration (I use the default.config and default templates) or a problem of AS? And more important: Is there any solution for my problem?
      • 5811
      • 1,717 Posts
      but if I click on "page2" which is linked with: http://www.my-domain.de/?asId=as1&search=my-searchphrase&advsearch=oneword&aso=0,6 I get no further searchresults.
      This issue comes from the use of asId instead of asid in the url. This is a bug.

      You could fix it by replacing the line 500 of ajaxSearch/class/ajaxSearchOutput.class.inc.php:
              $asIdUrl = ($this->asCfg->cfg['asId']) ? '&asId=' . urlencode($this->asCfg->cfg['asId']) : '';
      by
              $asIdUrl = ($this->asCfg->cfg['asId']) ? '&asid=' . urlencode($this->asCfg->cfg['asId']) : '';


      Or simply in this line replace &asId by &asid (no use of upper case letter!)

      As soon as possible i will update the svn branch and the AjaxSearch package on the download page of the demo site.
      Thanks for this feedback.
        • 5811
        • 1,717 Posts

        As soon as possible i will update the svn branch and the AjaxSearch package on the download page of the demo site.
        Done. AjaxSearch190 #6976

        To check the correction, search "the" with the lower ajaxSearch input form (asId=`as2`) on this page then use the next arrow for a group of results (category). The paging type used here is the paging type 1 ’default value), but the correction is available for all the paging types (0 & 1 for non-ajax mode, 1 & 2 for ajax mode)
          • 29781
          • 25 Posts
          I installed it, tested it and it worked like it should. Very nice smiley.
          Thank you very much for your work on this snippet.