First off, I need to start with the fact that I cannot STAND GoDaddy... However, I had an old hosted account from 2002 on there and decided to use it as a dev playground to try some stuff out. I had a local site already function running on WAMP on a Windows machine. When I went to transfer the site to GoDaddy, I have yet, (3 days deep), been able to get it running. Here is what I have done:
- Created the Sub Domain (dev)
- Created the Database in MySQL
- Exported the database from my local MySQL
- Imported the previously exported database into the newly created database
- Placed the system folder in the webroot (due to GD being persnickity)
- Placed the rest of the site in the dev folder for the Sub Domain dev.domain.com
- Modified my index.php and admin.php files to reflect the new locations
Updated the database file to reflect the new information:
$db['expressionengine']['hostname'] = 'dbname.db.acct-number.hostedresource.com'; $db['expressionengine']['username'] = 'username'; $db['expressionengine']['password'] = 'password'; $db['expressionengine']['database'] = 'database';
However, I keep getting the following on admin and site:
An Error Was Encountered
Site Error: Unable to Load Site Preferences; No Preferences Found
So to verify I had the connection strings correct, I copied the dbtest.php file to the dev folder and ran it after changing the following fields:
$hostname = "dbname.db.acct-number.hostedresource.com";
$username = "username";
$password = "password";
$db_name = "database";
When I hit this page, I am given the following:
A connection was established to your database server
Your database was selected.
I am running out of ideas and GoDaddy support has yet to respond to a ticket from 3 days ago. I guess I am lost as to why dbtest hits fine, but the admin and site say a connection could not be established. (This is the message I receive when I turn on the debug to 1.
config.php
wasn't loaded. Please, check thesystem
path on the filesindex.php
andadmin.php