Error

Class 'article' not found

/www/wwwroot/zbsw/themes/zbsw/views/page/tousu.php(50)

38     }
39     ?>
40     </div>
41     <div class="left_menu_bottom_pic">
42     <script type="text/javascript">
43     $(".menu_list_container a,.service_cate_list a").hover(function(){
44       $(this).addClass("hover");
45     },function(){
46       $(this).removeClass("hover");
47     });
48     </script>
49      <?php 
50     $news2=article::model()->select("id,cid,imgurl")->order("recommend desc,create_time")->limit(4)->findAll("cid=12");
51     ?>
52     <div id="slideBox" class="slideBox">
53       <div class="hd">
54         <ul>
55     <?php
56     for($i=0;$i<count($news2);$i++){
57       echo '<li></li>';
58     }
59     ?>
60         </ul>
61       </div>
62       <div class="bd">

Stack Trace

#4
+
 /www/wwwroot/zbsw/protected/controllers/PageController.php(51): CController->render("tousu", array("model" => Feedback))
46         Yii::app()->user->setFlash('actionInfo', '留言提交失败!');
47         $this->refresh();
48       }
49     }
50      $this->cate = $this->pcate = $this->categorys[5];
51     $this->render('tousu',array('model'=>$model));
52   }
53 
54   public function actionBaoxiu() {
55     $this->layout = false;
56     $model = new Feedback();
#12
+
 /www/wwwroot/zbsw/common.php(17): CApplication->run()
12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
13 require_once($yii);
14 $app = Yii::createWebApplication($config);
15 require_once($globals);
16 
17 $app->run();
18 
#13
+
 /www/wwwroot/zbsw/index.php(10): require_once("/www/wwwroot/zbsw/common.php")
05 
06 
07     $config = dirname(__FILE__) . '/protected/config/main.php';
08 $globals = dirname(__FILE__) . '/protected/globals.php';
09 
10 require_once('./common.php');
11 
12 function isMobile()
13 { 
14     // 如果有HTTP_X_WAP_PROFILE则一定是移动设备
15     if (isset ($_SERVER['HTTP_X_WAP_PROFILE']))
2019-04-20 22:03:51 nginx/1.14.1 Yii Framework/1.1.16