Just install xampp version 7 apache running on port 8000 MySQL running port 3306, phpmyadmin works, just created database, when I try run php website, just get "waiting for localhost" tried firefox too, same, nothing, any help please?
here is the opencart config.php less my connections
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost:8000');
define('DB_DATABASE', 'auctioneerslive');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
Gary
You messed up this line in the config define('DB_HOSTNAME', 'localhost:8000');
Your basically telling the script to connect to localhost:8000:3306
. Remove the :8000
part.
your config should look like this:
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_DATABASE', 'auctioneerslive');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
Thank you Radu Bogdan answer below
define('DB_USERNAME', 'root'); define('DB_PASSWORD', '');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.