mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
38ddea527e
I am not finished with copying methods out of template.php, but it will come - also data validation would not be a problem helpers inclusion happens in the Template::_render(). Also, there was a bug with error functions (as Controller::missingView) - on linux, calling $this->render('../errors/missingController'); rsulted in an error - beacouse apparently is_file() cannot work with '..'. I added a simple fix in Template::_getViewFn. I've also made some cleanups. Will continue to work tonight. git-svn-id: https://svn.cakephp.org/repo/trunk/cake@264 3807eeeb-6ff5-0310-8944-8be069107fe0
20 lines
562 B
Text
20 lines
562 B
Text
<h1>Missing controller</h1>
|
|
|
|
<p class="error">You are seeing this error because controller <em><?=$this->missingController;?></em>
|
|
could not be found.
|
|
</p>
|
|
|
|
<p>
|
|
<span class="notice"><strong>Notice:</strong> this error is being rendered by the <code>app/views/errors/missing_controller.thtml</code>
|
|
view file, a user-customizable error page for handling invalid controller dispatches.</span>
|
|
</p>
|
|
|
|
<p>
|
|
<strong>Fatal</strong>: Unable to load controller <em><?=$this->missingController;?></em>
|
|
</p>
|
|
|
|
|
|
<h2>Controller dump:</h2>
|
|
<pre>
|
|
<? print_r($this); ?>
|
|
</pre>
|