We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40578
    • 10 Posts
    I'm getting PHP Warnings.

    PHP Warning: include(/hermes/bosweb26c/b2952/nf.pryconcustomhomescom/public_html/prycon/core/cache/includes/elements/modplugin/4.include.cache.php): failed to open stream: No such file or directory in /hermes/bosweb26c/b2952/nf.pryconcustomhomescom/public_html/prycon/core/model/modx/modscript.class.php on line 151

    Things I've figured out:
    When I'm logged into manager and then view my website I get no warnings at all.
    When I'm not logged into manager and view my website, that's when the warnings appear.
    The folder that this file (4.include.cache.php) is sitting in has permissions set to 755. The actual file is set to 644.

    Any idea why these warnings are occurring and how I could go about getting rid of them?
      • 40578
      • 10 Posts
      Oh.. and i'm in MODX Revolution 2.2.4-pl (traditional)
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Delete all of the folders inside of the core/cache/ folder. MODx will re-create what is needed. Hopefully that will clear up the problem.
          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
          • 10208 ☆ A M B ☆
          • 1,780 Posts
          Are you on Start Logic hosting?

            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster
            • 40578
            • 10 Posts
            That looks to have worked... But it only worked when I viewed the site without being logged into manager. If I clear out the cache folders, and then look at the site while being logged into manager, I end up with the same errors when I look at the site while not being logged in. But if I clear the cache folders and stay logged out of manager while looking at the site - then everything works properly...with no warnings.

            I'm with netfirms hosting, not start logic.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              What is the plugin?
                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
                • 40578
                • 10 Posts
                I'm not sure... how would I figure that out?
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Check the Elements tab in the Tree, and see which plugin is #4.
                    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
                    • 40578
                    • 10 Posts
                    It's GalleryCustomTV
                      • 10208 ☆ A M B ☆
                      • 1,780 Posts
                      that hermes/bobsweb path and error is EXACTLY the same box path that I ran into with Start Logic. Which means netfirms and startlogic are buying their server from the same guy. Hermes, or bob...

                      What's happened is this hermes/bobsweb path is no longer valid for the box, and was changed to hermes/bobweb, and likely now is hermes/bosoraweb. At least it was bosoraweb in Sept. Which is when I moved the site off the server because I was told this path has, could and would change without notice. That is unacceptable to me.

                      The packages will be looking for this path, so if you open package management and install one, you will likely see this path in the log again.
                        Frogabog- MODX Websites in Portland Oregon
                        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                        Having server issues? These guys have MODX Hosting perfected - SkyToaster