We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19604 ☆ A M B ☆
    • 179 Posts
    Hi,

    I have a strange problem with two different websites running MODx Revo 2.0.4-pl2 and 2.0.5-pl: The start page (id=1) "forgets" the value of "[ [publishedon] ]" from time to time. The field is just empty. I have not checked the actual MySQL value, because the problem does not occur so often (but often enough). This results in the disappearance of the whole website since MODx thinks, that the page has not yet been published and does not create any output. Just a white blank page. And this is funny, because ALL other pages work fine. It’s just the start pagee that are affected.

    Clearing the cache usualy helps, but only if you know that the page is "down" and revive it manualy. Since there is nothing, not even a menu, to be found on the blank page, the visitor has no chance to go to one of the existing other pages and leaves, tries again tomorrow, only the get the white page again, and NEVER comes back. And that sucks a lot.

    My two systems have on thing in common: the same webhoster. But why should that affect only the startpage (both id=1) and not the other pages? I am so confused.

    Has anybody a hint for me? I googled no similar cases and that realy frustrated me. Am I the only one having this problem. This sucks even more. Perhaps there is someone with a good idea for me. Is there?

    best
    Hans
      MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
      http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
      • 3749
      • 24,544 Posts
      Quote from: olih at Dec 14, 2010, 12:47 PM

      Hi,

      I have a strange problem with two different websites running MODx Revo 2.0.4-pl2 and 2.0.5-pl: The start page (id=1) "forgets" the value of "[ [publishedon] ]" from time to time. The field is just empty. I have not checked the actual MySQL value, because the problem does not occur so often (but often enough). This results in the disappearance of the whole website since MODx thinks, that the page has not yet been published and does not create any output. Just a white blank page. And this is funny, because ALL other pages work fine. It’s just the start pagee that are affected.

      Clearing the cache usualy helps, but only if you know that the page is "down" and revive it manualy. Since there is nothing, not even a menu, to be found on the blank page, the visitor has no chance to go to one of the existing other pages and leaves, tries again tomorrow, only the get the white page again, and NEVER comes back. And that sucks a lot.

      My two systems have on thing in common: the same webhoster. But why should that affect only the startpage (both id=1) and not the other pages? I am so confused.

      Has anybody a hint for me? I googled no similar cases and that realy frustrated me. Am I the only one having this problem. This sucks even more. Perhaps there is someone with a good idea for me. Is there?

      best
      Hans

      Does that page have any publish or unpublish dates? That’s the only thing I know of that will make MODx change the published status.

      Does the problem ever cure itself?

      When it happens, have you looked in the DB in the modx_site_content table to see if the published field has actually changed?

        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
        • 19604 ☆ A M B ☆
        • 179 Posts
        Hi Bob,

        thanks for your quick help!

        Quote from: BobRay at Dec 14, 2010, 02:56 PM

        Does that page have any publish or unpublish dates? That’s the only thing I know of that will make MODx change the published status.
        That was my first thought, too. But no, "publish date" and "unpublish date" are not set. They are empty.

        Quote from: BobRay at Dec 14, 2010, 02:56 PM

        Does the problem ever cure itself?
        Unfortunately, no. The problem stays until you clear the cache or fill in a reasonable value for "published". If I do not check the sites regularly they stay blank. And I look into angry faces. ;-(

        Quote from: BobRay at Dec 14, 2010, 02:56 PM

        When it happens, have you looked in the DB in the modx_site_content table to see if the published field has actually changed?
        I am waiting for this to happen. But the error does appear on a regular basis. So I cannot dig into MySQL to search for any clues. Too bad, since I am not so much a patient guy. ;-) I want to fix this thing and see my customers happy again.

        cya
        hans
          MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
          http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
          • 6228
          • 249 Posts
          This has happened to me twice already - on two distinct websites running 2.0.4-pl2. Clearing the cache remedied the problem on both cases, but I suspect it’s related to the same problem you’re describing in your thread.
            lo9on.com

            MODx Evolution/Revolution | Remote Desktop Training | Development
            • 19604 ☆ A M B ☆
            • 179 Posts
            Quote from: cyclissmo at Dec 15, 2010, 09:05 AM

            This has happened to me twice already - on two distinct websites running 2.0.4-pl2. Clearing the cache remedied the problem on both cases, but I suspect it’s related to the same problem you’re describing in your thread.

            The white ghost hit again! This time I got the chance to dig a little in the database and found: nothing! The date fields had the usual entries. The only thing I saw was that "created by" had the value "0" (not "1") which obviously means, that this page was created by MODx and not a user. Anyway, changing this value did not help. In fact, nothing of the DB manipulations helped.

            But: I opend the resource (the white startpage), change something (inserted a blank and removed it again) and hit "save". Since "cachable" and "empty cache" was set to "on" the cache was refreshed and *bamm* the site was back to normal!

            So, I dare to make a statement here: The problem is the cache!

            Some workarounds:
            1. disable the page cache (and see if it helps)
            2. disable the system cache (big thing for an error only on one page)
            3. change the "Expiration time for default cache" to get a clean cache after some time, e.g. 12 hours or so.

            I went for #3 and see what happens. On the other website I will do #1.

            Man, this is a realy annoying bug! I will file a bug report and hope the best.

            hans
              MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
              http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
              • 3749
              • 24,544 Posts
              Thanks for reporting your findings. Hopefully, we can figure out what the problem is and fix it in the core code if necessary.
                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
                • 19604 ☆ A M B ☆
                • 179 Posts
                We filed a bug report: http://bugs.modx.com/issues/3111

                best
                Hans
                  MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
                  http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
                  • 22303 MODX Staff
                  • 10,725 Posts
                  I cannot reproduce this on any sites that I have. I’m going to have to say this is related to a problematic Snippet or Plugin that is running on that Resource unless you can provide some other clue as to how this is happening.
                    • 19604 ☆ A M B ☆
                    • 179 Posts
                    Quote from: OpenGeek at Jan 11, 2011, 01:04 PM

                    I cannot reproduce this on any sites that I have. I’m going to have to say this is related to a problematic Snippet or Plugin that is running on that Resource unless you can provide some other clue as to how this is happening.

                    Hey, OpenGeek! SO GLAD you replied! Mayby we can hunt this bug down:

                    Attached is a snapshot of my "elements" (and "resources"): Besides TINY and wayfinder there is nothing installed. The "JW Player" runs on this site but not on the other 2 that are blanking as well, so JW does not seem to be causing this.

                    You can get youself a picture of the mess right here:
                    Start Page (BLANK): http://www.ellen.pandorafilm.com/
                    One subpage (OK): http://www.ellen.pandorafilm.com/stills.html

                    ALL SUBPAGES work fine, it’s only the start page that is blanked!

                    best
                    Oliver

                      MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
                      http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
                      • 5340
                      • 1,624 Posts
                      Looking through firebug there is nothing returned by this page
                      I also tried http://www.ellen.pandorafilm.com/index.php?id=1 without luck.

                      Can you disable the cache for the home page.

                      This problem might be similar to yours