mysqli_sql_exception

User 'jilan_user' has exceeded the 'max_questions' resource (current value: 1)

/home3/jilan/public_html/protected/views/site/display.php(212)

200 <?php
201 
202 if(!empty($_GET['id']))
203 {
204 $news =mysqli_fetch_assoc(mysqli_query($GLOBALS["mysqli_con"], "SELECT * FROM `raj`  WHERE `id`=".$_GET['id']));
205 
206 if(!empty($news['uid']))
207 {
208 $user = $model = Login::model()->findByPk($news['uid']);
209 }
210 $id = $_GET['id'];
211 
212 $updateViews = mysqli_query($GLOBALS["mysqli_con"], "UPDATE raj SET views = views + 1 WHERE id = $id");
213 
214 // Now fetch the post info (including views)
215 $result =  mysqli_query($GLOBALS["mysqli_con"], "SELECT * FROM `raj` WHERE id = '$id'");
216 $news = mysqli_fetch_assoc($result);
217 
218 ?>
219 <section class="section-space-bottom">
220     <div class="row no-gutters">
221         <div class="col-xl-12 col-lg-12">
222 <div class="topic-border color-cinnabar mb-30">
223     <div class="topic-box-lg color-cinnabar" style="display: inline-block; margin-right: 20px;"><?php echo $news['title']; ?> </div> <span style="color: #ff9800; font-style: bold;">Views:- </span> <span class="white"><?php echo $news['views']; ?> </span>|<span style="color: #ff9800; font-style: bold;">Last Date:- </span><span class="white"><?php echo $news['day'] . '-' . $news['month'] . '-' . $news['year']; ?>
224 </span>

Stack Trace

#0
+
 /home3/jilan/public_html/protected/views/site/display.php(212): mysqli_query(mysqli, "UPDATE raj SET views = views + 1 WHERE id = 1783")
207 {
208 $user = $model = Login::model()->findByPk($news['uid']);
209 }
210 $id = $_GET['id'];
211 
212 $updateViews = mysqli_query($GLOBALS["mysqli_con"], "UPDATE raj SET views = views + 1 WHERE id = $id");
213 
214 // Now fetch the post info (including views)
215 $result =  mysqli_query($GLOBALS["mysqli_con"], "SELECT * FROM `raj` WHERE id = '$id'");
216 $news = mysqli_fetch_assoc($result);
217 
#5
+
 /home3/jilan/public_html/protected/controllers/SiteController.php(28): CController->render("display")
23      */
24       public function actionSearchDisplay() {
25         $this->render('search-display');
26     } 
27     public function actionDisplay() {
28         $this->render('display');
29     } 
30         public function actionSearch() {
31         $this->render('search');
32     } 
33     public function actionPostInfo() {
#13
+
 /home3/jilan/public_html/index.php(22): CApplication->run()
17     defined('YII_DEBUG') or define('YII_DEBUG', true);
18 // specify how many levels of call stack should be shown in each log message
19     defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
20 
21     require_once($yii);
22     Yii::createWebApplication($config)->run();
23 }  
2026-03-11 00:18:49 Apache Yii Framework/1.1.10