We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28870
    • 10 Posts
    I’m trying to install HyperFlexSearchForm on a site, but keep getting the following error:

    PHP error debug
    Error: fopen(/home/mysite/assets/snippets/HyperFlexSearchForm/snippet.HyperFlexSearchForm.autogenerated.php) [function.fopen]: failed to open stream: Permission denied
    Error type/ Nr.: Warning - 2


    I’ve done some digging and come up with the possibility that the server has fopen globally disabled. Is there something else that could cause this error, or is there a workaround for using fopen? Thanks!

    • Are you sure that the file is readable (644 or something along those lines)
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 28870
        • 10 Posts
        How would I check for that? Sorry if that’s a dumb question, but I’m not much of a programmer.
          • 28870
          • 10 Posts
          I did just find out that the host does have allow_url_fopen disabled. The note said something about using cUrl, but I’m trying to figure that one out.
            • 8471
            • 333 Posts
            Hi, but I have to copy the content of snippet.HyperFlexSearchForm.autogenerated.php inside HyperFelxSearchForm snippet in modx? Because now with the call [!HyperFlexSearchForm!] in the template I can’t see anything.
              Sorry for my bad English grin
              • 17855
              • 43 Posts
              I have converted from FlexSearchForm to HyperFlexSearchForm and am using it with Ultimate Tag Cloud

              It works with FlexSearchForm but not with HyperFlexSearchForm.....I am using HFSF Version: 3r2 or r3

              http://domain/search-results.html&FSF_search=searchterm

              Can anyone help.

              I need to use HFSF because I need to limit the search to a parent folder and it’s children. Is there a hack for the original version of FSF?

              Thanks !

                • 8894
                • 114 Posts
                Quote from: jimryder at Apr 28, 2008, 04:37 PM

                I need to use HFSF because I need to limit the search to a parent folder and it’s children. Is there a hack for the original version of FSF?
                Hello,

                I can’t help you with this snippet, but you can achieve what you want with AjaxSearch last version, which have a very good support.
                  • 17855
                  • 43 Posts
                  Thanks for the help but I reverted to an earlier version of HFSF - ver 2r4 and it works! very odd that it doesnt with the new version ;-)