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????
I have the error_log from the server with many many errors following this upgrade...
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.]
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.]
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
-
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
-
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