Warning (2): mysqli_query() [function.mysqli-query]: MySQL server has gone away [APP/config/routes.php, line 58]Code | Context// Lưu các alias vào mảng session$sql1 = 'SELECT alias FROM catproducts';$result1 = mysqli_query($connection, $sql1);$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts"mysqli_query - [internal], line ?? include - APP/config/routes.php, line 58 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_query() [function.mysqli-query]: Error reading result set's header [APP/config/routes.php, line 58]Code | Context// Lưu các alias vào mảng session$sql1 = 'SELECT alias FROM catproducts';$result1 = mysqli_query($connection, $sql1);$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts"mysqli_query - [internal], line ?? include - APP/config/routes.php, line 58 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 60]Code | Context$result1 = mysqli_query($connection, $sql1);$i = 0;while ($aliascat = mysqli_fetch_assoc($result1)) {$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0mysqli_fetch_assoc - [internal], line ?? include - APP/config/routes.php, line 60 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 68]Code | Context$result2 = mysqli_query($connection, $sql2);$j = 0;while ($aliascate = mysqli_fetch_assoc($result2)) {$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0mysqli_fetch_assoc - [internal], line ?? include - APP/config/routes.php, line 68 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 76]Code | Context$result3 = mysqli_query($connection, $sql3);$x = 0;while ($aliasnew = mysqli_fetch_assoc($result3)) {$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0 $aliascate = null $sql3 = "SELECT alias FROM news" $result3 = false $x = 0mysqli_fetch_assoc - [internal], line ?? include - APP/config/routes.php, line 76 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 84]Code | Context$result4 = mysqli_query($connection, $sql4);$z = 0;while ($aliaspro = mysqli_fetch_assoc($result4)) {$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0 $aliascate = null $sql3 = "SELECT alias FROM news" $result3 = false $x = 0 $aliasnew = null $sql4 = "SELECT alias FROM products" $result4 = false $z = 0mysqli_fetch_assoc - [internal], line ?? include - APP/config/routes.php, line 84 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 90]Code | Context// Xóa kết quả khỏi bộ nhớmysqli_free_result($result1);$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0 $aliascate = null $sql3 = "SELECT alias FROM news" $result3 = false $x = 0 $aliasnew = null $sql4 = "SELECT alias FROM products" $result4 = false $z = 0 $aliaspro = nullmysqli_free_result - [internal], line ?? include - APP/config/routes.php, line 90 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 91]Code | Context// Xóa kết quả khỏi bộ nhớmysqli_free_result($result1);mysqli_free_result($result2);$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0 $aliascate = null $sql3 = "SELECT alias FROM news" $result3 = false $x = 0 $aliasnew = null $sql4 = "SELECT alias FROM products" $result4 = false $z = 0 $aliaspro = nullmysqli_free_result - [internal], line ?? include - APP/config/routes.php, line 91 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 92]Code | Contextmysqli_free_result($result1);mysqli_free_result($result2);mysqli_free_result($result3);$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0 $aliascate = null $sql3 = "SELECT alias FROM news" $result3 = false $x = 0 $aliasnew = null $sql4 = "SELECT alias FROM products" $result4 = false $z = 0 $aliaspro = nullmysqli_free_result - [internal], line ?? include - APP/config/routes.php, line 92 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given [APP/config/routes.php, line 93]Code | Contextmysqli_free_result($result2);mysqli_free_result($result3);mysqli_free_result($result4);$fromUrl = "comment/catn/535" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" ) $connection = mysqli mysqli::$affected_rows = NULL mysqli::$client_info = NULL mysqli::$client_version = NULL mysqli::$connect_errno = NULL mysqli::$connect_error = NULL mysqli::$errno = NULL mysqli::$error = NULL mysqli::$error_list = NULL mysqli::$field_count = NULL mysqli::$host_info = NULL mysqli::$info = NULL mysqli::$insert_id = NULL mysqli::$server_info = NULL mysqli::$server_version = NULL mysqli::$stat = NULL mysqli::$sqlstate = NULL mysqli::$protocol_version = NULL mysqli::$thread_id = NULL mysqli::$warning_count = NULL $sql1 = "SELECT alias FROM catproducts" $result1 = false $i = 0 $aliascat = null $sql2 = "SELECT alias FROM categories" $result2 = false $j = 0 $aliascate = null $sql3 = "SELECT alias FROM news" $result3 = false $x = 0 $aliasnew = null $sql4 = "SELECT alias FROM products" $result4 = false $z = 0 $aliaspro = nullmysqli_free_result - [internal], line ?? include - APP/config/routes.php, line 93 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Warning (2): Error while sending QUERY packet. PID=2096 [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613]Code | Context*/function _execute($sql) {return mysql_query($sql, $this->connection);$sql = "SHOW FULL COLUMNS FROM `users`"mysql_query - [internal], line ?? DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 254 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 411 DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 288 DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 125 Model::schema() - CORE/cake/libs/model/model.php, line 938 Model::setSource() - CORE/cake/libs/model/model.php, line 789 Model::__construct() - CORE/cake/libs/model/model.php, line 483 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431
Warning (512): SQL Error: 2006: MySQL server has gone away [CORE/cake/libs/model/datasources/dbo_source.php, line 685]Code | Contextif ($this->error) {$this->showQuery($sql);$sql = "SHOW FULL COLUMNS FROM `users`" $error = "2006: MySQL server has gone away" $out = nullDboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 685 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 267 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 411 DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 288 DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 125 Model::schema() - CORE/cake/libs/model/model.php, line 938 Model::setSource() - CORE/cake/libs/model/model.php, line 789 Model::__construct() - CORE/cake/libs/model/model.php, line 483 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431
Query: SHOW FULL COLUMNS FROM `users`
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 127]Code | Context$db->cacheSources = ($this->cacheSources && $db->cacheSources);if ($db->isInterfaceSupported('describe') && $this->useTable !== false) {$this->_schema = $db->describe($this, $field);$model = AppModel AppModel::$useDbConfig = "default" AppModel::$useTable = "users" AppModel::$displayField = NULL AppModel::$id = NULL AppModel::$data = array AppModel::$table = "users" AppModel::$primaryKey = "id" AppModel::$_schema = NULL AppModel::$validate = array AppModel::$validationErrors = array AppModel::$tablePrefix = "" AppModel::$name = "User" AppModel::$alias = "User" AppModel::$tableToModel = array AppModel::$logTransactions = false AppModel::$cacheQueries = false AppModel::$belongsTo = array AppModel::$hasOne = array AppModel::$hasMany = array AppModel::$hasAndBelongsToMany = array AppModel::$actsAs = NULL AppModel::$Behaviors = BehaviorCollection object AppModel::$whitelist = array AppModel::$cacheSources = true AppModel::$findQueryType = NULL AppModel::$recursive = 1 AppModel::$order = NULL AppModel::$virtualFields = array AppModel::$__associationKeys = array AppModel::$__associations = array AppModel::$__backAssociation = array AppModel::$__insertID = NULL AppModel::$__numRows = NULL AppModel::$__affectedRows = NULL AppModel::$__safeUpdateMode = false AppModel::$_findMethods = array $cache = null $fields = false $cols = falseDboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 127 Model::schema() - CORE/cake/libs/model/model.php, line 938 Model::setSource() - CORE/cake/libs/model/model.php, line 789 Model::__construct() - CORE/cake/libs/model/model.php, line 483 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 18 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80
Query: SHOW FULL COLUMNS FROM `users`
Query: SHOW FULL COLUMNS FROM `users`
Query: SHOW FULL COLUMNS FROM `users`
Query: SHOW FULL COLUMNS FROM `categories`
Query: SHOW FULL COLUMNS FROM `categories`
Query: SHOW FULL COLUMNS FROM `news`
Query: SHOW FULL COLUMNS FROM `menus`
Query: SHOW FULL COLUMNS FROM `menus`
Query: SHOW FULL COLUMNS FROM `menus`
Query: SHOW FULL COLUMNS FROM `menus`
Query: SHOW FULL COLUMNS FROM `infomations`
Query: SHOW FULL COLUMNS FROM `infomations`
Query: SHOW FULL COLUMNS FROM `infomations`
Query: SHOW FULL COLUMNS FROM `infomations`
Query: SHOW FULL COLUMNS FROM `galleries`
Query: SHOW FULL COLUMNS FROM `galleries`
Query: SHOW FULL COLUMNS FROM `galleries`
Query: SHOW FULL COLUMNS FROM `galleries`
Query: SHOW FULL COLUMNS FROM `albums`
Query: SHOW FULL COLUMNS FROM `albums`
Query: SHOW FULL COLUMNS FROM `albums`
Query: SHOW FULL COLUMNS FROM `albums`
Query: SHOW FULL COLUMNS FROM `banners`
Query: SHOW FULL COLUMNS FROM `banners`
Query: SHOW FULL COLUMNS FROM `banners`
Query: SHOW FULL COLUMNS FROM `banners`
Query: SHOW FULL COLUMNS FROM `helps`
Query: SHOW FULL COLUMNS FROM `helps`
Query: SHOW FULL COLUMNS FROM `helps`
Query: SHOW FULL COLUMNS FROM `helps`
Query: SHOW FULL COLUMNS FROM `settings`
Query: SHOW FULL COLUMNS FROM `settings`
Query: SHOW FULL COLUMNS FROM `settings`
Query: SHOW FULL COLUMNS FROM `settings`
Query: SHOW FULL COLUMNS FROM `videos`
Query: SHOW FULL COLUMNS FROM `videos`
Query: SHOW FULL COLUMNS FROM `videos`
Query: SHOW FULL COLUMNS FROM `videos`
Query: SHOW FULL COLUMNS FROM `slideshows`
Query: SHOW FULL COLUMNS FROM `slideshows`
Query: SHOW FULL COLUMNS FROM `slideshows`
Query: SHOW FULL COLUMNS FROM `slideshows`
Query: SHOW FULL COLUMNS FROM `partners`
Query: SHOW FULL COLUMNS FROM `partners`
Query: SHOW FULL COLUMNS FROM `partners`
Query: SHOW FULL COLUMNS FROM `partners`
Query: SHOW FULL COLUMNS FROM `advertisements`
Query: SHOW FULL COLUMNS FROM `advertisements`
Query: SHOW FULL COLUMNS FROM `advertisements`
Query: SHOW FULL COLUMNS FROM `advertisements`
Query: SHOW FULL COLUMNS FROM `weblinks`
Query: SHOW FULL COLUMNS FROM `weblinks`
Query: SHOW FULL COLUMNS FROM `weblinks`
Query: SHOW FULL COLUMNS FROM `weblinks`
Query: SHOW FULL COLUMNS FROM `manufacturers`
Query: SHOW FULL COLUMNS FROM `manufacturers`
Query: SHOW FULL COLUMNS FROM `manufacturers`
Query: SHOW FULL COLUMNS FROM `manufacturers`
Query: SHOW FULL COLUMNS FROM `brands`
Query: SHOW FULL COLUMNS FROM `brands`
Query: SHOW FULL COLUMNS FROM `weights`
Query: SHOW FULL COLUMNS FROM `weights`
Query: SHOW FULL COLUMNS FROM `weights`
Query: SHOW FULL COLUMNS FROM `weights`
Query: SELECT `Catproduct`.`id`, `Catproduct`.`parent_id`, `Catproduct`.`lft`, `Catproduct`.`rght`, `Catproduct`.`name`, `Catproduct`.`name_en`, `Catproduct`.`created`, `Catproduct`.`modified`, `Catproduct`.`status`, `Catproduct`.`char`, `Catproduct`.`images`, `Catproduct`.`alias`, `Catproduct`.`title_seo`, `Catproduct`.`meta_key`, `Catproduct`.`meta_des`, `Catproduct`.`show`, `Catproduct`.`content`, `Catproduct`.`img`, `ParentCat`.`id`, `ParentCat`.`parent_id`, `ParentCat`.`lft`, `ParentCat`.`rght`, `ParentCat`.`name`, `ParentCat`.`name_en`, `ParentCat`.`created`, `ParentCat`.`modified`, `ParentCat`.`status`, `ParentCat`.`char`, `ParentCat`.`images`, `ParentCat`.`alias`, `ParentCat`.`title_seo`, `ParentCat`.`meta_key`, `ParentCat`.`meta_des`, `ParentCat`.`show`, `ParentCat`.`content`, `ParentCat`.`img` FROM `catproducts` AS `Catproduct` LEFT JOIN `catproducts` AS `ParentCat` ON (`Catproduct`.`parent_id` = `ParentCat`.`id`) WHERE `Catproduct`.`id` = 535 LIMIT 1
TRUNG TÂM BÁO CHÁY 10 KÊNH
HÃNG SX: HOCHIKI
XUẤT XỨ: NHẬT BẢN
MODEL: RPS-AAW10 (JE)
Warning (2): mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): No such file or directory [APP/config/routes.php, line 44]Kết nối cơ sở dữ liệu thất bại: No such file or directoryCode | Context// Kết nối cơ sở dữ liệu sử dụng thông số cấu hình ở trên$connection = new mysqli($default['host'], $default['login'], $default['password'], $default['database']);$fromUrl = "comment/setting" $params = array( "form" => array() ) $namedExpressions = array( "Action" => "index|show|add|create|edit|update|remove|del|delete|view|item", "Year" => "[12][0-9]{3}", "Month" => "0[1-9]|1[012]", "Day" => "0[1-9]|[12][0-9]|3[01]", "ID" => "[0-9]+", "UUID" => "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" ) $Action = "index|show|add|create|edit|update|remove|del|delete|view|item" $Year = "[12][0-9]{3}" $Month = "0[1-9]|1[012]" $Day = "0[1-9]|[12][0-9]|3[01]" $ID = "[0-9]+" $UUID = "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" $default = array( "driver" => "mysql", "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "prefix" => "*****", "encoding" => "utf8" )mysqli::mysqli() - [internal], line ?? include - APP/config/routes.php, line 44 Dispatcher::parseParams() - CORE/cake/dispatcher.php, line 266 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 109 Object::requestAction() - CORE/cake/libs/object.php, line 95 include - APP/views/products/view.ctp, line 334 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 80