The framework is not happy: :-(
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

Stack Backtrace:


Function called: dperror_handler

File: /usr/www/users/karenn/class/mysql.class.php in Line Number: 44
Function called: mysql_connect

42.
43. private function connect(){
44. $dbconn = mysql_connect($this->server, $this->user, $this->password);
45. mysql_select_db($this->database, $dbconn);
46. if (!$dbconn){

File: /usr/www/users/karenn/class/mysql.class.php in Line Number: 63
Function called: connect From Class: mysql

61. //p($sql);
62. if (!$this->dbconn) {
63. $this->connect();
64. }
65. $rs=@mysql_query($sql, $this->dbconn);

File: /usr/www/users/karenn/class/mysql.class.php in Line Number: 166
Function called: query From Class: mysql

164. public function get_all($sql, $mode = MYSQL_ASSOC) {
165.
166. $res = $this->query($sql);
167.
168. if (!mysql_num_rows($res)) {

File: /usr/www/users/karenn/class/mysql.class.php in Line Number: 192
Function called: get_all From Class: mysql

190.
191. $sql="DESCRIBE $table";
192. $rows=$this->get_all($sql, MYSQL_ASSOC);
193.
194. if (!$rows){

File: /usr/www/users/karenn/class/model.class.php in Line Number: 112
Function called: get_table_structure From Class: mysql

110.
111. $structure = array();
112. $rows = $this->_mysql->get_table_structure($this->__table);
113.
114. if(is_array($rows)){

File: /usr/www/users/karenn/class/model.class.php in Line Number: 84
Function called: __get_structure From Class: model

82. $this->__table=$table;
83.
84. $this->structure=$this->__get_structure();
85. }
86.

File: /usr/www/users/karenn/class/controller_base.class.php in Line Number: 83
Function called: __construct From Class: model

81.
82. $model = $this->model.'_model';
83. $this->_model = new $model($this->model);
84. }
85.

File: /usr/www/users/karenn/bootstrap.php in Line Number: 25
Function called: __construct From Class: controller_base

23.
24. $params=array('name'=>'seo_uris');
25. $seo_uris_controller = new seo_uris_controller($params);
26.
27. $uri = $_SERVER['REQUEST_URI'];

File: /usr/www/users/karenn/index.php in Line Number: 8
Function called: require_once

6. Turn the sanity check on to see whether all is in place.
7. */
8. require_once('./bootstrap.php');

array(38) {
  ["USER"]=>
  string(6) "karenn"
  ["HOME"]=>
  string(16) "/usr/home/karenn"
  ["FCGI_ROLE"]=>
  string(9) "RESPONDER"
  ["REDIRECT_UNIQUE_ID"]=>
  string(24) "Wwhw98QWjhIAAECE9YkAAAAk"
  ["REDIRECT_STATUS"]=>
  string(3) "200"
  ["UNIQUE_ID"]=>
  string(24) "Wwhw98QWjhIAAECE9YkAAAAk"
  ["proxy-nokeepalive"]=>
  string(1) "1"
  ["HTTP_HOST"]=>
  string(19) "karenandbarry.co.za"
  ["HTTP_ACCEPT_ENCODING"]=>
  string(21) "x-gzip, gzip, deflate"
  ["HTTP_USER_AGENT"]=>
  string(39) "CCBot/2.0 (http://commoncrawl.org/faq/)"
  ["HTTP_ACCEPT"]=>
  string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
  ["HTTP_IF_MODIFIED_SINCE"]=>
  string(29) "Wed, 21 Feb 2018 21:04:22 GMT"
  ["PATH"]=>
  string(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  ["SERVER_SIGNATURE"]=>
  string(64) "
Apache Server at karenandbarry.co.za Port 80
" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(19) "karenandbarry.co.za" ["SERVER_ADDR"]=> string(13) "196.22.142.18" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(13) "54.158.194.80" ["DOCUMENT_ROOT"]=> string(21) "/usr/www/users/karenn" ["REQUEST_SCHEME"]=> string(4) "http" ["CONTEXT_PREFIX"]=> string(0) "" ["CONTEXT_DOCUMENT_ROOT"]=> string(21) "/usr/www/users/karenn" ["SERVER_ADMIN"]=> string(29) "webmaster@karenandbarry.co.za" ["SCRIPT_FILENAME"]=> string(31) "/usr/www/users/karenn/index.php" ["REMOTE_PORT"]=> string(5) "49546" ["REDIRECT_URL"]=> string(1) "/" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.0" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(0) "" ["REQUEST_URI"]=> string(1) "/" ["SCRIPT_NAME"]=> string(10) "/index.php" ["PHP_SELF"]=> string(10) "/index.php" ["REQUEST_TIME_FLOAT"]=> float(1527279863.0707) ["REQUEST_TIME"]=> int(1527279863) ["argv"]=> array(0) { } ["argc"]=> int(0) }
array(1) {
  ["__stack"]=>
  array(1) {
    ["urls"]=>
    array(0) {
    }
  }
}