Yiic Shell Command Prints Html Code

When run command yiic shell it shows a HTML code insted of the error.After coping the html to a file and load it shows "the runtime path not valid" error.This happend in YII-1.1.13.

HTML CODE


<!DOCTYPE html PUBLIC

	"-//W3C//DTD XHTML 1.0 Transitional//EN"

	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>CException</title>


<style type="text/css">

/*<![CDATA[*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}

body{line-height:1;}

ol,ul{list-style:none;}

blockquote,q{quotes:none;}

blockquote:before,blockquote:after,q:before,q:after{content:none;}

:focus{outline:0;}

ins{text-decoration:none;}

del{text-decoration:line-through;}

table{border-collapse:collapse;border-spacing:0;}


body {

	font: normal 9pt "Verdana";

That’s known issue already at github. Worth fixing.

I’ve re-checked today with a fresh app and I can’t reproduce it. Got:




exception 'CException' with message 'Application runtime path "D:\web\home\yii.local\www\protected\runtime" is not valid. Please make sure it is a directory writable by the Web server process.' in D:\src\yii\framework\base\CApplication.php:278

Stack trace:

#0 D:\src\yii\framework\base\CApplication.php(265): CApplication->setRuntimePath('D:\web\home\yii...')

#1 D:\src\yii\framework\logging\CFileLogRoute.php(59): CApplication->getRuntimePath()

#2 D:\src\yii\framework\logging\CLogRouter.php(66): CFileLogRoute->init()

#3 D:\src\yii\framework\base\CModule.php(387): CLogRouter->init()

#4 D:\src\yii\framework\base\CModule.php(523): CModule->getComponent('log')

#5 D:\src\yii\framework\base\CApplication.php(152): CModule->preloadComponents()

#6 D:\src\yii\framework\YiiBase.php(125): CApplication->__construct('D:\web\home\yii...')

#7 D:\src\yii\framework\YiiBase.php(113): YiiBase::createApplication('CConsoleApplica...', 'D:\web\home\yii...')

#8 D:\src\yii\framework\yiic.php(23): YiiBase::createConsoleApplication('D:\web\home\yii...')

#9 D:\web\home\yii.local\www\protected\yiic.php(7): require_once('D:\src\yii\fram...')

#10 D:\web\home\yii.local\www\protected\yiic(4): require_once('D:\web\home\yii...')

#11 {main}



Working with console get theme error for render and renderpartial,this issue should be solved,Is that any work for that?