We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 161
    • 13 Posts
    After logging into the MODx manager and clicking on a document, the “Page Data – Source" link does not show the page source. Can anyone point me to a fix for this?
      • 25663 MODX Staff
      • 12,272 Posts
      When making support requests, please make sure to provide information about your web server and your client machine:

      Web Server:

      • PHP version and how it’s running (suexec, mod_php, CGI, etc.)
      • Apache or IIS version
      • Operating System and version


      Database:

      • MySQL version
      • List of any tables over 1MB in size


      MODx:

      • Version
      • Any changes you’ve made
      • Any snippets you’re running on the page that is not working properly
      • Any plugins you’re running


      Browser/Client:

      • Browser name and version
      • Operating System and version


      This will go a long way towards being able to quickly resolve or duplicate and bugs as applicable, and should result in a better overall support experience.

      Further, if you’re seeing problems with snippets not seeming to work right, make sure you’re enclosing parameters in back-tics, not single-quotes. On US-English keyboards that’s the key typically found at the top-left of the number row: `

      Thanks!
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 161
        • 13 Posts
        Web Server
        PHP
        libapache2-mod-php5 5.2.4-2ubuntu5.6 K-O server-side, HTML-embedded scripting language (apache 2 module)
        php5-common 5.2.4-2ubuntu5.6 P-T Common files for packages built from the php5 source
        php5-gd 5.2.4-2ubuntu5.6 P-T GD module for php5
        php5-mcrypt 5.2.3-0ubuntu1 P-T MCrypt module for php5
        php5-mysql 5.2.4-2ubuntu5.6 P-T MySQL module for php5

        Apache version 2.2.8

        Ubuntu Linux 8.04.2

        Database

        MySQL version 5.0.51

        No tables over 1MD in the MODX database
          • 25663 MODX Staff
          • 12,272 Posts
          MODx info?
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 161
            • 13 Posts
            I did not install MODx, someone else did and then disappeared and left us hanging. So here’s the info to the best of my knowledge:

            MODx: Version 0.9.6.3
            Any changes you’ve made: None that I know of
            Any snippets you’re running on the page that is not working properly: None that I know of
            Any plugins you’re running: Quickedit?

            Browser/Client: IE6, IE7, Opera, Chrome, Firefox, we use them all
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Sounds like a similar issue to your other one, especially if the source is from cache (as seems most likely), the script has to be able to read the assets/cache directory.
                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
                • 161
                • 13 Posts
                That directory is being read. Source can be opened on some files but not on others. On some files it says "This document has not (yet) been cached." I don’t know how to make that happen.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  A document gets cached if it is set to be cacheable, and has been requested. If you want all of your cacheable documents to be in the cache, you need to log out of the manager and go through your site.

                  Editing a document will clear the cache (if it is set to do so), so once you edit a document then none of the rest of them will be in the cache until they’ve been requested by a non-Manager user.
                    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
                    • 33337
                    • 3,975 Posts
                    IOW, its a normal behavior.
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      I’ve never used that tab anyway; what do you use it for? I always go directly to the edit window for documents.
                        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