We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29676
    • 45 Posts
    Is there an easier way to set up a search function in MODx? We get the error "php_mbstring extension required" and we don’t think we can add this function.

    Please advise how to add this missing extension (in layman’s terms please, we’re not all MODx /php experts!!) OR is there an alternative search feature that we can use to return a simple search results page for terms on the site?

    Site is http://www.ics-software.co.uk/index.php?id=1 and the current search field is a dummy form at the moment

    Thanks

    Steve
      • 22770
      • 285 Posts
      Any reason you can’t install Google search or Yahoo on your site?
        • 29676
        • 45 Posts
        None at all .. I’ve never had the need to provide any sort of search on a site before (never seen the need before now) any tips on how that’s done or is it obvious from the Google site?

        Be nice to use the one that is built in though smiley
          • 5811
          • 1,717 Posts
          Which release of AjaxSearch do you use ?

          If you use 1.8.2 or 1.8.3:
          ==== php_mbstring extension
          
              &mbstring [0 | 1]
                1 - mbstring extension available (default)
                0 - don't use php_mbstring extension
              
              The php_mbstring is supposed to be loaded. 
              If html charset page is "UTF-8", php_mbstring extension should be loaded for language which
              need a multi-byte representation. 
              If the extension is not available for the PHP server, some charset like ISO-8859-1 (latin1) could be used.
              With UTF-8, a message "Php_mbstring extension is required" when &mbstring=`1` and the extension not loaded.
              In this case load the extension or set the mbstring parameter to 0 if you couldn't load the extension
          So use &mbstring=`0`
            • 22770
            • 285 Posts
            Quote from: thecubelab at Jul 09, 2009, 09:25 AM

            None at all .. I’ve never had the need to provide any sort of search on a site before (never seen the need before now) any tips on how that’s done or is it obvious from the Google site?

            Be nice to use the one that is built in though smiley
            Check out Google custom search: http://www.google.com/coop/cse/

            I think the limitations of Ajax search make this a better option.