Topic: Line 20 error after install
Driving me crazy, prob something simple. DB info imported, config.php looks like this:
define('JOBBERBASE_VERSION', '1.8');
// MySQL + misc settings for local environment
if ($_SERVER['SERVER_NAME'] == 'localhost')
{
define('DB_HOST', 'localhost');
define('DB_PORT', 3306);
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'jobberbase');
define('DB_PREFIX', '');
define('LOCATION', 'local');
define('ENVIRONMENT', 'dev');
}
// MySQL + misc settings for production environment
else
{
define('DB_HOST', 'mysql9.000webhost.com');
define('DB_PORT', 3306);
define('DB_USER', 'jobber');
define('DB_PASS', 'jobber1');
define('DB_NAME', 'jobber');
define('LOCATION', 'online');
define('DB_PREFIX', '');
define('ENVIRONMENT', 'prod');
}
define('APP_PATH',dirname(__FILE__).DIRECTORY_SEPARATOR);
I looked at others, just doesn't click w/ me. Any help/assistance would be apprecated. Error I get is here:
Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'jobber'@'10.0.0.25' (using password: YES) in /home/a4696660/public_html/_includes/class.Db.php on line 20
That's the first line.