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

    My hosting company upgraded my server from PHP 5.3 to PHP 5.4.29 last night and it's knocked my MODx site down... I think I am running modx-2.0.4-pl2 on the server - I can't tell for sure as I can't see the website or the Manager - I just get a 500 Error - A fatal application error has been encountered when I try and view the site / Manager.

    from chatting with hosting support they think the main issue is here in the server error log:

    PHP Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in /public_html/core/xpdo/xpdo.class.php on line 315

    Any ideas how to resolve this????
      • 8168
      • 1,118 Posts
      I have the error_log from the server with many many errors following this upgrade...
        • 22840
        • 1,572 Posts
        Can you do a upgrade ?
          • 8168
          • 1,118 Posts
          Paul - I would prefer not to as to not break anything in the site... but if that is the only way then think probs will have to... [ed. note: dubbs last edited this post 12 years, 2 months ago.]
            • 8168
            • 1,118 Posts
            Paul - how would I upgrade if I can't access the manager currently? Also from version 2.0.4-pl2 what would you suggest I upgrade to? I know there will be issues with this upgrade as I was running one of the first versions of Articles on this site - so this is bound to messed up by an upgrade as the method of how to run Articles has now changed hasnt it... what a mess! [ed. note: dubbs last edited this post 12 years, 2 months ago.]
              • 22840
              • 1,572 Posts
              I've never upgraded a site with Articles as I don't use it so can't really comment on that, for upgrading you don't need access to the admin as you go to /setup

              Only other thing I would suggest is moving it to a server with php5.3 or asking your host if the php version can be downgraded via the php.ini file, I know site 5 allow you to go back 2 php versions so that might be worth asking
                • 8168
                • 1,118 Posts
                Quote from: paulp at Jul 02, 2014, 07:26 AM
                I've never upgraded a site with Articles as I don't use it so can't really comment on that, for upgrading you don't need access to the admin as you go to /setup

                Only other thing I would suggest is moving it to a server with php5.3 or asking your host if the php version can be downgraded via the php.ini file, I know site 5 allow you to go back 2 php versions so that might be worth asking

                Ok thanks. Cant' go back to 5.3 unfortunately - already asked the host UK2NET... Think its an upgrade and then fix the issues job... ohhh how I don't need that right now!
                  • 27708 MODX Staff
                  • 2,502 Posts
                  There were dozens, if not hundreds of bugs fixed between 2.0.4 and 2.2.14 (2.2.15 is coming out this week). This includes xPDO changes that IIRC was rewritten since 2.0.4. I am loathe to mention all the security fixes between there and now too. Some incredibly severe/critical.

                  I'd back up your files and sql from your filemanager, ssh or ftp and possibly install it locally, run a test upgrade ( you do not need manager access to run upgrade, btw) and see what falls apart. Chances are a few things here and there. [ed. note: smashingred last edited this post 12 years, 2 months ago.]
                    Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
                    • 8168
                    • 1,118 Posts
                    Quote from: smashingred at Jul 02, 2014, 07:48 AM
                    There were dozens, if not hundreds of bugs fixed between 2.0.4 and 2.2.14 (2.2.15 is coming out this week). This includes xPDO changes that IIRC was rewritten since 2.0.4. I am loathe to mention all the security fixes between there and now too. Some incredibly severe/critical.

                    I'd back up your files and sql from your filemanager, ssh or ftp and possibly install it locally, run a test upgrade ( you do not need manager access to run upgrade, btw) and see what falls apart. Chances are a few things here and there.

                    Thanks Jay - sounds like an upgrade is the most sensible thing - then to fix the inevitable bits that don't upgrade well... Thanks - best come up to date to 2.2.13 then yeh?
                      • 27708 MODX Staff
                      • 2,502 Posts
                      2.2.15 is coming out today. I'd go right to that as there minor security fixes and a few enhancements. 2.3 will be coming out on July 15th.
                        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub