syntax error, unexpected end of file
Error: The requested address '/maintenance' was not found on this server.
Warning (2): Use of undefined constant IS_MAINTENANCE - assumed 'IS_MAINTENANCE' (this will throw an Error in a future version of PHP) [APP/Controller/AppController.php, line 80]Code Context// メンテナンス
//
if (IS_MAINTENANCE && $_SERVER["REMOTE_ADDR"] !== '133.18.203.11') {
$admin = object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(CakeErrorController) {} [protected] _stopped => false }AppController::beforeFilter() - APP/Controller/AppController.php, line 80 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 160 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126 [main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/Controller/AppController.php, line 87]Code Context$this->redirect('/maintenance');
} else {
foreach($maintenanceUrl as $url) {
$admin = object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(CakeErrorController) {} [protected] _stopped => false } $requestUrl = '/maintenance' $maintenanceUrl = nullAppController::beforeFilter() - APP/Controller/AppController.php, line 87 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 160 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126 [main] - [internal], line ??
Warning (2): ini_set() [<a href='http://php.net/function.ini-set'>function.ini-set</a>]: Headers already sent. You cannot change the session module's ini settings at this time [CORE/Cake/Model/Datasource/CakeSession.php, line 581]Code Contextif (!empty($sessionConfig['ini']) && is_array($sessionConfig['ini'])) {
foreach ($sessionConfig['ini'] as $setting => $value) {
if (ini_set($setting, $value) === false) {
$sessionConfig = array( 'cookie' => 'CAKEPHP', 'timeout' => (int) 240, 'ini' => array( 'session.use_trans_sid' => (int) 0, 'session.cookie_path' => '/', 'session.cookie_lifetime' => (int) 14400, 'session.name' => 'CAKEPHP', 'session.gc_maxlifetime' => (int) 14400, 'session.cookie_httponly' => (int) 1 ), 'defaults' => 'php', 'cookieTimeout' => (int) 240, 'cacheLimiter' => 'must-revalidate' ) $defaults = array( 'cookie' => 'CAKEPHP', 'timeout' => (int) 240, 'ini' => array( 'session.use_trans_sid' => (int) 0, 'session.cookie_path' => '/' ) ) $value = (int) 0 $setting = 'session.use_trans_sid'ini_set - [internal], line ?? CakeSession::_configureSession() - CORE/Cake/Model/Datasource/CakeSession.php, line 581 CakeSession::_cookieName() - CORE/Cake/Model/Datasource/CakeSession.php, line 619 CakeSession::_hasSession() - CORE/Cake/Model/Datasource/CakeSession.php, line 632 CakeSession::check() - CORE/Cake/Model/Datasource/CakeSession.php, line 248 AuthComponent::user() - CORE/Cake/Controller/Component/AuthComponent.php, line 674 AppController::beforeFilter() - APP/Controller/AppController.php, line 98 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 160 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126 [main] - [internal], line ??
Notice (8): Undefined variable: cakeDescription [APP/View/Layouts/default.ctp, line 25]: ErrorsCodeContext<?php echo $this->Html->charset();?>
<title>
<?php echo $cakeDescription?>:
$viewFile = '/home/kazukitakada/internshipguide/app/View/Layouts/default.ctp' $dataForView = array( 'name' => 'syntax error, unexpected end of file', 'message' => 'syntax error, unexpected end of file', 'url' => '/maintenance', 'error' => object(ParseError) { [protected] message => 'syntax error, unexpected end of file' [protected] code => (int) 0 [protected] file => '/home/kazukitakada/internshipguide/app/Config/intern.php' [protected] line => (int) 2839 }, '_serialize' => array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ), 'content_for_layout' => '<h2>syntax error, unexpected end of file</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/maintenance'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Core/Configure.php line 329</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PhpReader->read(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$reader</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $values </span><span style="color: #007700">= </span><span style="color: #0000BB">$reader</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/Config/bootstrap.php line 272</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Configure::load(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3.endpoint'</span><span style="color: #007700">, </span><span style="color: #0000BB">getenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3_ENDPOINT'</span><span style="color: #007700">) ?: </span><span style="color: #DD0000">""</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'intern.php'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'scout.php'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Core/Configure.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">include(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">static::</span><span style="color: #0000BB">_setErrorHandlers</span><span style="color: #007700">(</span><span style="color: #0000BB">$error</span><span style="color: #007700">, </span><span style="color: #0000BB">$exception</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include </span><span style="color: #0000BB">CONFIG </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">__d</span><span style="color: #007700">(</span><span style="color: #DD0000">'cake_dev'</span><span style="color: #007700">,</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/bootstrap.php line 439</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Configure::bootstrap(boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">$boot</span><span style="color: #007700">) ? </span><span style="color: #0000BB">$boot </span><span style="color: #007700">: </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>true</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/webroot/index.php line 77</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">include(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">function_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'ini_set'</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib' </span><span style="color: #007700">. </span><span style="color: #0000BB">PATH_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #0000BB">ini_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include (</span><span style="color: #DD0000">'Cake' </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $failed </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $name = 'syntax error, unexpected end of file' $message = 'syntax error, unexpected end of file' $url = '/maintenance' $error = object(ParseError) { [protected] message => 'syntax error, unexpected end of file' [protected] code => (int) 0 [protected] file => '/home/kazukitakada/internshipguide/app/Config/intern.php' [protected] line => (int) 2839 } $_serialize = array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ) $content_for_layout = '<h2>syntax error, unexpected end of file</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/maintenance'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Core/Configure.php line 329</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PhpReader->read(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$reader</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $values </span><span style="color: #007700">= </span><span style="color: #0000BB">$reader</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/Config/bootstrap.php line 272</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Configure::load(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3.endpoint'</span><span style="color: #007700">, </span><span style="color: #0000BB">getenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3_ENDPOINT'</span><span style="color: #007700">) ?: </span><span style="color: #DD0000">""</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'intern.php'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'scout.php'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Core/Configure.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">include(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">static::</span><span style="color: #0000BB">_setErrorHandlers</span><span style="color: #007700">(</span><span style="color: #0000BB">$error</span><span style="color: #007700">, </span><span style="color: #0000BB">$exception</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include </span><span style="color: #0000BB">CONFIG </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">__d</span><span style="color: #007700">(</span><span style="color: #DD0000">'cake_dev'</span><span style="color: #007700">,</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/bootstrap.php line 439</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Configure::bootstrap(boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">$boot</span><span style="color: #007700">) ? </span><span style="color: #0000BB">$boot </span><span style="color: #007700">: </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>true</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/webroot/index.php line 77</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">include(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">function_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'ini_set'</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib' </span><span style="color: #007700">. </span><span style="color: #0000BB">PATH_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #0000BB">ini_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include (</span><span style="color: #DD0000">'Cake' </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $failed </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 25 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::render() - APP/Controller/AppController.php, line 67 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 318 ExceptionRenderer::error503() - CORE/Cake/Error/ExceptionRenderer.php, line 286 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 192 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: cakeDescription [APP/View/Layouts/default.ctp, line 42]CodeContext<div id="container">
<div id="header">
<h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org');?></h1>
$viewFile = '/home/kazukitakada/internshipguide/app/View/Layouts/default.ctp' $dataForView = array( 'name' => 'syntax error, unexpected end of file', 'message' => 'syntax error, unexpected end of file', 'url' => '/maintenance', 'error' => object(ParseError) { [protected] message => 'syntax error, unexpected end of file' [protected] code => (int) 0 [protected] file => '/home/kazukitakada/internshipguide/app/Config/intern.php' [protected] line => (int) 2839 }, '_serialize' => array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ), 'content_for_layout' => '<h2>syntax error, unexpected end of file</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/maintenance'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Core/Configure.php line 329</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PhpReader->read(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$reader</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $values </span><span style="color: #007700">= </span><span style="color: #0000BB">$reader</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/Config/bootstrap.php line 272</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Configure::load(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3.endpoint'</span><span style="color: #007700">, </span><span style="color: #0000BB">getenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3_ENDPOINT'</span><span style="color: #007700">) ?: </span><span style="color: #DD0000">""</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'intern.php'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'scout.php'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Core/Configure.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">include(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">static::</span><span style="color: #0000BB">_setErrorHandlers</span><span style="color: #007700">(</span><span style="color: #0000BB">$error</span><span style="color: #007700">, </span><span style="color: #0000BB">$exception</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include </span><span style="color: #0000BB">CONFIG </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">__d</span><span style="color: #007700">(</span><span style="color: #DD0000">'cake_dev'</span><span style="color: #007700">,</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/bootstrap.php line 439</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Configure::bootstrap(boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">$boot</span><span style="color: #007700">) ? </span><span style="color: #0000BB">$boot </span><span style="color: #007700">: </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>true</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/webroot/index.php line 77</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">include(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">function_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'ini_set'</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib' </span><span style="color: #007700">. </span><span style="color: #0000BB">PATH_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #0000BB">ini_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include (</span><span style="color: #DD0000">'Cake' </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $failed </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $name = 'syntax error, unexpected end of file' $message = 'syntax error, unexpected end of file' $url = '/maintenance' $error = object(ParseError) { [protected] message => 'syntax error, unexpected end of file' [protected] code => (int) 0 [protected] file => '/home/kazukitakada/internshipguide/app/Config/intern.php' [protected] line => (int) 2839 } $_serialize = array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ) $content_for_layout = '<h2>syntax error, unexpected end of file</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/maintenance'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Core/Configure.php line 329</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PhpReader->read(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$reader</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $values </span><span style="color: #007700">= </span><span style="color: #0000BB">$reader</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/Config/bootstrap.php line 272</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Configure::load(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3.endpoint'</span><span style="color: #007700">, </span><span style="color: #0000BB">getenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3_ENDPOINT'</span><span style="color: #007700">) ?: </span><span style="color: #DD0000">""</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'intern.php'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'scout.php'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Core/Configure.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">include(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">static::</span><span style="color: #0000BB">_setErrorHandlers</span><span style="color: #007700">(</span><span style="color: #0000BB">$error</span><span style="color: #007700">, </span><span style="color: #0000BB">$exception</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include </span><span style="color: #0000BB">CONFIG </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">__d</span><span style="color: #007700">(</span><span style="color: #DD0000">'cake_dev'</span><span style="color: #007700">,</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/bootstrap.php line 439</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Configure::bootstrap(boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">$boot</span><span style="color: #007700">) ? </span><span style="color: #0000BB">$boot </span><span style="color: #007700">: </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>true</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/webroot/index.php line 77</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">include(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">function_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'ini_set'</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib' </span><span style="color: #007700">. </span><span style="color: #0000BB">PATH_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #0000BB">ini_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include (</span><span style="color: #DD0000">'Cake' </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $failed </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 42 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::render() - APP/Controller/AppController.php, line 67 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 318 ExceptionRenderer::error503() - CORE/Cake/Error/ExceptionRenderer.php, line 286 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 192 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Error: The requested address '/maintenance' was not found on this server.
if (!$reader) {
return false;
}
$values = $reader->read($key);
'intern.php'
Configure::write('S3.endpoint', getenv('S3_ENDPOINT') ?: "");
//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');
Configure::load('intern.php');
Configure::load('scout.php');
'intern.php'
}
static::_setErrorHandlers($error, $exception);
if (!include CONFIG . 'bootstrap.php') {
trigger_error(__d('cake_dev',
'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'
}
Configure::bootstrap(isset($boot) ? $boot : true);
true
if (function_exists('ini_set')) {
ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
}
if (!include ('Cake' . DS . 'bootstrap.php')) {
$failed = true;
'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'
Notice (8): Undefined variable: cakeDescription [APP/View/Layouts/default.ctp, line 52]CodeContext<div id="footer">
<?php echo $this->Html->link(
$this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
$viewFile = '/home/kazukitakada/internshipguide/app/View/Layouts/default.ctp' $dataForView = array( 'name' => 'syntax error, unexpected end of file', 'message' => 'syntax error, unexpected end of file', 'url' => '/maintenance', 'error' => object(ParseError) { [protected] message => 'syntax error, unexpected end of file' [protected] code => (int) 0 [protected] file => '/home/kazukitakada/internshipguide/app/Config/intern.php' [protected] line => (int) 2839 }, '_serialize' => array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ), 'content_for_layout' => '<h2>syntax error, unexpected end of file</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/maintenance'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Core/Configure.php line 329</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PhpReader->read(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$reader</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $values </span><span style="color: #007700">= </span><span style="color: #0000BB">$reader</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/Config/bootstrap.php line 272</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Configure::load(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3.endpoint'</span><span style="color: #007700">, </span><span style="color: #0000BB">getenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3_ENDPOINT'</span><span style="color: #007700">) ?: </span><span style="color: #DD0000">""</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'intern.php'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'scout.php'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Core/Configure.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">include(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">static::</span><span style="color: #0000BB">_setErrorHandlers</span><span style="color: #007700">(</span><span style="color: #0000BB">$error</span><span style="color: #007700">, </span><span style="color: #0000BB">$exception</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include </span><span style="color: #0000BB">CONFIG </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">__d</span><span style="color: #007700">(</span><span style="color: #DD0000">'cake_dev'</span><span style="color: #007700">,</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/bootstrap.php line 439</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Configure::bootstrap(boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">$boot</span><span style="color: #007700">) ? </span><span style="color: #0000BB">$boot </span><span style="color: #007700">: </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>true</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/webroot/index.php line 77</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">include(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">function_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'ini_set'</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib' </span><span style="color: #007700">. </span><span style="color: #0000BB">PATH_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #0000BB">ini_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include (</span><span style="color: #DD0000">'Cake' </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $failed </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $name = 'syntax error, unexpected end of file' $message = 'syntax error, unexpected end of file' $url = '/maintenance' $error = object(ParseError) { [protected] message => 'syntax error, unexpected end of file' [protected] code => (int) 0 [protected] file => '/home/kazukitakada/internshipguide/app/Config/intern.php' [protected] line => (int) 2839 } $_serialize = array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ) $content_for_layout = '<h2>syntax error, unexpected end of file</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/maintenance'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Core/Configure.php line 329</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PhpReader->read(string)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$reader</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $values </span><span style="color: #007700">= </span><span style="color: #0000BB">$reader</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/Config/bootstrap.php line 272</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Configure::load(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3.endpoint'</span><span style="color: #007700">, </span><span style="color: #0000BB">getenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'S3_ENDPOINT'</span><span style="color: #007700">) ?: </span><span style="color: #DD0000">""</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">//Configure::write('App.imageBaseUrl', 'https://img.internshipguide.info/');</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'intern.php'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'scout.php'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'intern.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Core/Configure.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">include(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">static::</span><span style="color: #0000BB">_setErrorHandlers</span><span style="color: #007700">(</span><span style="color: #0000BB">$error</span><span style="color: #007700">, </span><span style="color: #0000BB">$exception</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include </span><span style="color: #0000BB">CONFIG </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">__d</span><span style="color: #007700">(</span><span style="color: #DD0000">'cake_dev'</span><span style="color: #007700">,</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/app/Config/bootstrap.php'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/bootstrap.php line 439</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Configure::bootstrap(boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">$boot</span><span style="color: #007700">) ? </span><span style="color: #0000BB">$boot </span><span style="color: #007700">: </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>true</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/webroot/index.php line 77</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">include(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">function_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'ini_set'</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib' </span><span style="color: #007700">. </span><span style="color: #0000BB">PATH_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #0000BB">ini_get</span><span style="color: #007700">(</span><span style="color: #DD0000">'include_path'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!include (</span><span style="color: #DD0000">'Cake' </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'bootstrap.php'</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $failed </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'/home/kazukitakada/internshipguide/lib/Cake/bootstrap.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 52 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::render() - APP/Controller/AppController.php, line 67 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 318 ExceptionRenderer::error503() - CORE/Cake/Error/ExceptionRenderer.php, line 286 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 192 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??