Email: chanhpccc@gmail.com
Hotline: 0904332995
CÔNG TY TNHH TM VÀ DV
NA NA
  • Trang chủ
  • Warning (2): mysql_query() [function.mysql-query]: MySQL server has gone away [APP/app_controller.php, line 15]
    Code
        );
    
     function beforeFilter() {
    
           mysql_query("SET names utf8");
    
    mysql_query - [internal], line ??
    AppController::beforeFilter() - APP/app_controller.php, line 15
    Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
    Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
    Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
    Object::requestAction() - CORE/cake/libs/object.php, line 95
    include - APP/views/elements/menu_main.ctp, line 71
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/elements/header.ctp, line 32
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/layouts/home.ctp, line 6
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::renderLayout() - CORE/cake/libs/view/view.php, line 494
    View::render() - CORE/cake/libs/view/view.php, line 440
    Controller::render() - CORE/cake/libs/controller/controller.php, line 909
    Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
    Warning (2): mysql_query() [function.mysql-query]: Error reading result set's header [APP/app_controller.php, line 15]
    Code
        );
    
     function beforeFilter() {
    
           mysql_query("SET names utf8");
    
    mysql_query - [internal], line ??
    AppController::beforeFilter() - APP/app_controller.php, line 15
    Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
    Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
    Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
    Object::requestAction() - CORE/cake/libs/object.php, line 95
    include - APP/views/elements/menu_main.ctp, line 71
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/elements/header.ctp, line 32
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/layouts/home.ctp, line 6
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::renderLayout() - CORE/cake/libs/view/view.php, line 494
    View::render() - CORE/cake/libs/view/view.php, line 440
    Controller::render() - CORE/cake/libs/controller/controller.php, line 909
    Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
    Warning (512): SQL Error: 2006: MySQL server has gone away [CORE/cake/libs/model/datasources/dbo_source.php, line 685]
    Code | Context
    
            if ($this->error) {
                $this->showQuery($sql);
    $sql	=	"SELECT `Menu`.`id`, `Menu`.`parent_id`, `Menu`.`lft`, `Menu`.`rght`, `Menu`.`name`, `Menu`.`name_en`, `Menu`.`created`, `Menu`.`modified`, `Menu`.`status`, `Menu`.`order`, `Menu`.`vitri`, `Menu`.`link`, `Menu`.`alias`, `Menu`.`title`, `Menu`.`keywords`, `Menu`.`description`, `Menu`.`radio`, `Menu`.`catp_parent_id`, `Menu`.`cate_parent_id` FROM `menus` AS `Menu`   WHERE `Menu`.`status` = 1 AND `Menu`.`parent_id` = 6   ORDER BY `Menu`.`order` ASC "
    $error	=	"2006: MySQL server has gone away"
    $out	=	null
    DboSource::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::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 822
    Model::find() - CORE/cake/libs/model/model.php, line 2153
    CommentController::rootmenu() - APP/controllers/comment_controller.php, line 54
    Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
    Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
    Object::requestAction() - CORE/cake/libs/object.php, line 95
    include - APP/views/elements/menu_main.ctp, line 71
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/elements/header.ctp, line 32
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/layouts/home.ctp, line 6

    Query: SELECT `Menu`.`id`, `Menu`.`parent_id`, `Menu`.`lft`, `Menu`.`rght`, `Menu`.`name`, `Menu`.`name_en`, `Menu`.`created`, `Menu`.`modified`, `Menu`.`status`, `Menu`.`order`, `Menu`.`vitri`, `Menu`.`link`, `Menu`.`alias`, `Menu`.`title`, `Menu`.`keywords`, `Menu`.`description`, `Menu`.`radio`, `Menu`.`catp_parent_id`, `Menu`.`cate_parent_id` FROM `menus` AS `Menu` WHERE `Menu`.`status` = 1 AND `Menu`.`parent_id` = 6 ORDER BY `Menu`.`order` ASC

  • Giới thiệu
  • Warning (2): mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Connection refused [APP/config/routes.php, line 44]
    Code | 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/rootmenu/39"
    $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/elements/menu_main.ctp, line 41
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/elements/header.ctp, line 32
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::element() - CORE/cake/libs/view/view.php, line 397
    include - APP/views/layouts/home.ctp, line 6
    View::_render() - CORE/cake/libs/view/view.php, line 736
    View::renderLayout() - CORE/cake/libs/view/view.php, line 494
    View::render() - CORE/cake/libs/view/view.php, line 440
    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
    Kết nối cơ sở dữ liệu thất bại: Connection refused