We’re in process of migrating a site from Godaddy to A2 hosting. A2 migrated the site, files and database. The site produces a Site temporarily unavailable error as expected since A2 support doesn’ update the config files.
I updated all the paths in all three config files, cleared the cache, still getting the Site temporarily unavailable.
I compared the path statements with other A2 hosted Modx site I manage. the format is consistent.
I uploaded the setup file for this version of Modx to rerun the setup. This results in:
Fatal error : Uncaught → Smarty: Unable to load template ‘file:header.tpl’ ← thrown in /home/xxxxxxxx/public_html/core/model/smarty/sysplugins/smarty_internal_template.php on line 195
I also see this in the cache error log, followed by a half dozen additional errors.
[2019-11-10 11:46:30] (ERROR in xPDOConnection::connect @ /home/xxxxxxx/public_html/core/xpdo/xpdo.class.php : 3119) SQLSTATE[28000] [1045] Access denied for user ‘xxxxxxx_xxxxxxx’@‘xx.xx.xx.xx’ (using password: YES)
I tried creating a new database user with a new password, gave the user all privileges and updated the config file. No change.
I also tried rolling back the php version, but that had no effect.
Environment
Modx 2.7.2
Apache Version 2.4.41
PHP Version 7.2.24
MySQL Version 10.3.18-MariaDB-cll-lve
I’ve run out of ideas.