/home/a56radio7/public_html/vendor/yiisoft/yii/framework/i18n/CPhpMessageSource.php(118)
106 if(!isset($this->_files[$category][$language])) 107 { 108 if(($pos=strpos($category,'.'))!==false) 109 { 110 $extensionClass=substr($category,0,$pos); 111 $extensionCategory=substr($category,$pos+1); 112 // First check if there's an extension registered for this class. 113 if(isset($this->extensionPaths[$extensionClass])) 114 $this->_files[$category][$language]=Yii::getPathOfAlias($this->extensionPaths[$extensionClass]).DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.$extensionCategory.'.php'; 115 else 116 { 117 // No extension registered, need to find it. 118 $class=new ReflectionClass($extensionClass); 119 $this->_files[$category][$language]=dirname($class->getFileName()).DIRECTORY_SEPARATOR.'messages'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.$extensionCategory.'.php'; 120 } 121 } 122 else 123 $this->_files[$category][$language]=$this->basePath.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.$category.'.php'; 124 } 125 return $this->_files[$category][$language]; 126 } 127 128 /** 129 * Loads the message translation for the specified language and category. 130 * @param string $category the message category
#0 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/i18n/CPhpMessageSource.php(118): ReflectionClass->__construct("AlbumsModule") 113 if(isset($this->extensionPaths[$extensionClass])) 114 $this->_files[$category][$language]=Yii::getPathOfAlias($this->extensionPaths[$extensionClass]).DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.$extensionCategory.'.php'; 115 else 116 { 117 // No extension registered, need to find it. 118 $class=new ReflectionClass($extensionClass); 119 $this->_files[$category][$language]=dirname($class->getFileName()).DIRECTORY_SEPARATOR.'messages'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.$extensionCategory.'.php'; 120 } 121 } 122 else 123 $this->_files[$category][$language]=$this->basePath.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.$category.'.php'; |
#1 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/i18n/CPhpMessageSource.php(136): CPhpMessageSource->getMessageFile("AlbumsModule.albums", "ru") 131 * @param string $language the target language 132 * @return array the loaded messages 133 */ 134 protected function loadMessages($category,$language) 135 { 136 $messageFile=$this->getMessageFile($category,$language); 137 138 if($this->cachingDuration>0 && $this->cacheID!==false && ($cache=Yii::app()->getComponent($this->cacheID))!==null) 139 { 140 $key=self::CACHE_KEY_PREFIX . $messageFile; 141 if(($data=$cache->get($key))!==false) |
#2 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/i18n/CMessageSource.php(103): CPhpMessageSource->loadMessages("AlbumsModule.albums", "ru") 098 */ 099 protected function translateMessage($category,$message,$language) 100 { 101 $key=$language.'.'.$category; 102 if(!isset($this->_messages[$key])) 103 $this->_messages[$key]=$this->loadMessages($category,$language); 104 if(isset($this->_messages[$key][$message]) && $this->_messages[$key][$message]!=='') 105 return $this->_messages[$key][$message]; 106 elseif($this->hasEventHandler('onMissingTranslation')) 107 { 108 $event=new CMissingTranslationEvent($this,$category,$message,$language); |
#3 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/i18n/CMessageSource.php(85): CMessageSource->translateMessage("AlbumsModule.albums", "Live streaming", "ru") 80 public function translate($category,$message,$language=null) 81 { 82 if($language===null) 83 $language=Yii::app()->getLanguage(); 84 if($this->forceTranslation || $language!==$this->getLanguage()) 85 return $this->translateMessage($category,$message,$language); 86 else 87 return $message; 88 } 89 90 /** |
#4 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/YiiBase.php(589): CMessageSource->translate("AlbumsModule.albums", "Live streaming", "ru") 584 if(self::$_app!==null) 585 { 586 if($source===null) 587 $source=($category==='yii'||$category==='zii')?'coreMessages':'messages'; 588 if(($source=self::$_app->getComponent($source))!==null) 589 $message=$source->translate($category,$message,$language); 590 } 591 if($params===array()) 592 return $message; 593 if(!is_array($params)) 594 $params=array($params); |
#5 |
+
–
/home/a56radio7/public_html/themes/default/views/layouts/yupe.php(12): YiiBase::t("AlbumsModule.albums", "Live streaming") 07 08 <!-- sidebar --> 09 <aside class="col-sm-3 sidebar"> 10 <div class="widget tags-cloud-widget"> 11 <div class="widget"> 12 <h3><?= Yii::t('AlbumsModule.albums', 'Live streaming') ?></h3> 13 <audio src="http://94.23.36.117:5551/stream" controls="" style="max-width: 258px;"></audio> 14 </div> 15 16 <?php /* $this->widget('application.modules.news.widgets.LastNewsWidget', ['limit' => 7]); */ ?> 17 |
#6 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require("/home/a56radio7/public_html/themes/default/views/layouts/yupe.ph...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#7 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/a56radio7/public_html/themes/default/views/layouts/yupe.ph...", array("content" => "
<article class="entry single">
<div class="entry-m..."), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#8 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CController.php(784): CBaseController->renderFile("/home/a56radio7/public_html/themes/default/views/layouts/yupe.ph...", array("content" => "
<article class="entry single">
<div class="entry-m..."), true) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 788 $output=$this->processOutput($output); 789 |
#9 |
+
–
/home/a56radio7/public_html/protected/modules/news/controllers/NewsController.php(44): CController->render("view", array("model" => News)) 39 Yii::app()->clientScript->registerMetaTag($model->getQuote(), null, null, ['property' => 'og:description']); 40 if (!empty($model->image)) { 41 Yii::app()->clientScript->registerMetaTag($model->getImageUrl(), null, null, ['property' => 'og:image']); 42 } 43 44 $this->render('view', ['model' => $model]); 45 } 46 47 public function actionIndex() 48 { 49 $dbCriteria = new CDbCriteria([ |
#10 |
unknown(0): NewsController->actionView("dobrye-novosti-v-tvoem-mp3-pleere")
|
#11 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(NewsController, array("dobrye-novosti-v-tvoem-mp3-pleere")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#12 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(NewsController, ReflectionMethod, array("slug" => "dobrye-novosti-v-tvoem-mp3-pleere")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#13 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("slug" => "dobrye-novosti-v-tvoem-mp3-pleere")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#14 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#15 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#16 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run("view") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#17 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("news/news/view") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#18 |
+
–
/home/a56radio7/public_html/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#19 |
+
–
/home/a56radio7/public_html/public/index.php(39): CApplication->run() 34 $confManager = new yupe\components\ConfigManager(); 35 $confManager->sentEnv(\yupe\components\ConfigManager::ENV_WEB); 36 37 require __DIR__ . '/../vendor/autoload.php'; 38 39 Yii::createWebApplication($confManager->merge($base))->run(); |