yiic shell issue

When trying to use yiic via the console (just the initial shell command), I get some strange javascript output junk. You can see the command I entered and the results below. I know very little about the yiic tool (outside of using the shell for model & crud stuff). Any ideas?

chase_fryer$ protected/yiic shell

<script language="javascript" type="text/javascript">

/<![CDATA[/

if(typeof(console)==‘object’)

{

console.group(&quot;Application Log&quot;);


console.log(&quot;[16:02:42.676][trace][system.web.CModule] Loading &#092;&quot;log&#092;&quot; application component&quot;);


console.log(&quot;[16:02:42.677][trace][system.web.CModule] Loading &#092;&quot;request&#092;&quot; application component&quot;);


console.log(&quot;[16:02:42.678][trace][system.web.CModule] Loading &#092;&quot;urlManager&#092;&quot; application component&quot;);


console.log(&quot;[16:02:42.683][trace][system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()&quot;);


console.log(&quot;[16:02:42.683][trace][system.web.CModule] Loading &#092;&quot;user&#092;&quot; application component&quot;);


console.log(&quot;[16:02:42.684][trace][system.web.CModule] Loading &#092;&quot;session&#092;&quot; application component&quot;);


console.groupEnd();

}

/]]>/

</script>chase_fryer$

Update: I found the lines above in the firebug log file. So I commented out the ‘CWebLogRoute’ logging component in my main.php config file. Now, when I run the yiic shell command, literally nothing happens. My console output is below. Anyone have ANY idea of what’s going on here, or at least a direction for me to investigate?

chase_fryer$ protected/yiic shell

chase_fryer$

Try to call yiic shell with path to your config file as argument. If not supplied, yiic will run your index.php and supress the output to automatically find out your configuration. This sometimes can make problems.


./protected/yiic shell protected/config/main.php

You nailed it! Thanks, that took care of it!