You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application runtime path "/var/www/zurmo/yii/testdrive/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
266 return $this->_runtimePath;
267 }
268 }
269
270 /**
271 * Sets the directory that stores runtime files.
272 * @param string $path the directory that stores runtime files.
273 * @throws CException if the directory does not exist or is not writable
274 _/
275 public function setRuntimePath($path)
276 {
277 if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))
278 throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',
279 array('{path}'=>$path)));
280 $this->runtimePath=$runtimePath;
281 }
282
283 /*
284 * Returns the root directory that holds all third-party extensions.
285 * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
286 */
287 public function getExtensionPath()
288 {
289 return Yii::getPathOfAlias('ext');
290 }
Stack Trace
#0
/var/www/zurmo/yii/framework/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/var/www/zurmo/yii/testdrive/protected/config/main.php") isset() && empty() - expression #8
– /var/www/zurmo/yii/testdrive/index.php(13): YiiBase::createWebApplication("/var/www/zurmo/yii/testdrive/protected/config/main.php")
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();
But there is no "runtime" folder or a file in "/var/www/zurmo/yii/testdrive/protected/".
How to overcome this isuue? Somebody please help me...
The text was updated successfully, but these errors were encountered:
The github issues are for reporting possible errors in the Yii core... for your beginner questions please use the Yii forum ( www.yiiframework.com/forum ) ... also before continuing would be beneficial for you to read the Definitive Guide to Yii ( http://www.yiiframework.com/doc/guide/ )
Hello, I have installed yii framework along with zurmo crm. but when i open it with "http://localhost/zurmo/yii/testdrive/index.php" in my browser, it shows the error message:
Application runtime path "/var/www/zurmo/yii/testdrive/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
/var/www/zurmo/yii/framework/base/CApplication.php(278)
266 return $this->_runtimePath;
267 }
268 }
269
270 /**
271 * Sets the directory that stores runtime files.
272 * @param string $path the directory that stores runtime files.
273 * @throws CException if the directory does not exist or is not writable
274 _/
275 public function setRuntimePath($path)
276 {
277 if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))
278 throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',
279 array('{path}'=>$path)));
280 $this->runtimePath=$runtimePath;
281 }
282
283 /*
284 * Returns the root directory that holds all third-party extensions.
285 * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
286 */
287 public function getExtensionPath()
288 {
289 return Yii::getPathOfAlias('ext');
290 }
Stack Trace
#0
CActiveFinder memory leak #1
add function: CUploadedFile::setName() #2
about enum datatype of crud #3
CHttpRequest.sendFile invalid Content-Length when output_handler is ob_gzhandler #4
CDbCriteria::addInCondition() return null on non empty array #5
Possible unserialize() error in CWebUser #6
CActiveRecord::find/find/findbysql and most other finds eat memory #7
isset() && empty() - expression #8
– /var/www/zurmo/yii/testdrive/index.php(13): YiiBase::createWebApplication("/var/www/zurmo/yii/testdrive/protected/config/main.php")
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();
But there is no "runtime" folder or a file in "/var/www/zurmo/yii/testdrive/protected/".
How to overcome this isuue? Somebody please help me...
The text was updated successfully, but these errors were encountered: