Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Strict Standards: Non-static method Configure::read() should not be called statically in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/basics.php on line 213
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/configure.php on line 156
Warning (2): mysqli_connect() [function.mysqli-connect]: (HY000/1203): User kinnshar_admin already has more than 'max_user_connections' active connections [CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 63]
mysqli_connect - [internal], line ??
DboMysqli::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 63
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2833
Model::__construct() - CORE/cake/libs/model/model.php, line 469
Rest::__construct() - APP/models/rest.php, line 8
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 493
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning (2): mysqli_get_server_info() expects parameter 1 to be mysqli, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 69]
mysqli_get_server_info - [internal], line ??
DboMysqli::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 69
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2833
Model::__construct() - CORE/cake/libs/model/model.php, line 469
Rest::__construct() - APP/models/rest.php, line 8
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 493
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning (2): mysqli_query() expects parameter 1 to be mysqli, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 109]
mysqli_query - [internal], line ??
DboMysqli::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 109
DboMysqlBase::setEncoding() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 249
DboMysqli::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 72
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2833
Model::__construct() - CORE/cake/libs/model/model.php, line 469
Rest::__construct() - APP/models/rest.php, line 8
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 493
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning (2): session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php:673) [APP/plugins/facebook/vendors/facebook/src/facebook.php, line 49]
session_start - [internal], line ??
Facebook::__construct() - APP/plugins/facebook/vendors/facebook/src/facebook.php, line 49
FB::__construct() - APP/plugins/facebook/libs/f_b.php, line 21
ConnectComponent::initialize() - APP/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning (2): session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php:673) [APP/plugins/facebook/vendors/facebook/src/facebook.php, line 49]
session_start - [internal], line ??
Facebook::__construct() - APP/plugins/facebook/vendors/facebook/src/facebook.php, line 49
FB::__construct() - APP/plugins/facebook/libs/f_b.php, line 21
ConnectComponent::initialize() - APP/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning (2): mysqli_errno() expects parameter 1 to be mysqli, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 208]
mysqli_errno - [internal], line ??
DboMysqli::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 208
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 257
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 823
Model::find() - CORE/cake/libs/model/model.php, line 2127
AppModel::find() - APP/app_model.php, line 184
AppController::fetchSettings() - APP/app_controller.php, line 530
AppController::beforeFilter() - APP/app_controller.php, line 73
RestsController::beforeFilter() - APP/controllers/rests_controller.php, line 16
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
[main] - APP/webroot/index.php, line 83
Warning (2): Invalid argument supplied for foreach() [APP/app_controller.php, line 532]
$settings_array = $this->Setting->find('all'); foreach($settings_array as $item)
$settings_array = false
AppController::fetchSettings() - APP/app_controller.php, line 532
AppController::beforeFilter() - APP/app_controller.php, line 73
RestsController::beforeFilter() - APP/controllers/rests_controller.php, line 16
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
[main] - APP/webroot/index.php, line 83
Warning: Illegal string offset 'file' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php on line 622
Warning (2): Cannot modify header information - headers already sent by (output started at /home/kinnshar/domains/kinnshare.com/public_html/dev/cake/libs/debugger.php:673) [CORE/cake/libs/controller/components/cookie.php, line 374]
setcookie - [internal], line ??
CookieComponent::__write() - CORE/cake/libs/controller/components/cookie.php, line 374
CookieComponent::write() - CORE/cake/libs/controller/components/cookie.php, line 219
AppController::_setLanguage() - APP/app_controller.php, line 251
AppController::beforeFilter() - APP/app_controller.php, line 105
RestsController::beforeFilter() - APP/controllers/rests_controller.php, line 16
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
[main] - APP/webroot/index.php, line 83
Warning (2): Invalid argument supplied for foreach() [APP/controllers/rests_controller.php, line 3020]
RestsController::_getComments() - APP/controllers/rests_controller.php, line 3020
RestsController::comments() - APP/controllers/rests_controller.php, line 3133
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (2): Invalid argument supplied for foreach() [APP/controllers/rests_controller.php, line 3051]
RestsController::_getComments() - APP/controllers/rests_controller.php, line 3051
RestsController::comments() - APP/controllers/rests_controller.php, line 3133
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
KinnShare: คอมเม้นต์ทั้งหมด
Warning (2): Illegal string offset 'language' [APP/app_helper.php, line 11]
AppHelper::url() - APP/app_helper.php, line 11
include - APP/views/layouts/default.ctp, line 51
View::_render() - CORE/cake/libs/view/view.php, line 731
View::renderLayout() - CORE/cake/libs/view/view.php, line 489
View::render() - CORE/cake/libs/view/view.php, line 435
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 83
This is the test environment server: dev.kinnshare.com
SELECT `Setting`.`id`, `Setting`.`key`, `Setting`.`value`, `Setting`.`description` FROM `settings` AS `Setting` WHERE 1 = 1
0
2
SELECT COUNT(*) AS `count` FROM `rests_comments` AS `RestsComment` LEFT JOIN rests AS `Rest` ON (`RestsComment`.`rest_id` = `Rest`.`id`) LEFT JOIN blds AS `Bld` ON (`Bld`.`id` = `Rest`.`bld_id`) LEFT JOIN `members` AS `Member` ON (`RestsComment`.`member_id` = `Member`.`id`) WHERE `RestsComment`.`active` = 1
0
3
SELECT `RestsComment`.`id`, `RestsComment`.`overall_rating`, `RestsComment`.`taste_rating`, `RestsComment`.`atmosphere_rating`, `RestsComment`.`price_rating`, `RestsComment`.`service_rating`, `RestsComment`.`subject`, `RestsComment`.`comment`, `RestsComment`.`visit_date`, `RestsComment`.`created`, `RestsComment`.`num_likes`, `RestsComment`.`order_in_rest`, `RestsComment`.`rest_id`, `RestsComment`.`owner_last_view`, `RestsComment`.`nonmember_id`, `RestsComment`.`nonmember_name`, `Member`.`id`, `Member`.`username`, `Member`.`unique_code`, `Member`.`avatar_file_name_s` FROM `rests_comments` AS `RestsComment` LEFT JOIN rests AS `Rest` ON (`RestsComment`.`rest_id` = `Rest`.`id`) LEFT JOIN blds AS `Bld` ON (`Bld`.`id` = `Rest`.`bld_id`) LEFT JOIN `members` AS `Member` ON (`RestsComment`.`member_id` = `Member`.`id`) WHERE `RestsComment`.`active` = 1 ORDER BY `RestsComment`.`num_likes` asc LIMIT 20
0
4
SELECT `Rest`.`id`, `Rest`.`nameTh`, `Rest`.`nameEn`, `Rest`.`branch_nameTh`, `Rest`.`branch_nameEn`, `Rest`.`tags`, `Rest`.`descriptionTh`, `Rest`.`descriptionEn`, `Rest`.`seo_url`, `Rest`.`full_text`, `Rest`.`st_addrTh`, `Rest`.`st_addrEn`, `Rest`.`directionTh`, `Rest`.`directionEn`, `Rest`.`th_province_id`, `Rest`.`country_id`, `Rest`.`lat`, `Rest`.`lng`, `Rest`.`bts_id`, `Rest`.`bts_minutes`, `Rest`.`mrt_id`, `Rest`.`mrt_minutes`, `Rest`.`tel`, `Rest`.`official_website`, `Rest`.`official_menu`, `Rest`.`facebook`, `Rest`.`hours`, `Rest`.`price_range_id`, `Rest`.`rest_chain_id`, `Rest`.`bld_id`, `Rest`.`bld_floor`, `Rest`.`bld_zone`, `Rest`.`in_bld_addrTh_orig`, `Rest`.`in_bld_addrTh`, `Rest`.`in_bld_addrEn`, `Rest`.`cur_overall_rating`, `Rest`.`num_overall_rating`, `Rest`.`cur_taste_rating`, `Rest`.`num_taste_rating`, `Rest`.`cur_atmosphere_rating`, `Rest`.`num_atmosphere_rating`, `Rest`.`cur_price_rating`, `Rest`.`num_price_rating`, `Rest`.`cur_service_rating`, `Rest`.`num_service_rating`, `Rest`.`bayesian_rating`, `Rest`.`is_our_member`, `Rest`.`from_owner`, `Rest`.`num_comments`, `Rest`.`num_kratoos`, `Rest`.`num_pics`, `Rest`.`num_external_reviews`, `Rest`.`active`, `Rest`.`moved_to_rest_id`, `Rest`.`added_by_member_id`, `Rest`.`created`, `Rest`.`modified`, `Rest`.`primary_rests_pic_id`, `Rest`.`primary_pic_by_admin`, `Rest`.`primary_rests_pic_thumb_m`, `Rest`.`admin_validated`, `Rest`.`cuisine_type_ids`, `Rest`.`rest_type_ids`, `Rest`.`rest_feature_ids`, `Rest`.`logo`, `Rest`.`logo_s`, `Rest`.`logo_thumb`, `Rest`.`logo_thumb_s`, (CONCAT(`Rest`.`nameTh`, " (", `Rest`.`nameEn`, ")")) AS `Rest__nameThEn`, `Bld`.`id`, `Bld`.`nameTh`, `Bld`.`nameEn`, `Bld`.`tags`, `Bld`.`descriptionTh`, `Bld`.`descriptionEn`, `Bld`.`seo_url`, `Bld`.`bld_type_id`, `Bld`.`st_addrTh`, `Bld`.`st_addrEn`, `Bld`.`directionTh`, `Bld`.`directionEn`, `Bld`.`th_province_id`, `Bld`.`country_id`, `Bld`.`lat`, `Bld`.`lng`, `Bld`.`bts_id`, `Bld`.`bts_minutes`, `Bld`.`mrt_id`, `Bld`.`mrt_minutes`, `Bld`.`tel`, `Bld`.`hours`, `Bld`.`official_website`, `Bld`.`official_directory`, `Bld`.`facebook`, `Bld`.`floors`, `Bld`.`zones`, `Bld`.`num_pics`, `Bld`.`num_rests`, `Bld`.`active`, `Bld`.`added_by_member_id`, `Bld`.`created`, `Bld`.`modified`, `Bld`.`primary_blds_pic_id`, `Bld`.`primary_pic_by_admin`, `Bld`.`primary_blds_pic_thumb_m`, `Bld`.`logo`, `Bld`.`logo_s`, `Bld`.`logo_thumb`, `Bld`.`logo_thumb_s`, `Bld`.`show_home_order`, (CONCAT(`Bld`.`nameTh`, " (", `Bld`.`nameEn`, ")")) AS `Bld__nameThEn`, `Bts`.`id`, `Bts`.`nameTh`, `Bts`.`nameEn`, (CONCAT("BTS-", `Bts`.`nameTh`)) AS `Bts__full_nameTh`, (CONCAT("BTS-", `Bts`.`nameEn`)) AS `Bts__full_nameEn`, `Mrt`.`id`, `Mrt`.`nameTh`, `Mrt`.`nameEn`, (CONCAT("MRT-", `Mrt`.`nameTh`)) AS `Mrt__full_nameTh`, (CONCAT("MRT-", `Mrt`.`nameEn`)) AS `Mrt__full_nameEn` FROM `rests` AS `Rest` LEFT JOIN `blds` AS `Bld` ON (`Rest`.`bld_id` = `Bld`.`id`) LEFT JOIN `btses` AS `Bts` ON (`Rest`.`bts_id` = `Bts`.`id`) LEFT JOIN `mrts` AS `Mrt` ON (`Rest`.`mrt_id` = `Mrt`.`id`) WHERE `Rest`.`id` IS NULL
0
5
SELECT `Bts`.`id`, `Bts`.`nameTh` FROM `btses` AS `Bts` WHERE 1 = 1 ORDER BY `id` ASC
0
6
SELECT `Mrt`.`id`, `Mrt`.`nameTh` FROM `mrts` AS `Mrt` WHERE 1 = 1 ORDER BY `id` ASC