Error: [1]
Uncaught Error: Call to undefined function mysql_connect() in /customers/4/0/9/uoms.org/httpd.www/sc/private/lib/scimitar.php:311 Stack trace: #0 /customers/4/0/9/uoms.org/httpd.www/sc/private/lib/scimitar.php(341): SC->dbExec('select f.id,f.p...') #1 /customers/4/0/9/uoms.org/httpd.www/private/.pub/forum/index_en.php(240): SC->query('select f.id,f.p...') #2 /customers/4/0/9/uoms.org/httpd.www/index.php(7): require_once('/customers/4/0/...') #3 {main} thrown
/customers/4/0/9/uoms.org/httpd.www/sc/private/lib/scimitar.php:311

301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321

   public function haveUserAccess($a,$uid,$c=false,$o=false) { return $uid==$this->uid? true : $this->haveAccess($a,$c,$o); }

   public function accessPage($a,$c=false,$o=false) { if(!$this->haveAccess($a,$c,$o)) $this->error(); }

   public function ajax($m,$p,$n) { return $this->url_base.'public/ajax/'.($m? $m.'_' : '').($p? $p.'_' : '').$n.'_'.$this->lang.'.php'; }

   public function table($table) { return 'sc_'.$this->prefix.$table; }

   public function &dbExec($query) {
      if(self::$db===false && (!(self::$db=mysql_connect($this->mysql_host,$this->mysql_usr,$this->mysql_pwd)) ||
         !mysql_select_db($this->mysql_db,self::$db))) die($this->txt['db_err_connect']);
      $result = mysql_query($query,self::$db);
      return $result;
   }

   public function insertId() { return mysql_insert_id(self::$db); }

   /** Make a database SQL-query.
    * @param $query The SQL-query to sent to database.
    * @param $values If set as an Array, the values are printed with sprintf into $query