We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8619
    • 229 Posts
    I have completed an upgrade to 0.9.6 from 0.9.5 and have fixed a lot of the issues that it created.

    The one that I can’t track down is here: http://www.unionky911.org/site-search.html

    **Edit: If you visit the site, I have disabled the ajaxsearch, so it might appear that it works fine. Trust me, it still isn’t. It is still throwing the same error as listed below.

    When AjaxSearch is in effect with this snippet call [!AjaxSearch!] or [[AjaxSearch]] and you try searching for something, anything, it gives this error:


    Warning: main(/data/12/1/136/35/1136687/user/1207121/htdocs///assets/snippetsassets/snippets/AjaxSearch/AjaxSearch.php) [function.main]: failed to open stream: No such file or directory in /data/12/1/136/35/1136687/user/1207121/htdocs/index-ajax.php on line 29

    Warning: main() [function.include]: Failed opening ’/data/12/1/136/35/1136687/user/1207121/htdocs///assets/snippetsassets/snippets/AjaxSearch/AjaxSearch.php’ for inclusion (include_path=’.:/usr/services/vux/lib/php’) in /data/12/1/136/35/1136687/user/1207121/htdocs/index-ajax.php on line 29

    I have highlighted the problem issue in bold as I can’t tell where this is getting messed up. If anyone can help, I would really appreciate it.

    I have tried hardcoding the $modx->config[’base_path’] to reflect the base_path to match the config.inc.php file in both the snippet call and the other portions of the AjaxSearch snippet with no difference.

    Please, help! The funny thing is with AjaxSearch off, it works fine!?