CDbException

The table "{{db_canonical}}" for active record class "DbCanonical" cannot be found in the database.

/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/_text_item.php(12)

01 <?php if ($data['cc'] > 0): ?>
02 <hr>
03 <h2 id="<?php echo $data['a_id']; ?>">Lyrics for album: <?php echo CHtml::encode($data['a_name']).(($data['a_year'] != 0 && $data['a_year'] < 2100) ? " ({$data['a_year']})" : ''); ?></h2>
04 
05 <div class="list-group songArtist">  
06     <?php
07 
08     $itemCount = count($data['txt']);
09     $index = 0;
10     foreach ($texts as $model) {
11         if(in_array($model->id, $data['txt'])):
12             if (($c = $model->canonical->fronturi) === null) $c = $model->fronturi;
13         
14             ?>
15 
16             <<?php echo !$model->isnoindex ? 'a'. $model -> nofollow : 'div';?> <?php echo !$model->isnoindex ? 'href="'.$c.'"' : '';  ?> class="list-group-item <?php echo !$model->isnoindex ? '' : 'disabled';  ?>">
17                 <div class="h4"><span class="pull-right icon">&rsaquo;</span><?php echo CHtml::encode($model->iname); ?></div>
18             </<?php echo !$model->isnoindex ? 'a' : 'div';?>>
19 
20             <?php                    
21             endif;
22     }         
23     ?>
24 </div>

Stack Trace

#9
+
 /home/www/new.stlyrics.com/html/themes/front/views/songs/artist/_text_item.php(12): CActiveRecord->__get("canonical")
07 
08     $itemCount = count($data['txt']);
09     $index = 0;
10     foreach ($texts as $model) {
11         if(in_array($model->id, $data['txt'])):
12             if (($c = $model->canonical->fronturi) === null) $c = $model->fronturi;
13         
14             ?>
15 
16             <<?php echo !$model->isnoindex ? 'a'. $model -> nofollow : 'div';?> <?php echo !$model->isnoindex ? 'href="'.$c.'"' : '';  ?> class="list-group-item <?php echo !$model->isnoindex ? '' : 'disabled';  ?>">
17                 <div class="h4"><span class="pull-right icon">&rsaquo;</span><?php echo CHtml::encode($model->iname); ?></div>
#16
+
 /home/www/new.stlyrics.com/html/protected/components/SimpleListView.php(31): CBaseListView->renderContent()
26      * Override CListView::run() to prevent registration of client script.
27      */
28     public function run()
29     {
30         echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n";
31         $this->renderContent();
32         echo CHtml::closeTag($this->tagName);
33     }
34 }
#18
+
 /home/www/new.stlyrics.com/html/themes/front/views/songs/artist/index.php(167): CBaseController->widget("SimpleListView", array("id" => "body6605571240bf7", "dataProvider" => CArrayDataProvider, "itemView" => "_text_item", "template" => "{items}", ...))
162         'pager'=>array(
163             'header' => false
164         ),
165         'itemsCssClass' => 'list-group',
166         'htmlOptions' => array('class' => ''),        
167     ));
168     $this->endCache();
169 }                      
170 ?>              
171 
172 <br><br>
2024-03-28 07:40:02 Apache/2.2.15 Yii Framework/1.1.14