// DEA Karaoke Night Request System configuration
// Database
const DB_HOST = 'localhost';
const DB_NAME = 'cychosting2_deakaraoke';
const DB_USER = 'cychosting2_deakaraoke';
const DB_PASS = 'T@nd3m1980!';
const DB_CHARSET = 'utf8mb4';
// Site branding
const SITE_NAME = 'DEA Karaoke Night';
const SITE_TAGLINE = 'Request your song for the live stream';
const DJ_NAME = 'DJ D-Bone';
const PUBLIC_BASE_URL = 'https://deakaraoke.cychosting.ned';
// Admin login - CHANGE THIS PASSWORD
const ADMIN_USERNAME = 'admin';
const ADMIN_PASSWORD = 'T@nd3m1980!';
// VirtualDJ Ask forwarding
// Keep false until you confirm your personal VirtualDJ Ask POST URL/fields.
const VDJ_FORWARD_ENABLED = false;
const VDJ_ASK_URL = '';
// If your confirmed VirtualDJ form uses different field names, edit api/submit_request.php.
const VDJ_TIMEOUT_SECONDS = 8;
// Anti-spam
const REQUEST_COOLDOWN_SECONDS = 20;
const MAX_MESSAGE_LENGTH = 160;
Warning: Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php on line 8
Warning: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php on line 8
Warning: Use of undefined constant DB_CHARSET - assumed 'DB_CHARSET' (this will throw an Error in a future version of PHP) in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php on line 8
Warning: Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php on line 9
Warning: Use of undefined constant DB_PASS - assumed 'DB_PASS' (this will throw an Error in a future version of PHP) in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php on line 9
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2019] Unknown character set in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php:10
Stack trace:
#0 /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php(10): PDO->__construct('mysql:host=DB_H...', 'DB_USER', 'DB_PASS', Array)
#1 /home/cychosting2/public_html/deakaraoke.cychosting.net/api/latest_request.php(3): db()
#2 {main}
thrown in /home/cychosting2/public_html/deakaraoke.cychosting.net/config/db.php on line 10