Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CException #2939

Closed
vaijanath opened this issue Oct 9, 2013 · 1 comment
Closed

CException #2939

vaijanath opened this issue Oct 9, 2013 · 1 comment

Comments

@vaijanath
Copy link

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

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...

@mdomba
Copy link
Member

mdomba commented Oct 9, 2013

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/ )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants