We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12147
    • 182 Posts
    This has happened to me a few times, and just to quell my anxiety level, maybe someone could explain?

    I update template and save. I load a page preview, and get a blank window saying "Site does not exist" (or "table_[site]-modx" does not exist, something along those lines). I gulp, restart browser (FF), load site URL, get blank page + "site does not exist", and gulp again.

    On 3rd (or whatever) reload, site does in fact exist - so what’s going on? Not a good feeling seeing those blank pages... shocked

    Thanks!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      A more accurate description, or perhaps even a copy/paste or screenshot, of the error would be helpful.
        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
        • 12147
        • 182 Posts
        Of course - will do next time it happens (although I can’t say I’m looking forward to it undecided)
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I know how it is; I’m always forgetting exactly what an error message said, especially when I’m off somewhere trying to get help on the matter. I’ve gotten into the habit of making screenshots; I even have a folder on my desktop for keeping them.
            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
            • 12147
            • 182 Posts
            That’s a good idea - thanks smiley

            Back as soon as disaster pseudo-befalls...
              • 12147
              • 182 Posts
              Just happened again...this is what appears in browser window: "Table ’gmhaincmodx.modx_site_content’ doesn’t exist"

              Since I was paying attention this time, I can say that I had updated my template a couple of times, adding a GetTime snippet (things were fine up to that point). I decided to give lastUpdate a try again, since I really want to show the date that any page on the site was updated. I fiddled a bit with the php (since I don’t want the page URL or the time displayed, just the date), saved, saved template, and got above message.

              Maybe I caused errors in the lastUpdate php, which caused the site error??

              I really don’t like seeing that message - makes me nervous any time I load the site URL undecided
                • 12147
                • 182 Posts
                I just tried adding lastUpdate snippet without any changes to template, and get same empty page/"no site exists" error, so that appears to be the cause - and yet no one else has had this problem?
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  I’m suspecting an overloaded server with the database not responding, so since it can’t access the database, you’re getting that error. Where are you hosted?

                    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
                    • 4041
                    • 788 Posts
                    This is also happening to me intermittingly on my modx2 alpha test site which is hosted at godaddy. Only difference is that I only have one page on the site, and it usually clears up after 2 or 3 refreshes or if I type www. in front of my domain name... very odd as it does this with and without friendly urls on.

                    Same server and all the 095 and 096 versions work perfectly.
                      xforum
                      http://frsbuilders.net (under construction) forum for evolution
                      • 12147
                      • 182 Posts
                      I’m suspecting an overloaded server with the database not responding, so since it can’t access the database, you’re getting that error. Where are you hosted?

                      DreamHost - it’s the only site in the whole account.

                      Funny it only happens (afaik) when I install lastUpdate, though?