Hi Guest, Inconvenience regretted ! we are in the process of updating & validating the database; please keep watching the space for updated information. CDbException

CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'anjumanngo'@'localhost' (using password: YES)

/home/anjumanngo/public_html/protected/views/layouts/footer.php(108)

096                             <h3 class="title"><span>Gallery</span></h3>
097                             <div class="module-content clearfix">
098 
099 
100                                 <div id="sj_gallery_5300125931459253013" class="sj-gallery slide preset01-4 preset02-4 preset03-4 preset04-6 preset05-4" data-interval="0" data-pause="hover">
101                                     <!--[if IE 8]> <div class="ie8 presets"> <![endif]-->
102                                     <div class="sj-content">
103 
104                                         <table>
105                                             <tr>
106                                                 <?php
107                                                 $sql = "SELECT * FROM `gallery` WHERE `gid` >= 1 AND `status` = 1 LIMIT 9";
108                                                 $command = Yii::app()->db->createCommand($sql);
109                                                 $row = $command->queryAll();
110                                                 $all = count($row);
111                                                 for ($i = 0; $i < $all; $i++) {
112                                                     if ($i % 3 == 0) {
113                                                         echo "</tr><tr>";
114                                                     }
115                                                     ?>
116                                                     <td><a href="<?php echo REDIRECT; ?>site/images-gallery"><img src="<?php echo REDIRECTA . "gallery/thumbs/" . $row[$i]["thumb_url"]; ?>" style="width: 80px; height: 80px;"/></a></td><td>&nbsp;</td>
117                                                 <?php } ?>
118                                             </tr>
119                                         </table>                                        
120                                     </div>

Stack Trace

#4
+
 /home/anjumanngo/public_html/protected/views/layouts/footer.php(108): CModule->__get("db")
103 
104                                         <table>
105                                             <tr>
106                                                 <?php
107                                                 $sql = "SELECT * FROM `gallery` WHERE `gid` >= 1 AND `status` = 1 LIMIT 9";
108                                                 $command = Yii::app()->db->createCommand($sql);
109                                                 $row = $command->queryAll();
110                                                 $all = count($row);
111                                                 for ($i = 0; $i < $all; $i++) {
112                                                     if ($i % 3 == 0) {
113                                                         echo "</tr><tr>";
#5
+
 /home/anjumanngo/public_html/protected/views/layouts/main.php(77): include_once("/home/anjumanngo/public_html/protected/views/layouts/footer.php")
72                             echo $content;
73                             include_once 'right.php';
74                             ?>    
75                         </div></div></div>
76             </section>
77             <?php include_once 'footer.php'; ?>                    
78     </body>
79 </html>
#13
+
 /home/anjumanngo/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(); ?>
2017-04-25 22:03:29 Apache Yii Framework/1.1.10