Banner
MODX Fails after Transfer to new CPanel Server
This is my site Written by Grant on June 30, 2014 – 10:29 am

Today I transferred a client from one CPANEL server to another – my new hosting provider provide a free CPANEL migration service, and it’s generally 100% successful – however sometimes small gotchas appear, like today

 

I always test a new transfer by adjusting my HOSTS file to point the domain host name to the new IP address – if all I OK I then do the real DNS changes

When I hit the newly migrated client site today it showed an error:


Fatal error
:

Class 'PDO' not found in
/home/<sitename>/public_html/core/model/modx/modx.class.php on line 365

 

upon research I found a page at MODX Forums from netProphET that suggested:

Put the following two lines at the end of your php.ini:

extension=pdo.so
extension=pdo_mysql.so

 

This fixed my issue and the site came up again!

Leave a Reply

PLEASE COMPLETE THIS CAPTCHA QUESTION *