Notice (8) : compact() [function.compact ]: Undefined variable: etagMatches [CORE/src/Network/Response.php , line 1259 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' );
$request = object(Cake\Network\Request) {
params => [
'plugin' => null,
'controller' => 'Policy',
'action' => 'favicon.ico',
'_ext' => null,
'pass' => [[maximum depth reached]],
'_matchedRoute' => '/:controller/:action/*',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'policy/favicon.ico'
base => ''
webroot => '/'
here => '/policy/favicon.ico'
trustProxy => false
[protected] _environment => [
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'www.jyuku-sma.com',
'HTTP_X_REAL_IP' => '3.138.141.202',
'HTTP_LISTEN_IPADDR' => '49.212.243.104',
'HTTP_VIA' => '1.0 ss230.guard.sakura.ne.jp:80 (EG Secure Solutions/siteguard_http_01/630-0/ss230.guard.sakura.ne.',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'PATH' => '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.jyuku-sma.com',
'SERVER_ADDR' => '100.64.0.46',
'SERVER_PORT' => '80',
'REMOTE_HOST' => 'ec2-3-138-141-202.us-east-2.compute.amazonaws.com',
'REMOTE_ADDR' => '3.138.141.202',
'DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/home/jyuku-sma/www/old.www.jyuku-sma.com/webroot/index.php',
'REMOTE_PORT' => '0',
'REDIRECT_URL' => '/webroot/policy/favicon.ico',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/policy/favicon.ico',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1714691841.6051,
'REQUEST_TIME' => (int) 1714691841,
'argv' => [[maximum depth reached]],
'argc' => (int) 0,
'LOGNAME' => 'root',
'PERIODIC_ANTICONGESTION_FILE' => '/tmp/periodic.anticongestion.KpyFP5QNrc',
'FTP_PASSIVE_MODE' => 'YES',
'OLDPWD' => '/root',
'PWD' => '/home/rs/users',
'USER' => 'jyuku-sma',
'HOME' => '/root',
'host' => 'www3594.sakura.ne.jp',
'PERIODIC' => 'daily',
'PHPRC' => '/home/jyuku-sma/www',
'SHELL' => '/bin/sh',
'RC_PID' => '32846',
'BLOCKSIZE' => 'K',
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {}
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Network\Response::checkNotModified() - CORE/src/Network/Response.php, line 1259
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 325
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 421
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 386
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 602
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 327
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 194
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 144
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 180
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 164
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: timeMatches [CORE/src/Network/Response.php , line 1259 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' );
$request = object(Cake\Network\Request) {
params => [
'plugin' => null,
'controller' => 'Policy',
'action' => 'favicon.ico',
'_ext' => null,
'pass' => [[maximum depth reached]],
'_matchedRoute' => '/:controller/:action/*',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'policy/favicon.ico'
base => ''
webroot => '/'
here => '/policy/favicon.ico'
trustProxy => false
[protected] _environment => [
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'www.jyuku-sma.com',
'HTTP_X_REAL_IP' => '3.138.141.202',
'HTTP_LISTEN_IPADDR' => '49.212.243.104',
'HTTP_VIA' => '1.0 ss230.guard.sakura.ne.jp:80 (EG Secure Solutions/siteguard_http_01/630-0/ss230.guard.sakura.ne.',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'PATH' => '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.jyuku-sma.com',
'SERVER_ADDR' => '100.64.0.46',
'SERVER_PORT' => '80',
'REMOTE_HOST' => 'ec2-3-138-141-202.us-east-2.compute.amazonaws.com',
'REMOTE_ADDR' => '3.138.141.202',
'DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/home/jyuku-sma/www/old.www.jyuku-sma.com/webroot/index.php',
'REMOTE_PORT' => '0',
'REDIRECT_URL' => '/webroot/policy/favicon.ico',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/policy/favicon.ico',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1714691841.6051,
'REQUEST_TIME' => (int) 1714691841,
'argv' => [[maximum depth reached]],
'argc' => (int) 0,
'LOGNAME' => 'root',
'PERIODIC_ANTICONGESTION_FILE' => '/tmp/periodic.anticongestion.KpyFP5QNrc',
'FTP_PASSIVE_MODE' => 'YES',
'OLDPWD' => '/root',
'PWD' => '/home/rs/users',
'USER' => 'jyuku-sma',
'HOME' => '/root',
'host' => 'www3594.sakura.ne.jp',
'PERIODIC' => 'daily',
'PHPRC' => '/home/jyuku-sma/www',
'SHELL' => '/bin/sh',
'RC_PID' => '32846',
'BLOCKSIZE' => 'K',
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null,
'HTTP_REFERER' => null
]
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {}
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Network\Response::checkNotModified() - CORE/src/Network/Response.php, line 1259
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 325
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 421
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 386
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 602
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 327
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 194
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 144
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 180
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 164
[main] - [internal], line ??
Error: Missing Method in PolicyController
The action favicon.ico is not defined in PolicyController
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
if ( $result instanceof Response ) {
return $result ;
}
$response = $controller -> invokeAction ();
if ( $response !== null && !( $response instanceof Response )) {
throw new LogicException ( 'Controller actions can only return Cake\Network\Response or null.' );
}
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if (isset( $request -> params [ 'return' ])) {
return $response ;
}
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
*/
public function dispatch ( Request $request , Response $response )
{
$actionDispatcher = new ActionDispatcher ( null , $this -> eventManager (), $this -> _filters );
$response = $actionDispatcher -> dispatch ( $request , $response );
if (isset( $request -> params [ 'return' ])) {
return $response -> body ();
}
/home/jyuku-sma/www/old.www.jyuku-sma.com/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
Request :: createFromGlobals (),
new Response ()
);
Error:
Create PolicyController::favicon.ico() in file: src/Controller/PolicyController.php.
<?php namespace App \ Controller ; use App \ Controller \ AppController ; class PolicyController extends AppController { public function favicon . ico () { } }
If you want to customize this error message, create
src/Template/Error/missing_action.ctp