We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    To reiterate what I posted on the main alpha topic, I upgraded my MAMP to the latest 1.4.1 and it’s working great in php5 now.
      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
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      sad No go. Still no manager login on the upgrade site.
        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
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Quote from: sottwell at Dec 22, 2006, 12:31 AM

        sad No go. Still no manager login on the upgrade site.
        Finally occurred to me to delete the core/cache/config.cache.php file so it would have to re-write it from the database, and now it’s working fine.

        Well, almost fine... when the manager home page loads, it shows this error (although the welcome page still loads)

        Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/sites/sottwell.com/public_html/core/xpdo/om/modx095/modparser.class.php on line 280

        Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/sites/sottwell.com/public_html/core/xpdo/om/modx095/modparser.class.php
          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
          • 6726
          • 7,075 Posts
          Quote from: sottwell at Dec 22, 2006, 12:21 AM
          To reiterate what I posted on the main alpha topic, I upgraded my MAMP to the latest 1.4.1 and it’s working great in php5 now.

          Now you got me curious, I upgraded to 1.4.1 and it still doesn’t work with PHP5 sad
          I’ll double check...

          Is there anything you changed in your php.ini ??
            .: COO - Commerce Guys - Community Driven Innovation :.


            MODx est l'outil id
            • 26435
            • 1,193 Posts
            Susan, to build on what davidm asked, would you post your php.ini?
            Even if it is the default, I would like to compare it to mine.
            If you have time, a screen grab of MAMP’s phpinfo() would be awesome too.

            -sD-
              Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
              All of the above... in no specific order.


              I send pointless little messages
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Here you go...
                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
                • 26435
                • 1,193 Posts
                Thank you Susan grin

                -sD-
                  Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                  All of the above... in no specific order.


                  I send pointless little messages
                  • 6726
                  • 7,075 Posts
                  I’ll have a look too !
                  Thanks smiley

                  Edit : I tried to switch to PHP5 before trying to use Susan’s php.ini, and it...worked
                  I haven’t changed a thing. It’s weird. Or maybe when I switched to PHP4 something (session, config, whatever) was changed and when I switched back front and backend were working... huh
                    .: COO - Commerce Guys - Community Driven Innovation :.


                    MODx est l'outil id
                    • 30223
                    • 1,010 Posts
                    I must say I don’t understand half of what you’ve done Jason (but I’m sure I’ll get there in the end). Excellent work.

                    I did a fresh install on winXp sp2, mysql 5.0 and php 5.2.0 without PDO extension - All very smooth! Added the php PDO extension and again all seems to work as intended (possibly even smoother )

                    However, when I browsed through the demo pages I came across an anomaly in the Contact Us page. The page displayed and extra `]] at the top of the page. Have a look yourself. The page has 2 snippets, the old contactform and eForm. hen deleting the old contactform snippet the problem goes away.

                    After experimenting a bit I figured out that adding snippet calls to a page can produce unexpected results when saving as well:

                    [[snippetName? &param=`value`]] 

                    Saves fine.
                    [!snippetName? &param=`value`!]

                    Saves fine.

                    [[snippetName? &param=`value`]] 
                    [!snippetName? &param=`value`!] 


                    Saving not Ok.. ends up like last ] stripped i.e.:
                    [[snippetName? &param=`value`]] 
                    [!snippetName? &param=`value`! 




                      • 26435
                      • 1,193 Posts
                      I replaced my php.ini file with susan’s, since I had gone in and commented out and then uncommented several extensions and I lost track of which ones (frustration), and started MAMP in php5. It works now. I should add, it works GREAT now!

                      -sD-
                        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                        All of the above... in no specific order.


                        I send pointless little messages