Error

Class 'Produkhukum' not found

/home/dpmptmub/public_html/themes/frontend/views/layouts/modul/regulasi.php(6)

01 <div style="margin-left: 3%">
02     <div class="textmiddle" style="margin-bottom: 2%;margin-top: 5%;"><center><span style="color: #FEFEFE; padding: 0 46px; border-radius: 6px; background: #E53838;font-size: x-large;"><b>REGULASI PERIZINAN</b></span></center></div>
03     <div class="ibox float-e-margins">                
04         <div class="ibox-content">
05             <?php 
06             $jenis_regulasi = Produkhukum::model()->findAll('tblprodukhukum_status=:status', array(':status'=>'T'));
07             ?>
08             <?php foreach ($jenis_regulasi as $jnsreg): ?>
09                 <div class="col-md-12" style="padding:2px">
10                     <span class="btn btn-info btn-block" data-toggle="collapse" data-target="#<?php echo $jnsreg['tblprodukhukum_id'] ?>" aria-expanded="false" aria-controls="collapseExample" style="text-align:left; overflow: auto;"><i class="fa fa-angle-right"></i> <span style="font-size:16;font-weight:bold;"> <?php echo $jnsreg['tblprodukhukum_nama'] ?></span>
11                     </span>
12                     <div class="collapse" id="<?php echo $jnsreg['tblprodukhukum_id'] ?>">
13                         <div class="well">
14                             <?php $var = Regulasi::model()->findAll('tblprodukhukum_id=:id', array(':id'=>$jnsreg['tblprodukhukum_id']));
15                              foreach($var as $xxx) : ?>
16                                 <div class="row" style="background: #eceaea; border-radius:5px; padding:10px 0px 5px 0px; margin-bottom:5px;">    
17                                     <div class="col-md-10" style="font-size:14px;color:black;">
18                                         <?php echo $xxx['tblregulasi_nama'] ?></div>

Stack Trace

#0
+
 /home/dpmptmub/public_html/themes/frontend/views/layouts/main.php(58): require()
53         <div class="row">
54             <div class="col-md-8">    
55                 <?php if ($this->action->id=='kontent'): ?>
56                     <?php echo $content; ?>
57                 <?php elseif ($this->action->id=='page'): ?>
58                     <?php @require 'modul/'.$this->namamodul; ?>
59                 <?php else: ?>
60                     <?php echo $content; ?>
61                 <?php endif ?>
62             </div>
63             <div class="col-md-3">
#8
+
 /home/dpmptmub/public_html/protected/views/layouts/column1.php(6): CBaseController->endContent()
1 <?php /* @var $this Controller */ ?>
2 <?php $this->beginContent('//layouts/main'); ?>
3 <div id="content">
4     <?php echo $content; ?>
5 </div><!-- content -->
6 <?php $this->endContent(); ?>
#12
+
 /home/dpmptmub/public_html/protected/controllers/WebController.php(69): CController->render("page")
64         $idmenu = Yii::app()->request->getParam('id');
65         $idmodul = Webmenu::model()->findByPk($idmenu)->tblwebmodul_id;
66         $model_modul = WebModul::model()->findByPk($idmodul);
67         $this->namamodul = $model_modul['tblwebmodul_file'];
68 
69         $this->render('page');
70     }
71     public function actionDiskusi()
72     {    
73         $this->webconfig = WebConfig::model()->find();
74         $this->modemenu = $this->action->id; 
2024-11-21 17:50:58 Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips Yii Framework/1.1.15