PHP error - Constant DB_HOST already defined?
You're probably including config.php multiple times. Check all your scripts and find this duplicity. You can use require_once()
instead of require()
to prevent this.
Do either header.php or footer.php include config.php?
If so thats your problem.