We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23849
    • 223 Posts
    Hi All,

    I’m trying to search through a couple of tables/fields in my database and I keep getting the error "AjaxSearch error: table ido_profiles not defined in the configuration file: !". The table definitely exists and I’ve definitely named it correctly so that’s not the problem.

    I’ve tried calls with simply the table name, as well as trying to search through multiple tables and fields (using the example from the wiki). I’m using modx evo 1.0 and ajaxsearch version 1.8.3.

    Here’s the ajaxSearch call on my results page that I will need in the end - is there something that’s gone wrong or something further I need to do in a configuration file?

    [!AjaxSearch? &AS_showForm=`0` &ajaxSearch=`0` &whereSearch=`ido_profiles[:city:zip][|modx_web_user_attributes_extended[:city:zip]]` &highlightResult=`1`!]
    


    I’ve also just tried this with the same error about my config file:

    [!AjaxSearch? &AS_showForm=`0` &ajaxSearch=`0` &whereSearch=`ido_profiles` &highlightResult=`1`!]
    


    What am I missing in order to search through specific tables? Let me know, thanks!
      Nick Hoag
      Creative Partner
      The FutureForward

      http://thefutureforward.com