We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16861 ☆ A M B ☆
    • 86 Posts
    I know...GoDaddy is not the one to use, but in this case I have to. I have moved my files and set my db config, but now I have come across this error:

    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error:	include_once(assets/snippets/swfobject/swfobject.class.php) [function.include-once]: failed to open stream: No such file or directory	 
      Error type/ Nr.:	Warning - 2	 
      File:	/home/content/n/e/h/nehlsenten/html/manager/includes/document.parser.class.inc.php(769) : eval()'d code	 
      Line:	101
    


    I checked to make sure the swfobject file was there. I have also read that it could be a permissions thing and messed around with that and still am stuck with this error.

    Do you have any ideas what could be causing this?

    Thanks!
      Lee Brinckley
      Manassas, VA (Washington DC)
      Twitter - @leebrinckley
      http://www.leebrinckley.com
      • 16861 ☆ A M B ☆
      • 86 Posts
      It turned out to be quite simple which I expected. By moving to a Linux server, it was a case-sensitivity issue in the snippet.
        Lee Brinckley
        Manassas, VA (Washington DC)
        Twitter - @leebrinckley
        http://www.leebrinckley.com
        • 3749
        • 24,544 Posts
        Just to clarify, I think the issue was likely the case-sensitivity of *file name(s)*.

        Snippet names, parameters, and variable names are case-sensitive on any system.

        A good rule: All file names -- lower case, always.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 16861 ☆ A M B ☆
          • 86 Posts
          correct. it was a file name within the swfobject snippet.
            Lee Brinckley
            Manassas, VA (Washington DC)
            Twitter - @leebrinckley
            http://www.leebrinckley.com