TableController::index() - APP/controllers/table_controller.php, line 43
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (2): implode() [function.implode]: Invalid arguments passed [APP/controllers/table_controller.php, line 46]
implode - [internal], line ??
TableController::index() - APP/controllers/table_controller.php, line 46
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 685]
$sql = "SELECT distinct members.mid FROM members NATURAL LEFT JOIN openhours WHERE ;"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
$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::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 288
Model::query() - CORE/cake/libs/model/model.php, line 2489
TableController::index() - APP/controllers/table_controller.php, line 47
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Query: SELECT distinct members.mid FROM members NATURAL LEFT JOIN openhours WHERE ;
Warning (2): implode() [function.implode]: Invalid arguments passed [APP/controllers/table_controller.php, line 52]
//ページ $sql = "SELECT distinct members.mid,name_full,addr1,tel,lat,lon FROM members NATURAL LEFT JOIN openhours WHERE ".implode(" AND ",$where)." ORDER BY name_kana,mid LIMIT 21 OFFSET ".(20*$offset).";";
implode - [internal], line ??
TableController::index() - APP/controllers/table_controller.php, line 52
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY name_kana,mid LIMIT 21 OFFSET 0' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 685]
$sql = "SELECT distinct members.mid,name_full,addr1,tel,lat,lon FROM members NATURAL LEFT JOIN openhours WHERE ORDER BY name_kana,mid LIMIT 21 OFFSET 0;"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY name_kana,mid LIMIT 21 OFFSET 0' at line 1"
$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::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 288
Model::query() - CORE/cake/libs/model/model.php, line 2489
TableController::index() - APP/controllers/table_controller.php, line 54
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86
Query: SELECT distinct members.mid,name_full,addr1,tel,lat,lon FROM members NATURAL LEFT JOIN openhours WHERE ORDER BY name_kana,mid LIMIT 21 OFFSET 0;