This is what you get on the home page.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ’northatlroof.db.5721409.hostedresource.com’ (1)
Error type/ Nr.: Warning - 2
File: /home/content/n/o/a/noatlantaroof/html/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 89
Line 89 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0591 s
Total: 0.0591 s
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Failed to create the database connection! »
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0637 s
Total: 0.0637 s
« MODx Parse Error »
And it goes on and one.
I am able to log into the database via phpmysql and run queires, etc.
Also, backend is showing
Failed to create the database connection!
. Please run the MODx install utility
BIG PROBLEM - PLEASE HELP ME>...
-
☆ A M B ☆
- 24,524 Posts
Check your /manager/includes/config.inc.php file and make sure it has the correct server, database and other login information. You also might want to make sure it hasn’t had something nasty added to it, and once you’re sure it has the correct information change its permissions to read-only (444)