CException

The "dataProvider" property cannot be empty.

/home/salaya/domains/obt-salaya.go.th/public_html/framework/zii/widgets/CBaseListView.php(109)

097      * when the widget is updating its content via AJAX. Defaults to 'loading'.
098      * @since 1.1.1
099      */
100     public $loadingCssClass='loading';
101 
102     /**
103      * Initializes the view.
104      * This method will initialize required property values and instantiate {@link columns} objects.
105      */
106     public function init()
107     {
108         if($this->dataProvider===null)
109             throw new CException(Yii::t('zii','The "dataProvider" property cannot be empty.'));
110 
111         $this->dataProvider->getData();
112 
113         if(isset($this->htmlOptions['id']))
114             $this->id=$this->htmlOptions['id'];
115         else
116             $this->htmlOptions['id']=$this->id;
117 
118         if($this->enableSorting && $this->dataProvider->getSort()===false)
119             $this->enableSorting=false;
120         if($this->enablePagination && $this->dataProvider->getPagination()===false)
121             $this->enablePagination=false;

Stack Trace

#3
+
 /home/salaya/domains/obt-salaya.go.th/public_html/protected/views/main/egp/egp1.php(42): CBaseController->widget()
37                         'style' => 'text-align: center',
38                     ),
39                 ),
40    
41             ),
42         )); 
43     ?>
44     </div>
45 </div>
46 
#7
+
 /home/salaya/domains/obt-salaya.go.th/public_html/protected/views/main/egpAll.php(9): CController->renderPartial("egp/egp1", null, true)
04 <h3>ประกาศจัดซื้อจัดจ้าง เชื่อมโยงฐานข้อมูลของกรมบัญชีกลาง</h3>
05 <?php $this->widget('bootstrap.widgets.TbTabs', array(
06     'type' => 'tabs',
07     'placement' => 'above', // 'above', 'right', 'below' or 'left'
08     'tabs' => array(
09         array('label' => '• แผนการจัดซื้อจัดจ้าง', 'content' => $this->renderPartial('egp/egp1', null, true), 'active' => true),
10         array('label' => '• ประกาศราคากลาง', 'content' => $this->renderPartial('egp/egp2', null, true)),
11         array('label' => '• ร่างเอกสารประกวดราคา (e-Bidding) และร่างเอกสารซื้อหรือจ้างด้วยวิธีสอบราคา', 'content' => $this->renderPartial('egp/egp3', null, true)),
12         array('label' => '• ประกาศเชิญชวน', 'content' => $this->renderPartial('egp/egp4', null, true)),
13         array('label' => '• ประกาศรายชื่อผู้ชนะการเสนอราคา / ประกาศผู้ได้รับการคัดเลือก', 'content' => $this->renderPartial('egp/egp5', null, true)),
14         array('label' => '• ยกเลิกประกาศเชิญชวน', 'content' => $this->renderPartial('egp/egp6', null, true)),
#12
+
 /home/salaya/domains/obt-salaya.go.th/public_html/protected/controllers/MainController.php(1745): CController->render("egpAll")
1740     // egp
1741     function actionEGPAll() {
1742         $this->layout = 'main-home-sub';
1743         $this->pageTitle = 'ประกาศจัดซื้อจัดจ้าง เชื่อมโยงฐานข้อมูลของกรมบัญชีกลาง.';
1744 
1745         $this->render('egpAll');
1746     }
1747     // เมนู download    
1748    function actionLawdownload() {
1749         $this->layout = 'main-home-sub';
1750         $this->pageTitle = 'กฎหมายเเละระเบียบต่างๆที่เกี่ยวข้อง';
2024-03-19 11:10:57 Apache/2 Yii Framework/1.1.14