cakephp2-php8/app/views/errors/missing_controller.thtml
brego 38ddea527e Ok, this one is very big. Firstly, I've outsourced (:]) helper methods like linkTo etc into separate files, located in /libs/helpers/*.
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
2005-06-21 23:44:49 +00:00

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>