1. in /home/sanhe/sanhewebsite/vendor/yiisoft/yii2/base/View.php at line 233
224225226227228229230231232233234235236237238239240241242
{ $viewFile = $requestedFile = Yii::getAlias($viewFile); if ($this->theme !== null) { $viewFile = $this->theme->applyTo($viewFile); } if (is_file($viewFile)) { $viewFile = FileHelper::localize($viewFile); } else { throw new ViewNotFoundException("The view file does not exist: $viewFile"); } $oldContext = $this->context; if ($context !== null) { $this->context = $context; } $output = ''; $this->_viewFiles[] = [ 'resolved' => $viewFile,
150151152153154155156157158159160161162
* @throws InvalidCallException if the view cannot be resolved. * @see renderFile() */ public function render($view, $params = [], $context = null) { $viewFile = $this->findViewFile($view, $context); return $this->renderFile($viewFile, $params, $context); }
3. in /home/sanhe/sanhewebsite/vendor/yiisoft/yii2/base/Controller.php at line 384 – yiibaseView::render()
378379380381382383384385386387388389390
* These parameters will not be available in the layout. * @return string the rendering result. * @throws InvalidArgumentException if the view file or the layout file does not exist. */ public function render($view, $params = []) { $content = $this->getView()->render($view, $params, $this); return $this->renderContent($content); }
57585960616263646566676869
return $this->render('index',[ 'cateList'=>$cateList, ]); } public function actionList(){
5. frontendcontrollersZtxljkController::actionIndex()
6. in /home/sanhe/sanhewebsite/vendor/yiisoft/yii2/base/InlineAction.php at line 57 – call_user_func_array()
515253545556575859
$args = $this->controller->bindActionParams($this, $params); Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } }
151152153154155156157158159160161162163
} $result = null; if ($runAction && $this->beforeAction($action)) { $result = $action->runWithParams($params); $result = $this->afterAction($action, $result); foreach ($modules as $module) {
522523524525526527528529530531532533534
$parts = $this->createController($route); if (is_array($parts)) { list($controller, $actionID) = $parts; $oldController = Yii::$app->controller; Yii::$app->controller = $controller; $result = $controller->runAction($actionID, $params); if ($oldController !== null) { Yii::$app->controller = $oldController; } return $result; }
979899100101102103104105106107108109
$params = $this->catchAll; unset($params[0]); } try { Yii::debug("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } $response = $this->getResponse(); if ($result !== null) {
380381382383384385386387388389390391392
{ try { $this->state = self::STATE_BEFORE_REQUEST; $this->trigger(self::EVENT_BEFORE_REQUEST); $this->state = self::STATE_HANDLING_REQUEST; $response = $this->handleRequest($this->getRequest()); $this->state = self::STATE_AFTER_REQUEST; $this->trigger(self::EVENT_AFTER_REQUEST); $this->state = self::STATE_SENDING_RESPONSE; $response->send();
11121314151617
require __DIR__ . '/../../common/config/main.php', require __DIR__ . '/../../common/config/main-local.php', require __DIR__ . '/../config/main.php', require __DIR__ . '/../config/main-local.php' ); (new yiiwebApplication($config))->run();
Warning: touch(): Utime failed: Permission denied in /home/sanhe/sanhewebsite/vendor/yiisoft/yii2-debug/src/LogTarget.php on line 85
相关知识
Page not found
[参考]红枣酸奶的开发与研究.doc
2031 年移动健康 (mHealth) 应用市场范围及分析
2031 年骨骼和关节健康补品市场趋势分析
健康自我监测技术市场规模、分析、顶级参与者 2031
2031 年有机乳制品市场动态
2031 年美容饮料市场规模及增长展望
减肥药市场范围和分析 2024
肠道和消化健康成分市场趋势与分析 2031
2031 年果汁饮料市场的增长动力和范围
网址: View not Found – yii\base\ViewNotFoundException https://m.trfsz.com/newsview1286963.html