CException

Description

CAssetManager.basePath "C:\wwwroot\astrometric.ru\assets" is invalid. Please make sure the directory exists and is writable by the Web server process.

Source File

C:\wwwroot\astrometric.ru\yii\framework\web\CAssetManager.php(82)

00070:     }
00071: 
00072:     /**
00073:      * Sets the root directory storing published asset files.
00074:      * @param string the root directory storing published asset files
00075:      * @throws CException if the base path is invalid
00076:      */
00077:     public function setBasePath($value)
00078:     {
00079:         if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath))
00080:             $this->_basePath=$basePath;
00081:         else
00082: throw new CException(Yii::t('yii','CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.',
00083: array('{path}'=>$value))); 00084: } 00085: 00086: /** 00087: * @return string the base url that the published asset files can be accessed. 00088: * Note, the ending slashes are stripped off. 00089: */ 00090: public function getBaseUrl() 00091: { 00092: return $this->_baseUrl; 00093: } 00094:

Stack Trace

#0 C:\wwwroot\astrometric.ru\yii\framework\web\CAssetManager.php(59): CAssetManager->setBasePath('C:\\wwwroot\\astr...')
#1 C:\wwwroot\astrometric.ru\yii\framework\base\CModule.php(363): CAssetManager->init()
#2 C:\wwwroot\astrometric.ru\yii\framework\web\CWebApplication.php(173): CModule->getComponent('assetManager')
#3 C:\wwwroot\astrometric.ru\yii\framework\web\helpers\CHtml.php(1035): CWebApplication->getAssetManager()
#4 C:\wwwroot\astrometric.ru\yii\framework\web\widgets\pagers\CLinkPager.php(193): CHtml::asset('C:\\wwwroot\\astr...')
#5 C:\wwwroot\astrometric.ru\yii\framework\web\widgets\pagers\CLinkPager.php(182): CLinkPager::registerCssFile(NULL)
#6 C:\wwwroot\astrometric.ru\yii\framework\web\widgets\pagers\CLinkPager.php(97): CLinkPager->registerClientScript()
#7 C:\wwwroot\astrometric.ru\yii\framework\web\CBaseController.php(166): CLinkPager->run()
#8 C:\wwwroot\astrometric.ru\protected\views\site\slovar\slovar.php(61): CBaseController->widget('CLinkPager', Array)
#9 C:\wwwroot\astrometric.ru\yii\framework\web\CBaseController.php(119): require('C:\\wwwroot\\astr...')
#10 C:\wwwroot\astrometric.ru\yii\framework\web\CBaseController.php(88): CBaseController->renderInternal('C:\\wwwroot\\astr...', Array, true)
#11 C:\wwwroot\astrometric.ru\yii\framework\web\CController.php(798): CBaseController->renderFile('C:\\wwwroot\\astr...', Array, true)
#12 C:\wwwroot\astrometric.ru\yii\framework\web\CController.php(739): CController->renderPartial('slovar/slovar', Array, true)
#13 C:\wwwroot\astrometric.ru\protected\controllers\SiteController.php(647): CController->render('slovar/slovar', Array)
#14 C:\wwwroot\astrometric.ru\yii\framework\web\actions\CInlineAction.php(32): SiteController->actionSlovar()
#15 C:\wwwroot\astrometric.ru\yii\framework\web\CController.php(300): CInlineAction->run()
#16 C:\wwwroot\astrometric.ru\yii\framework\web\filters\CFilterChain.php(129): CController->runAction(Object(CInlineAction))
#17 C:\wwwroot\astrometric.ru\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
#18 C:\wwwroot\astrometric.ru\yii\framework\web\CController.php(1049): CFilter->filter(Object(CFilterChain))
#19 C:\wwwroot\astrometric.ru\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#20 C:\wwwroot\astrometric.ru\yii\framework\web\filters\CFilterChain.php(126): CInlineFilter->filter(Object(CFilterChain))
#21 C:\wwwroot\astrometric.ru\yii\framework\web\CController.php(283): CFilterChain->run()
#22 C:\wwwroot\astrometric.ru\yii\framework\web\CController.php(257): CController->runActionWithFilters(Object(CInlineAction), Array)
#23 C:\wwwroot\astrometric.ru\yii\framework\web\CWebApplication.php(324): CController->run('slovar')
#24 C:\wwwroot\astrometric.ru\yii\framework\web\CWebApplication.php(121): CWebApplication->runController('site/slovar')
#25 C:\wwwroot\astrometric.ru\yii\framework\base\CApplication.php(135): CWebApplication->processRequest()
#26 C:\wwwroot\astrometric.ru\index.php(17): CApplication->run()
#27 {main}
2024-03-19 13:53:04 Microsoft-IIS/10.0 Yii Framework/1.1.3