It was truly beautiful, so much so the client said, “It is good, make it live!”
I installed Joomla on the client's new site: newInsuranceSite.com. I copied all the files and folders from the temp site to the live site. I emptied the database and imported the information from the temp's site database.
And the site works! It's still lovely. But apparently it's running on magic. (Obviously web fairy magic). The configuration.php was copied from the old site and has the old database referenced. And it works. I’m assuming the new site works with links to the old database because both sites are hosted by the same company (if this isn’t the answer, I refer you back to the fairy theory).
However, when I change the config file to match the new database, I get the error:
Database Error: Unable to connect to the database: Could not connect to MySQL.
I know the new site has the right info in the database, I’ve checked. I’ve double checked spelling.
I keep thinking, if it ain’t broke, don’t fix it. But, it just feels like bad practice.
Old (magically working) database info:
Code: Select all
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'secretar_jo151';
var $db = 'secretar_jo151';
var $dbprefix = 'jos_';
Code: Select all
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = ‘howardc_jo151';
var $db = ‘howardc_jo151';
var $dbprefix = 'jos_';
Thoughts? Ideas?
Thank you bunches in advance!