This is the full error message:
2011/01/09 16:06:31 [error] [exception.CException] exception ‘CException’ with message ‘CAssetManager.basePath “/hosting/atw.hu-users/c/s/csepelszigeti/assets” is invalid. Please make sure the directory exists and is writable by the Web server process.’ in /yii/framework/web/CAssetManager.php:92
Stack trace:
#0 /yii/framework/web/CAssetManager.php(77): CAssetManager->setBasePath(’/hosting/atw.hu…’)
#1 /yii/framework/web/CAssetManager.php(179): CAssetManager->getBasePath()
#2 /yii/framework/zii/widgets/CListView.php(162): CAssetManager->publish(’/yii/framework/…’)
#3 /yii/framework/web/CBaseController.php(140): CListView->init()
#4 /yii/framework/web/CBaseController.php(165): CBaseController->createWidget(‘zii.widgets.CLi…’, Array)
#5 /protected/views/site/view.php(62): CBaseController->widget(‘zii.widgets.CLi…’, Array)
#6 /yii/framework/web/CBaseController.php(119): require(’/protected/view…’)
#7 /yii/framework/web/CBaseController.php(88): CBaseController->renderInternal(’/protected/view…’, Array, true)
#8 /yii/framework/web/CController.php(833): CBaseController->renderFile(’/protected/view…’, Array, true)
#9 /yii/framework/web/CController.php(746): CController->renderPartial(‘view’, Array, true)
#10 /protected/controllers/SiteController.php(40): CController->render(‘view’, Array)
#11 /yii/framework/web/actions/CInlineAction.php(57): SiteController->actionView()
#12 /yii/framework/web/CController.php(300): CInlineAction->run()
#13 /yii/framework/web/filters/CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#14 /yii/framework/web/filters/CFilter.php(41): CFilterChain->run()
#15 /yii/framework/web/CController.php(1084): CFilter->filter(Object(CFilterChain))
#16 /yii/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#17 /yii/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#18 /yii/framework/web/CController.php(283): CFilterChain->run()
#19 /yii/framework/web/CController.php(257): CController->runActionWithFilters(Object(CInlineAction), Array)
#20 /yii/framework/web/CWebApplication.php(324): CController->run(‘view’)
#21 /yii/framework/web/CWebApplication.php(121): CWebApplication->runController(‘site/view’)
#22 /yii/framework/base/CApplication.php(135): CWebApplication->processRequest()
#23 /index.php(13): CApplication->run()
#24 {main} REQUEST_URI=/index.php?r=site/view&id=1
The corresponding code in Yii CAssetManager:
public function getBasePath()
{
if($this->_basePath===null)
{
$request=Yii::app()->getRequest();
$this->setBasePath(dirname($request->getScriptFile()).DIRECTORY_SEPARATOR.self::DEFAULT_BASEPATH);
}
return $this->_basePath;
}
/**
* Sets the root directory storing published asset files.
* @param string $value the root directory storing published asset files
* @throws CException if the base path is invalid
*/
public function setBasePath($value)
{
if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath))
$this->_basePath=$basePath;
else
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.',
array('{path}'=>$value)));
}
EDIT: I hope it is not the dot, 'couse i’m sure they won’t fix it.