CException

Путь CAssetManager.basePath "/var/www/ground18.ru/data/www/ground18.ru/assets" задан неверно. Удостоверьтесь, что директория существует и доступна для записи пользователю, под которым запущен веб-сервер.

/var/www/ground18.ru/data/www/ground18.ru/framework/web/CAssetManager.php(138)

126     }
127 
128     /**
129      * Sets the root directory storing published asset files.
130      * @param string $value the root directory storing published asset files
131      * @throws CException if the base path is invalid
132      */
133     public function setBasePath($value)
134     {
135         if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath))
136             $this->_basePath=$basePath;
137         else
138             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.',
139                 array('{path}'=>$value)));
140     }
141 
142     /**
143      * @return string the base url that the published asset files can be accessed.
144      * Note, the ending slashes are stripped off. Defaults to '/AppBaseUrl/assets'.
145      */
146     public function getBaseUrl()
147     {
148         if($this->_baseUrl===null)
149         {
150             $request=Yii::app()->getRequest();

Stack Trace

#8
+
 /var/www/ground18.ru/data/www/ground18.ru/protected/controllers/SiteController.php(129): CController->render("contact", array("model" => ContactForm))
124                 mail(Yii::app()->params['adminEmail'],$subject,$body,$headers);
125                 Yii::app()->user->setFlash('contact','Спасибо за обращение. Наши менеджеры свяжуться с Вами в ближайшее время!');
126                 $this->refresh();
127             }
128         }
129         $this->render('contact',array('model'=>$model));
130     }
131     
132     public function actionPages($url){
133         $model=Pages::model()->find('url=:url', array(':url'=>$url));
134         $this->render('pages',array('model'=>$model));
#16
+
 /var/www/ground18.ru/data/www/ground18.ru/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2026-04-06 01:47:23 Apache/2.4.66 (Debian) Yii Framework/1.1.14