We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27384
    • 12 Posts
    Hi,
    We are encountering very odd problem,on a fairly regular basis resource pages keep disappearing huh For example www.mysite.com/landingpage.html will vanish, I was wondering if anyone had a possible fix for this. Thanks in advanced.
      • 28215
      • 4,149 Posts

      Note: If you’re posting about a bug, please state all of your Environment information in your post: Version of MODx, Traditional or Advanced distribution (for Revo), Server OS, Server Version, PHP Version, MySQL Version (client and server), is pdo_mysql installed, your Browser type and version, if you are using any opcode caching such as eAccelerator, APC, winCache, xCache, etc; any relevant errors in core/cache/logs/error.log, and any other environment data we should know. We can’t help you without that information.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 4841
        • 12 Posts
        The same keeps happening to me as well. The resources are there there inside the site tree in Manager, but to end users who go to the site, they appear as a blank page. This keeps happening randomly. If I Re-save or publish the affected resource, then it become visible to the world again.... until some random interval later, from a day to a week, suddenly the page is blank to users again.

        I am running MODx Revolution 2.0.4-pl2
        This is on a GoDaddy Linux environment.
        PHP 5.x
        MySQL 5.0
        This bug affects Firefox 3.6.8, Internet Explorer 8, and Chrome.

        Copy of error.log is attached.
          • 25663 MODX Staff
          • 12,272 Posts
          Upgrade to 2.0.6. It should fix it.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 34193
            • 330 Posts
            Have any of you set up any custom resource groups or ACL’s
              • 4841
              • 12 Posts
              The only Resource Group I have is "web", which I think was the default to begin with.

              I did add a "Moderators" group for users, because it was suggested by this tutorial, and I was playing with blog-like features:
              http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution#CreatingaBloginMODxRevolution-AddingaModeratorGroup

              "Moderators" contains my one single user.
                • 3749
                • 24,544 Posts
                If any user group is connected to a resource group and the Admin is not a member of the user group, the resources in the resource group will disappear for the admin.
                  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
                  • 4841
                  • 12 Posts
                  There is only one single user, and that is the admin user, and that user is a member of both groups.

                  The homepage on the site keeps randomly going blank every few days. It appears this way when not logged in, to the general public. As soon as I log into Manager and re-save it, without changing anything, then it’s visible again, until after some random interval, it once again goes blank.

                  I don’t see how it could be something affecting the admin user since it disappears to everyone, including the public.
                    • 3749
                    • 24,544 Posts
                    Agreed. From the error log, it looks like your MySQL server might periodically crashing or timing out. I assume the page isn’t actually being deleted, right?

                    If would help if you cleared the error log and checked it right after this happens to see if there is an error matched to that time.
                      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
                      • 4841
                      • 12 Posts
                      Heh. Probably an example of GoDaddy having problems. The SQL server is also hosted.

                      Thank you for the advice. I will give this a try. I’ll go ahead and clear the log, and have a look at it the next time this happens.