Exception

This domain is not supported

/home/rentaballoonrace/web/rentaballoonrace.com/public_html/protected/controllers/SiteController.php(43)

31 
32     /**
33      * This is the default 'index' action that is invoked
34      * when an action is not explicitly requested by users.
35      */
36     public function actionIndex() {
37 
38 
39         //cache it every 120 seconds, or cache it on a randomizer if there's no cache
40         if(Yii::app()->redis->cacheUp()){
41             
42             if(!Yii::app()->redis->checkCache('frontRacing')){
43                 $balloonsRacing = BalloonService::countRacing(Yii::app()->config->race->id);
44                 $sql = "UPDATE race SET in_race = ".$balloonsRacing." WHERE id = ".Yii::app()->config->race->id;
45                 $connection=Yii::app()->db;
46                 $command = $connection->createCommand($sql);
47                 $command->query();
48                 Yii::app()->redis->cache('frontRacing', 1, 120);
49             }
50 
51         }else{
52             if(mt_rand(0,100) > 79){
53 
54                 $balloonsRacing = BalloonService::countRacing(Yii::app()->config->race->id);
55                 $sql = "UPDATE race SET in_race = ".$balloonsRacing." WHERE id = ".Yii::app()->config->race->id;

Stack Trace

#2
+
 /home/rentaballoonrace/web/rentaballoonrace.com/public_html/protected/controllers/SiteController.php(43): CModule->__get()
38 
39         //cache it every 120 seconds, or cache it on a randomizer if there's no cache
40         if(Yii::app()->redis->cacheUp()){
41             
42             if(!Yii::app()->redis->checkCache('frontRacing')){
43                 $balloonsRacing = BalloonService::countRacing(Yii::app()->config->race->id);
44                 $sql = "UPDATE race SET in_race = ".$balloonsRacing." WHERE id = ".Yii::app()->config->race->id;
45                 $connection=Yii::app()->db;
46                 $command = $connection->createCommand($sql);
47                 $command->query();
48                 Yii::app()->redis->cache('frontRacing', 1, 120);
#15
+
 /home/rentaballoonrace/web/rentaballoonrace.com/public_html/index.php(47): CApplication->run()
42 
43 if (getenv('APP_SHOW_ERRORS') == true) {
44     defined('YII_DEBUG') or define('YII_DEBUG', true);
45 }
46 
47 Yii::createWebApplication($config)->run();
2024-03-28 11:05:26 nginx/1.25.4 Yii Framework/1.1.25