Zenphoto Error

MySQL Error: The PHP MySQL extentions have not been installed. Please ask your administrator to add MySQL support to your PHP installation.

Warning: Use of undefined constant DEBUG - assumed 'DEBUG' (this will throw an Error in a future version of PHP) in /home/qnhs6skpzz17/domains/nigelevansphotographer.com/html/zp-core/functions.php on line 617

Backtrace:

   in db_connect (functions-db.php [69])
     in query (functions-db.php [116])
       in query_full_array (functions.php [78])
         in getOption (functions.php [36])
           in require_once (functions-db.php [5])
             in require_once (auth_zp.php [3])
               in require_once (classes.php [6])
                 in require_once (template-functions.php [10])
                   in require_once (index.php [8])