⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flea_exception_missingcontroller.php.svn-base

📁 php的通用框架
💻 SVN-BASE
字号:
<?phprequire(dirname(__FILE__) . '/../_common/header.php');/* @var $ex FLEA_Exception_MissingController */?><h1>请求的控制器 <strong><?php echo $ex->controllerName; ?></strong> 没有定义</h1><div class="error"><h2>详细错误原因:</h2>您请求访问控制器 <strong><?php echo $ex->controllerName; ?></strong>的动作 <strong><?php echo $ex->actionName; ?></strong>。<br />但控制器 <strong><?php echo $ex->controllerName; ?></strong>对应的类 <strong><?php echo $ex->controllerClass; ?></strong><?php if ($ex->controllerClassFilename): ?>在文件<p><strong><?php __error_filelink($ex->controllerClassFilename); ?></strong></p>中没有定义。<?php else: ?>没有定义。<?php endif; ?></div><p><?php dump($ex->arguments, '调用参数'); ?></p><div class="tip"><h2>解决:</h2><?phpif ($ex->controllerClassFilename): $controllerClassFilename = $ex->controllerClassFilename;?>请检查文件<p><strong><?php __error_filelink($ex->controllerClassFilename); ?></strong></p>中是否有 <strong><?php echo $ex->controllerClass; ?></strong> 类的定义。<?phpelse:$controllerClassFilename = FLEA::getFilePath($ex->controllerClass . '.php', true);?>请检查是否创建了 <strong><?php echo $ex->controllerClass; ?></strong> 类的定义文件:<p><strong><?php __error_filelink($controllerClassFilename); ?></strong></p><?php endif; ?></div><?php$code = <<<EOT<?php// {$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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -