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

    I have an install of 0.9.5 beta 5 (rev 1805) - not sure if this is related to the beta or present in 0.9.2.1 as well.

    Firstly, you need to know:
    My modX install is at http://dev.andyshellam.eu/_alpha/ase_v62.
    The directory http://dev.andyshellam.eu/_alpha is password-protected by .htaccess, so only I have access to it, so this can’t be from a search engine or spider, or it’d be a 403 - plus dev.andyshellam.eu was only created in the last week.

    I’ve installed AWStats to monitor the statistics of the site for when it goes live, and have noticed a huge set of 404 errors (practically 1 per page hit.)

    The 404 is for a page called /_alpha/includes/session_keepalive.php, referred by http://dev.andyshellam.eu/_alpha/ase_v62/manager/
    Now, /_alpha/ase_v62/manager/includes/session_keepalive.php is the actual location of the file, but modX is skipping down 2 directories to find it, when it should be in the same directory.

    I’ve had a quick look through most of the files included from manager/index.php but cannot find a reference to session_keepalive.php.

    If this is a bug I’ll log it on the tracker but I’m not sure if it is.

    Has anyone else noticed this in the same or a previous install?
      Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

      modx Revolution 2.2.6
      Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

      Content-Managed Websites Built on MODX
      • 25663 MODX Staff
      • 12,272 Posts
      It’s called from manager/media/script/session.js... It’s intended to keep the manager session open so that you don’t loose edits when editing long documents. Perhaps the path needs to be revised... Jeff?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 22629
        • 194 Posts
        Cheers Ryan,

        Do you want me to log it on FS?
          Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

          modx Revolution 2.2.6
          Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

          Content-Managed Websites Built on MODX
          • 25663 MODX Staff
          • 12,272 Posts
          It likely should be ... and preferably accompanied with code that fixes it properly. Please! wink
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 22629
            • 194 Posts
            I’m on it grin
              Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

              modx Revolution 2.2.6
              Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

              Content-Managed Websites Built on MODX
              • 22629
              • 194 Posts
              Done. Have attached a replacement script.js in FS#619.

              Here’s the results (from Apache log file):

              Before edit (404 code + incorrect URL request):

              dev.andyshellam.eu 84.45.66.159 - andyshellam [28/Oct/2006:15:23:41 +0100] "GET /_alpha/includes/session_keepalive.php?rnd=1162045335562 HTTP/1.1" 404 359 "http://dev.andyshellam.eu/_alpha/ase_v62/manager/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0" 788 564


              After edit (302 code + correct URL request):

              dev.andyshellam.eu 84.45.66.159 - andyshellam [28/Oct/2006:15:23:44 +0100] "GET /_alpha/ase_v62/manager/includes/session_keepalive.php?rnd=1162045338828 HTTP/1.1" 302 - "http://dev.andyshellam.eu/_alpha/ase_v62/manager/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0" 821 399
                Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

                modx Revolution 2.2.6
                Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

                Content-Managed Websites Built on MODX
                • 10487 MODX Staff
                • 1,535 Posts
                Thanks Andy! smiley

                Fix committed to my personal branch in SVN as commit #1829, it will need merging with the main trunk for testing.
                  Garry Nutting
                  Senior Developer
                  MODX, LLC

                  Email: [email protected]
                  Twitter: @garryn
                  Web: modx.com