We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Please post feedback and issues in this thread ... thanks!
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 23491 ☆ A M B ☆
      • 1,056 Posts
      When I am performing an upgrade, the installer reminds me to log out of any existing manager sessions.

      Only when I point my browser to /manager so I can logout, I get nasty PHP errors: (Carried over from 096 RC2)


      Warning: fopen(/home/user/public_html/manager/media/style//login.html) [function.fopen]: failed to open stream: No such file or directory in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 141

      Warning: filesize() [function.filesize]: stat failed for /home/user/public_html/manager/media/style//login.html in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 142

      Warning: fread(): supplied argument is not a valid stream resource in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 142

      Warning: fclose(): supplied argument is not a valid stream resource in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 143
        Mike Reid - www.pixelchutes.com
        MODx Ambassador / Contributor
        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
        ________________________________
        Where every pixel matters.
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: pixelchutes at Apr 24, 2007, 12:36 AM

        When I am performing an upgrade, the installer reminds me to log out of any existing manager sessions.

        Only when I point my browser to /manager so I can logout, I get nasty PHP errors: (Carried over from 096 RC2)


        Warning: fopen(/home/user/public_html/manager/media/style//login.html) [function.fopen]: failed to open stream: No such file or directory in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 141

        Warning: filesize() [function.filesize]: stat failed for /home/user/public_html/manager/media/style//login.html in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 142

        Warning: fread(): supplied argument is not a valid stream resource in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 142

        Warning: fclose(): supplied argument is not a valid stream resource in /home/user/public_html/manager/includes/accesscontrol.inc.php on line 143

        The verbiage needs to be changed. Manager sessions are now automatically logged out when an upgrade is taking place. Once you put the new files in place for the upgrade, we cannot ensure the manager will work until you run the upgrade installation. I don’t see any way around this until we have an installer than can move the files into place during the upgrade process.
          • 23491 ☆ A M B ☆
          • 1,056 Posts
          Thanks, Jason. That’s great to know logout is now automated, as this should help solve a lot of the upgrade-related anomalies...

          As for accessing /manager and the errors due to install files:
          ...what if /manager/index.php was overwritten with a bunk file/handler (introduce the actual index.php as index.ph_ or whatever) ...

          When accessing the interim /manager/index.php, it could simply redirect to /install, or output a message, etc.

          Then, in the final steps of install, remove the actual index.php, moving index.ph_ into its place. I think that might work...
            Mike Reid - www.pixelchutes.com
            MODx Ambassador / Contributor
            [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
            ________________________________
            Where every pixel matters.
            • 4295
            • 98 Posts
            Just a note to mention that the base URL problems that I submitted after installing 0.9.6 RC2 disappeared after upgrading to RC3 today. All my snippets are now finding the correct path and seem to work fine. I’m testing more closely now but wanted to give a big hearty ’Thanks!’ to the MODx team for the fixes in RC3.
              • 37550 ☆ A M B ☆
              • 711 Posts
              I thought I would test this out on one of my domains after install I get this error attached.

              Running on IIS.

                http://www.onesmarthost.co.uk
                UK MODX Hosting with love.
                • 23491 ☆ A M B ☆
                • 1,056 Posts
                Trying to upgrade to RC3, I get this during install :


                Checking if sessions are properly configured: Failed!

                ...is this new? How do I "properly configure sessions" ?

                Until I figure this out, I cannot move on with install! Help!

                EDIT: I even tried adding
                php_value session.auto_start on
                

                to my .htaccess in hopes that it would trigger something... no luck. I never had issues like this w/ RC1&2
                Clearing cookies didn’t help either...
                going to try restarting browser, and last-resort, the server sad

                Restarting the browser did it smiley

                Thanks andrazk... weird!
                  Mike Reid - www.pixelchutes.com
                  MODx Ambassador / Contributor
                  [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                  ________________________________
                  Where every pixel matters.
                  • 1511
                  • 144 Posts
                  It happened to me once or twice, when I was messing around with sessions.
                  Close the browser window, restart browser, delete cookie, run install from start. It worked for me.
                    • 10816
                    • 28 Posts
                    Hello,

                    Inside cache_sync.class.processor.php it seems that you are now using php glob() function, which is disable on some servers for security reasons.
                    On http://php.net/glob someone replace glob() by creating a new one called safe_glob().

                    Don’t you think it would be better to use this one?
                      • 37550 ☆ A M B ☆
                      • 711 Posts
                      Quote from: awardle at Apr 24, 2007, 02:22 PM

                      I thought I would test this out on one of my domains after install I get this error attached.

                      Running on IIS.



                      I’ve just deleted the DB and site files and re-installed I am now able to log into Manager not sure what the initial issue was though. :/
                        http://www.onesmarthost.co.uk
                        UK MODX Hosting with love.