"0 DB_ERROR_NOT_CONNECTED
in:
[select * from znc_project_version WHERE project_version_key = 'Zen-Cart Database' ]"

this is after I enabled the strict error reporting. I understand that its something to do with the database, but what and where and how are the questions I have. So far I have made sure that the config files (both of them) are pointing at the correct database. I don't know how to check for the database password. I didn't properly save or back-up before I upgraded as I found out after everything went crazy. I am with Bluehost and their control panel makes it seem as though all I needed to do to upgrade was a few clicks and voila-which was so not the case, ergo why I am here pleading for help.

I am not sure if the admin config file is correct neither. I feel like it could be something wrong with the following:

define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://localhost');
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', 'https://localhost');

and....

define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');

should I replace or add something here or is it suppose to be this way?