We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14795
    • 7 Posts
    Hi guys,

    On my website I have a table that shows a fixture and results:

    http://www.melbournedodgeball.com.au/season.php

    If you refresh the page a few times you’ll notice that the results keep appearing where they’re not supposed to, but then refresh again, and the page will look normal again. It appears that the actual html being returned on each refresh is different. Is this a problem with modx or something else?





    Cheers,

    Josh
      • 16702 ☆ A M B ☆
      • 536 Posts
      hi Josh,

      i refresh your page dozen times with last Chrome and FF, but I could not get error huh

      P.S. maybe is problem with internet connection ...load speed?
        palma non sine pulvere
        • 14795
        • 7 Posts
        Hey Kristallin,

        Thanks for taking the time to look. Hmm it’s prett annoying because I’m not sure exactly how to recreate the problem, but it usually happens at least 1 in 10 refreshes (I’m also using FF).

        This is the code that is supposed to be retreived:

        <td><a class="info" href="#">Results
        <div>
        <p>I'd Hit That: 7 vs G3n kr3w: 1</p>
        <p>Wolfpack: 6 vs Llama Llama Team: 6</p>
        <p>The Scurvy Scalliwags: 3 vs Playin' With Balls: 5</p>
        <p>Ya Mum!: 9 vs Filgore: 2</p>
        <table border="0">
        <tbody>
        </tbody>
        </table>
        </div>
        </a></td>
        


        and this is what I get instead:

        <td><a class="info" href="#">Results
        <div>
        <p>I'd Hit That: 7 vs G3n kr3w: 1</p>
        <p>Wolfpack: 6 vs Llama Llama Team: 6</p>
        <p>The Scurvy Scalliwags: 3 vs Playin' With Balls: 5</p>
        <p>Ya Mum!: 9 vs Filgore: 2</p>
        <table border="0">
        <tbody>
        </tbody>
        </table>
        </div>
        </a></td>



        I also seem to get the same problem when loading the page at work and uni sad
          • 16702 ☆ A M B ☆
          • 536 Posts
          now i have no more time to inspect the problem, but your code is not w3 valid:

          http://validator.w3.org/check?uri=http://www.melbournedodgeball.com.au/season.php&charset=(detect+automatically)&doctype=Inline&group=0
          it is possible to resolve the problem if you improve your output source code
            palma non sine pulvere
            • 14795
            • 7 Posts
            ahh that’s weird, I’ve just realised that the code I posted is exactly the same. But if I use Firebug to look at it, it shows this as the source instead:

            What it’s meant to be


            What it’s not meant to be
              • 16702 ☆ A M B ☆
              • 536 Posts
              tongue please edit title - [SLOVED]
                palma non sine pulvere
                • 32699 ☆ A M B ☆
                • 427 Posts
                I’m still seeing this issue, but the table code is pretty closed to trashed. There are multiple <tbody> in a single table. Pull the code out and put it into an editor which formats html so you can see it better, this may fix it -- permanently.
                  Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                  Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com