?? flea_exception_missingaction.php
字號(hào):
<?phprequire(dirname(__FILE__) . '/../_common/header.php');/* @var $ex FLEA_Exception_MissingAction */?><h1>請(qǐng)求的控制器 <strong><?php echo $ex->controllerName; ?></strong> 的動(dòng)作<strong><?php echo $ex->actionName; ?></strong> 沒(méi)有定義</h1><div class="error"><h2>詳細(xì)錯(cuò)誤原因:</h2>您請(qǐng)求訪問(wèn)控制器 <strong><?php echo $ex->controllerName; ?></strong>的動(dòng)作 <strong><?php echo $ex->actionName; ?></strong>。<br />但該控制器的類(lèi)定義文件<p><strong><?php __error_filelink($ex->controllerClassFilename); ?></strong></p>中沒(méi)有定義動(dòng)作 <strong><?php echo $ex->actionName; ?></strong>對(duì)應(yīng)的方法 <strong><?php echo $ex->actionMethod; ?></strong>。</div><p><?php dump($ex->arguments, '調(diào)用參數(shù)'); ?></p><div class="tip"><h2>解決:</h2>請(qǐng)檢查文件<p><strong><?php __error_filelink($ex->controllerClassFilename); ?></strong></p>中定義的 <strong><?php echo $ex->controllerClass; ?></strong> 類(lèi)是否編寫(xiě)了<strong><?php echo $ex->actionMethod; ?></strong> 方法。</div><?php$code = <<<EOT<?php// {$ex->controllerClassFilename}class {$ex->controllerClass} extends FLEA_Controller_Action{ function {$ex->actionMethod}() { }}EOT;__error_highlight_string($code);?><div class="track"><?php __error_dump_trace($ex); ?></div>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -