We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8071
    • 12 Posts
    NEW PROBLEM; MODx manager doesnt seem to log me in, scroll down for new problem please!
    ---

    Hello

    When I try to install MODx Revolution on my XAMPP server, I get these errors:
    Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in K:\xampp\htdocs\Scripting\Modx Revolution\setup\includes\modinstall.class.php on line 760
    
    Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in K:\xampp\htdocs\Scripting\Modx Revolution\setup\includes\modinstall.class.php on line 217
    
    Warning: Cannot modify header information - headers already sent by (output started at K:\xampp\htdocs\Scripting\Modx Revolution\setup\includes\modinstall.class.php:760) in K:\xampp\htdocs\Scripting\Modx Revolution\setup\includes\modinstallrequest.class.php on line 98


    The full setup worked quite well untill I click on ’next’ after the ’Connection Information’ page.

    I guess I’m the only one with the problem cause I couldn’t find topics liket his one on the forum.

    Greetings
      • 28215
      • 4,149 Posts
      In PHP 5.3+, you have to set date.timezone in your php.ini to not get that error:

      http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone

      See here for a list of values you can set:

      http://www.php.net/manual/en/timezones.php
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 8071
        • 12 Posts
        Hi,

        I just did this in my php.ini file:
        date.timezone = "Europe/Amsterdam"


        But I still get the errors... Please help me?

        Thanks
          • 28215
          • 4,149 Posts
          Quote from: Drodr at Aug 01, 2010, 02:51 PM

          Hi,

          I just did this in my php.ini file:
          date.timezone = "Europe/Amsterdam"

          But I still get the errors... Please help me?

          Thanks
          Don’t use quotes. and restart the server.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 8071
            • 12 Posts
            Hey, sorry for the quotes. Thanks for the solution, the install worked now. I just had to restart the server lol.

            But now when I try to log in to the manager, I can’t log in.
            When I use wrong password MODx says so, but when I use good password the session doesn’t seem to work.
            And I get no errors or something just a refreshed login page.
            When I go to my phpinfo() it says: Session Support: enabled.

            Strange... please help
              • 28215
              • 4,149 Posts
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 8071
                • 12 Posts
                Hi,
                First of all thank you for helping me so much and so fast.
                I just read the page. First I added the line php_value session.auto_start 0 to my .htaccess. That didn’t work.

                After that I read the other solution: The login page keeps redirecting me back to the login screen with no error.

                It seemed that I didn’t had any of these rows in my database (modx_system_settings table):
                session_name
                session_cookie_path
                session_cookie_domain
                So I couldn’t delete them.
                But I did delete the core/cache/config.cache.php file.
                Unfortunately that didn’t work either.

                I have restarted my apache a few times already, but I still don’t get in the manager embarrassed

                Really strange, I followed the faq but it still doesn’t work huh.

                  • 3749
                  • 24,544 Posts
                  One more place to look for ideas: http://bobsguides.com/modx-installation-faq.html
                    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