CException

ProductController 无法找到请求的视图 "travel_list_around".

/home/www/framework/web/CController.php(878)

866     {
867         if(($viewFile=$this->getViewFile($view))!==false)
868         {
869             $output=$this->renderFile($viewFile,$data,true);
870             if($processOutput)
871                 $output=$this->processOutput($output);
872             if($return)
873                 return $output;
874             else
875                 echo $output;
876         }
877         else
878             throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".',
879                 array('{controller}'=>get_class($this), '{view}'=>$view)));
880     }
881 
882     /**
883      * Renders a named clip with the supplied parameters.
884      * This is similar to directly accessing the {@link clips} property.
885      * The main difference is that it can take an array of named parameters
886      * which will replace the corresponding placeholders in the clip.
887      * @param string $name the name of the clip
888      * @param array $params an array of named parameters (name=>value) that should replace
889      * their corresponding placeholders in the clip
890      * @param boolean $return whether to return the clip content or echo it.

Stack Trace

#1
+
 /home/www/drly/protected/components/Controller.php(60): CController->render("travel_list_around", array("product" => array(1 => array(), 2 => array(), 3 => array(), 4 => array(), ...), "notes" => array(DestinationNotes, DestinationNotes, DestinationNotes)), false)
55             $mobile_view = 'm_'.$view;
56             if($this->getViewFile($mobile_view)){
57                 $view = $mobile_view;
58             }
59         }
60         return parent::render($view, $data, $return);
61     }
62 
63     /**
64      * 
65      * @param array $data
#2
+
 /home/www/drly/protected/modules/front/controllers/ProductController.php(95): Controller->render("travel_list_around", array("product" => array(1 => array(), 2 => array(), 3 => array(), 4 => array(), ...), "notes" => array(DestinationNotes, DestinationNotes, DestinationNotes)))
090 
091         if ($area_type == 'china') {
092             $this->render('travel_list_china', ['product' => $product,'notes'=>$notes]);
093 
094         } else if ($area_type == 'around') {
095             $this->render('travel_list_around', ['product' => $product,'notes'=>$notes]);
096 
097         } else if ($area_type == 'outside') {
098             $this->render('travel_list_outside', ['product' => $product,'notes'=>$notes]);
099         }
100     }
#10
+
 /home/www/drly/index.php(33): CApplication->run()
28 29 ini_set('display_errors', 1);
30 defined('YII_DEBUG') or define('YII_DEBUG', true);
31 
32 require_once($yii);
33 Yii::createWebApplication($config)->run();
34 error_reporting (0);
2024-03-19 15:10:25 nginx/1.5.2 Yii Framework/1.1.13