$kind = null
$keyword = ''
$keywords = []
$opt = [
'AND' => [
(int) 0 => [
'grade' => 'Chugakujuken'
]
]
]
$sub_arr = [
'mathematics' => '算数',
'japanese' => '国語',
'science' => '理科',
'social' => '社会'
]
$searchresult = [
'mathematics' => [
'data' => object(SoftDelete\ORM\Query) {}
],
'japanese' => [
'data' => object(SoftDelete\ORM\Query) {}
],
'science' => [
'data' => object(SoftDelete\ORM\Query) {}
],
'social' => [
'data' => object(SoftDelete\ORM\Query) {}
]
]
$categories = [
'mathematics' => object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.created AS `Categories__created`, Categories.deleted AS `Categories__deleted`, Categories.grade AS `Categories__grade`, Categories.kind AS `Categories__kind`, Categories.title AS `Categories__title`, Categories.notes AS `Categories__notes` FROM categories Categories WHERE (kind = :c0 AND grade = :c1 AND Categories.deleted IS NULL)',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\CategoriesTable) {}
},
'japanese' => object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.created AS `Categories__created`, Categories.deleted AS `Categories__deleted`, Categories.grade AS `Categories__grade`, Categories.kind AS `Categories__kind`, Categories.title AS `Categories__title`, Categories.notes AS `Categories__notes` FROM categories Categories WHERE (kind = :c0 AND grade = :c1 AND Categories.deleted IS NULL)',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\CategoriesTable) {}
},
'science' => object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.created AS `Categories__created`, Categories.deleted AS `Categories__deleted`, Categories.grade AS `Categories__grade`, Categories.kind AS `Categories__kind`, Categories.title AS `Categories__title`, Categories.notes AS `Categories__notes` FROM categories Categories WHERE (kind = :c0 AND grade = :c1 AND Categories.deleted IS NULL)',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\CategoriesTable) {}
},
'social' => object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.created AS `Categories__created`, Categories.deleted AS `Categories__deleted`, Categories.grade AS `Categories__grade`, Categories.kind AS `Categories__kind`, Categories.title AS `Categories__title`, Categories.notes AS `Categories__notes` FROM categories Categories WHERE (kind = :c0 AND grade = :c1 AND Categories.deleted IS NULL)',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\CategoriesTable) {}
}
]
$wk_opt = [
'AND' => [
(int) 0 => [
'grade' => 'Chugakujuken'
],
(int) 1 => [
'kind' => 'social',
'parent_id IS' => null
]
]
]
$threads = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Bbs.id AS `Bbs__id`, Bbs.created AS `Bbs__created`, Bbs.modified AS `Bbs__modified`, Bbs.deleted AS `Bbs__deleted`, Bbs.parent_id AS `Bbs__parent_id`, Bbs.user_id AS `Bbs__user_id`, Bbs.category_id AS `Bbs__category_id`, Bbs.grade AS `Bbs__grade`, Bbs.kind AS `Bbs__kind`, Bbs.nickname AS `Bbs__nickname`, Bbs.subject AS `Bbs__subject`, Bbs.filepath AS `Bbs__filepath`, Bbs.good AS `Bbs__good`, Bbs.best AS `Bbs__best`, Bbs.content AS `Bbs__content` FROM bbs Bbs WHERE ((grade = :c0 AND (kind = :c1 AND (parent_id) IS NULL)) AND Bbs.deleted IS NULL) ORDER BY created DESC LIMIT 5',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Bbs__id' => 'integer',
'Bbs.id' => 'integer',
'id' => 'integer',
'Bbs__created' => 'datetime',
'Bbs.created' => 'datetime',
'created' => 'datetime',
'Bbs__modified' => 'datetime',
'Bbs.modified' => 'datetime',
'modified' => 'datetime',
'Bbs__deleted' => 'datetime',
'Bbs.deleted' => 'datetime',
'deleted' => 'datetime',
'Bbs__parent_id' => 'integer',
'Bbs.parent_id' => 'integer',
'parent_id' => 'integer',
'Bbs__user_id' => 'smallinteger',
'Bbs.user_id' => 'smallinteger',
'user_id' => 'smallinteger',
'Bbs__category_id' => 'smallinteger',
'Bbs.category_id' => 'smallinteger',
'category_id' => 'smallinteger',
'Bbs__grade' => 'string',
'Bbs.grade' => 'string',
'grade' => 'string',
'Bbs__kind' => 'string',
'Bbs.kind' => 'string',
'kind' => 'string',
'Bbs__nickname' => 'string',
'Bbs.nickname' => 'string',
'nickname' => 'string',
'Bbs__subject' => 'string',
'Bbs.subject' => 'string',
'subject' => 'string',
'Bbs__filepath' => 'string',
'Bbs.filepath' => 'string',
'filepath' => 'string',
'Bbs__good' => 'smallinteger',
'Bbs.good' => 'smallinteger',
'good' => 'smallinteger',
'Bbs__best' => 'tinyinteger',
'Bbs.best' => 'tinyinteger',
'best' => 'tinyinteger',
'Bbs__content' => 'text',
'Bbs.content' => 'text',
'content' => 'text'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\BbsTable) {}
}
$subval = '社会'
$subkey = 'social'
$cate = object(SoftDelete\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.created AS `Categories__created`, Categories.deleted AS `Categories__deleted`, Categories.grade AS `Categories__grade`, Categories.kind AS `Categories__kind`, Categories.title AS `Categories__title`, Categories.notes AS `Categories__notes` FROM categories Categories WHERE (kind = :c0 AND grade = :c1 AND Categories.deleted IS NULL)',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Categories__id' => 'smallinteger',
'Categories.id' => 'smallinteger',
'id' => 'smallinteger',
'Categories__created' => 'datetime',
'Categories.created' => 'datetime',
'created' => 'datetime',
'Categories__deleted' => 'datetime',
'Categories.deleted' => 'datetime',
'deleted' => 'datetime',
'Categories__grade' => 'string',
'Categories.grade' => 'string',
'grade' => 'string',
'Categories__kind' => 'string',
'Categories.kind' => 'string',
'kind' => 'string',
'Categories__title' => 'string',
'Categories.title' => 'string',
'title' => 'string',
'Categories__notes' => 'text',
'Categories.notes' => 'text',
'notes' => 'text',
'Bbs__id' => 'integer',
'Bbs.id' => 'integer',
'Bbs__created' => 'datetime',
'Bbs.created' => 'datetime',
'Bbs__modified' => 'datetime',
'Bbs.modified' => 'datetime',
'modified' => 'datetime',
'Bbs__deleted' => 'datetime',
'Bbs.deleted' => 'datetime',
'Bbs__parent_id' => 'integer',
'Bbs.parent_id' => 'integer',
'parent_id' => 'integer',
'Bbs__user_id' => 'smallinteger',
'Bbs.user_id' => 'smallinteger',
'user_id' => 'smallinteger',
'Bbs__category_id' => 'smallinteger',
'Bbs.category_id' => 'smallinteger',
'category_id' => 'smallinteger',
'Bbs__grade' => 'string',
'Bbs.grade' => 'string',
'Bbs__kind' => 'string',
'Bbs.kind' => 'string',
'Bbs__nickname' => 'string',
'Bbs.nickname' => 'string',
'nickname' => 'string',
'Bbs__subject' => 'string',
'Bbs.subject' => 'string',
'subject' => 'string',
'Bbs__filepath' => 'string',
'Bbs.filepath' => 'string',
'filepath' => 'string',
'Bbs__good' => 'smallinteger',
'Bbs.good' => 'smallinteger',
'good' => 'smallinteger',
'Bbs__best' => 'tinyinteger',
'Bbs.best' => 'tinyinteger',
'best' => 'tinyinteger',
'Bbs__content' => 'text',
'Bbs.content' => 'text',
'content' => 'text'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Bbs' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\CategoriesTable) {}
}
$entity = object(App\Model\Entity\Category) {
'[new]' => true,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Categories'
}
compact - [internal], line ??
App\Controller\ChugakujukenBbsController::index() - APP/Controller/ChugakujukenBbsController.php, line 142
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98
[main] - ROOT/webroot/index.php, line 37
compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 2066
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 344
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 353
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 330
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 114
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 777
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 2066
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 344
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 353
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 330
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 114
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 777
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Unable to emit headers. Headers sent in file=/home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 48]
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 148]
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 177]
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/juku-koushi/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 206]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 206
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 186
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 37
この問題どう指導しますか? | 中学受験コミュ | 塾講師コミュ
Warning (2): file_get_contents(/home/juku-koushi/www/logo.default.svg) [<a href='https://secure.php.net/function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: そのようなファイルまたはディレクトリはありません [APP/View/AppPublicView.php, line 178]
file_get_contents - [internal], line ??
App\View\AppPublicView::logo() - APP/View/AppPublicView.php, line 178
include - APP/Template/Layout/public.ctp, line 26
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::renderLayout() - CORE/src/View/View.php, line 850
Cake\View\View::render() - CORE/src/View/View.php, line 808
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98