Deprecated
Stringmysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
File/var/www/html/colegioxingu.com.br/web/system/core/MySQL.php
Line32
Context
array(4) {
  ["host"]=>
  NULL
  ["user"]=>
  NULL
  ["pass"]=>
  NULL
  ["database"]=>
  NULL
}
Backtrace/var/www/html/colegioxingu.com.br/web/system/helpers/debug.php : 289
classfunctionfileline
mysql_connect/var/www/html/colegioxingu.com.br/web/system/core/MySQL.php32
MySQL::connect/var/www/html/colegioxingu.com.br/web/system/core/MySQL.php20
MySQL->__construct/var/www/html/colegioxingu.com.br/web/system/core/ORM.php15
ORM::retrieve/var/www/html/colegioxingu.com.br/web/application/controllers/main.php19
Main_Controller->index
call_user_func_array/var/www/html/colegioxingu.com.br/web/system/core/Core.php301
Kennel::controllerAction/var/www/html/colegioxingu.com.br/web/system/helpers/request.php386
request::process/var/www/html/colegioxingu.com.br/web/system/core/Core.php164
Kennel::init/var/www/html/colegioxingu.com.br/web/index.php18
Deprecated
StringNon-static method syntax::mysql() should not be called statically, assuming $this from incompatible context
File/var/www/html/colegioxingu.com.br/web/system/core/MySQL.php
Line65
Context
array(4) {
  ["sql"]=>
  string(954) "SELECT 
 `home_highlights`.`id` AS `home_highlights__id`, 
 `home_highlights`.`title` AS `home_highlights__title`, 
 `home_highlights`.`url` AS `home_highlights__url`, 
 `home_highlights`.`image_id` AS `home_highlights__image_id`, 
 `home_highlights`.`status` AS `home_highlights__status`, 
 `images`.`id` AS `images__id`, 
 `images`.`filename` AS `images__filename`, 
 `images`.`extension` AS `images__extension`, 
 `images`.`width` AS `images__width`, 
 `images`.`height` AS `images__height`, 
 `images`.`owner_model` AS `images__owner_model`, 
 `images`.`owner_id` AS `images__owner_id`, 
 `images`.`relationship_name` AS `images__relationship_name`, 
 `images`.`order` AS `images__order`, 
 `images`.`temp` AS `images__temp`, 
 `images`.`created` AS `images__created`
FROM 
 `home_highlights`
 LEFT JOIN images ON `home_highlights`.`image_id` = `images`.`id`
WHERE (
 `home_highlights`.`status` = "1"
)
ORDER BY 
 `home_highlights`.`id` DESC
LIMIT 5;"
  ["table"]=>
  object(XMLElement)#174 (5) {
    ["parent"]=>
    NULL
    ["children"]=>
    array(2) {
      [0]=>
      object(XMLElement)#153 (5) {
        ["parent"]=>
        *RECURSION*
        ["children"]=>
        array(1) {
          [0]=>
          object(XMLElement)#154 (5) {
            ["parent"]=>
            *RECURSION*
            ["children"]=>
            array(1) {
              [0]=>
              object(XMLText)#155 (2) {
                ["text"]=>
                string(27) "SQL query returned an error"
                ["parent"]=>
                *RECURSION*
              }
            }
            ["tagname"]=>
            string(2) "th"
            ["properties"]=>
            array(1) {
              ["colspan"]=>
              string(1) "2"
            }
            ["self_closing"]=>
            NULL
          }
        }
        ["tagname"]=>
        string(2) "tr"
        ["properties"]=>
        array(0) {
        }
        ["self_closing"]=>
        NULL
      }
      [1]=>
      object(XMLElement)#163 (5) {
        ["parent"]=>
        *RECURSION*
        ["children"]=>
        array(1) {
          [0]=>
          object(XMLElement)#175 (5) {
            ["parent"]=>
            *RECURSION*
            ["children"]=>
            array(1) {
              [0]=>
              object(XMLText)#176 (2) {
                ["text"]=>
                string(5) "query"
                ["parent"]=>
                *RECURSION*
              }
            }
            ["tagname"]=>
            string(2) "th"
            ["properties"]=>
            array(0) {
            }
            ["self_closing"]=>
            NULL
          }
        }
        ["tagname"]=>
        string(2) "tr"
        ["properties"]=>
        array(0) {
        }
        ["self_closing"]=>
        NULL
      }
    }
    ["tagname"]=>
    string(5) "table"
    ["properties"]=>
    array(1) {
      ["class"]=>
      string(12) "kennel-debug"
    }
    ["self_closing"]=>
    NULL
  }
  ["tr"]=>
  object(XMLElement)#163 (5) {
    ["parent"]=>
    object(XMLElement)#174 (5) {
      ["parent"]=>
      NULL
      ["children"]=>
      array(2) {
        [0]=>
        object(XMLElement)#153 (5) {
          ["parent"]=>
          *RECURSION*
          ["children"]=>
          array(1) {
            [0]=>
            object(XMLElement)#154 (5) {
              ["parent"]=>
              *RECURSION*
              ["children"]=>
              array(1) {
                [0]=>
                object(XMLText)#155 (2) {
                  ["text"]=>
                  string(27) "SQL query returned an error"
                  ["parent"]=>
                  *RECURSION*
                }
              }
              ["tagname"]=>
              string(2) "th"
              ["properties"]=>
              array(1) {
                ["colspan"]=>
                string(1) "2"
              }
              ["self_closing"]=>
              NULL
            }
          }
          ["tagname"]=>
          string(2) "tr"
          ["properties"]=>
          array(0) {
          }
          ["self_closing"]=>
          NULL
        }
        [1]=>
        *RECURSION*
      }
      ["tagname"]=>
      string(5) "table"
      ["properties"]=>
      array(1) {
        ["class"]=>
        string(12) "kennel-debug"
      }
      ["self_closing"]=>
      NULL
    }
    ["children"]=>
    array(1) {
      [0]=>
      object(XMLElement)#175 (5) {
        ["parent"]=>
        *RECURSION*
        ["children"]=>
        array(1) {
          [0]=>
          object(XMLText)#176 (2) {
            ["text"]=>
            string(5) "query"
            ["parent"]=>
            *RECURSION*
          }
        }
        ["tagname"]=>
        string(2) "th"
        ["properties"]=>
        array(0) {
        }
        ["self_closing"]=>
        NULL
      }
    }
    ["tagname"]=>
    string(2) "tr"
    ["properties"]=>
    array(0) {
    }
    ["self_closing"]=>
    NULL
  }
  ["th"]=>
  object(XMLElement)#175 (5) {
    ["parent"]=>
    object(XMLElement)#163 (5) {
      ["parent"]=>
      object(XMLElement)#174 (5) {
        ["parent"]=>
        NULL
        ["children"]=>
        array(2) {
          [0]=>
          object(XMLElement)#153 (5) {
            ["parent"]=>
            *RECURSION*
            ["children"]=>
            array(1) {
              [0]=>
              object(XMLElement)#154 (5) {
                ["parent"]=>
                *RECURSION*
                ["children"]=>
                array(1) {
                  [0]=>
                  object(XMLText)#155 (2) {
                    ["text"]=>
                    string(27) "SQL query returned an error"
                    ["parent"]=>
                    *RECURSION*
                  }
                }
                ["tagname"]=>
                string(2) "th"
                ["properties"]=>
                array(1) {
                  ["colspan"]=>
                  string(1) "2"
                }
                ["self_closing"]=>
                NULL
              }
            }
            ["tagname"]=>
            string(2) "tr"
            ["properties"]=>
            array(0) {
            }
            ["self_closing"]=>
            NULL
          }
          [1]=>
          *RECURSION*
        }
        ["tagname"]=>
        string(5) "table"
        ["properties"]=>
        array(1) {
          ["class"]=>
          string(12) "kennel-debug"
        }
        ["self_closing"]=>
        NULL
      }
      ["children"]=>
      array(1) {
        [0]=>
        *RECURSION*
      }
      ["tagname"]=>
      string(2) "tr"
      ["properties"]=>
      array(0) {
      }
      ["self_closing"]=>
      NULL
    }
    ["children"]=>
    array(1) {
      [0]=>
      object(XMLText)#176 (2) {
        ["text"]=>
        string(5) "query"
        ["parent"]=>
        *RECURSION*
      }
    }
    ["tagname"]=>
    string(2) "th"
    ["properties"]=>
    array(0) {
    }
    ["self_closing"]=>
    NULL
  }
}
Backtrace/var/www/html/colegioxingu.com.br/web/system/helpers/debug.php : 289
classfunctionfileline
MySQL->dumpError/var/www/html/colegioxingu.com.br/web/system/core/MySQL.php50
MySQL->query/var/www/html/colegioxingu.com.br/web/system/core/ORM.php26
ORM::retrieve/var/www/html/colegioxingu.com.br/web/application/controllers/main.php19
Main_Controller->index
call_user_func_array/var/www/html/colegioxingu.com.br/web/system/core/Core.php301
Kennel::controllerAction/var/www/html/colegioxingu.com.br/web/system/helpers/request.php386
request::process/var/www/html/colegioxingu.com.br/web/system/core/Core.php164
Kennel::init/var/www/html/colegioxingu.com.br/web/index.php18
SQL query returned an error
query
SELECT 
 `home_highlights`.`id` AS `home_highlights__id`, 
 `home_highlights`.`title` AS `home_highlights__title`, 
 `home_highlights`.`url` AS `home_highlights__url`, 
 `home_highlights`.`image_id` AS `home_highlights__image_id`, 
 `home_highlights`.`status` AS `home_highlights__status`, 
 `images`.`id` AS `images__id`, 
 `images`.`filename` AS `images__filename`, 
 `images`.`extension` AS `images__extension`, 
 `images`.`width` AS `images__width`, 
 `images`.`height` AS `images__height`, 
 `images`.`owner_model` AS `images__owner_model`, 
 `images`.`owner_id` AS `images__owner_id`, 
 `images`.`relationship_name` AS `images__relationship_name`, 
 `images`.`order` AS `images__order`, 
 `images`.`temp` AS `images__temp`, 
 `images`.`created` AS `images__created`
FROM 
 `home_highlights`
 LEFT JOIN images ON `home_highlights`.`image_id` = `images`.`id`
WHERE (
 `home_highlights`.`status` = "1"
)
ORDER BY 
 `home_highlights`.`id` DESC
LIMIT 5;
errorNo database selected
classMain_Controller
functionindex