Hello all
Am trying to set up an opencart store but once click next to go to the Configuration from the Pre-Installation screen i get the following error.
Warning: Use of undefined constant DB_DRIVER - assumed 'DB_DRIVER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.com/hm.domain.com/upload/install/controller/startup/database.php on line 19Warning: Use of undefined constant DB_HOSTNAME - assumed 'DB_HOSTNAME' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.com/hm.domain.com/upload/install/controller/startup/database.php on line 19Warning: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.com/hm.domain.com/upload/install/controller/startup/database.php on line 19Warning: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.com/hm.domain.com/upload/install/controller/startup/database.php on line 19Warning: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain.com/hm.domain.com/upload/install/controller/startup/database.php on line 19
Kindly assist
Regards
You need to post more information. OpenCart version, PHP version, etc. Make sure your config.php files are completely empty.
One or both config.php files might be empty or incomplete.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Are you running the install as a fresh install or as an upgrade?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Check your config.php files are zero in length and don't have any white space on BOM.
You will only get to the part that is giving you the error if they are not zero in size.
https://github.com/opencart/opencart/bl ... ase.php#L4
You will only get to the part that is giving you the error if they are not zero in size.
https://github.com/opencart/opencart/bl ... ase.php#L4
Who is online
Users browsing this forum: No registered users and 260 guests