yiic shell

Can anybody help with the following Mac yiic shell error:

Willie-Prinsloos-MacBook-Pro:helloworld Willielaptop$ ../../framework/yiic shell

Yii Interactive Tool v1.1 (based on Yii v1.1.7)

Please type ‘help’ for help. Type ‘exit’ to quit.PHP Fatal error: Uncaught exception ‘CException’ with message ‘Property “CWebApplication.log” is not defined.’ in /web/yii/framework/base/CComponent.php:131

Stack trace:

#0 /web/yii/framework/base/CModule.php(88): CComponent->__get(‘log’)

#1 /web/yii/framework/cli/commands/ShellCommand.php(133): CModule->__get(‘log’)

#2 /web/yii/framework/cli/commands/ShellCommand.php(99): ShellCommand->runShell()

#3 /web/yii/framework/console/CConsoleCommandRunner.php(63): ShellCommand->run(Array)

#4 /web/yii/framework/console/CConsoleApplication.php(88): CConsoleCommandRunner->run(Array)

#5 /web/yii/framework/base/CApplication.php(155): CConsoleApplication->processRequest()

#6 /web/yii/framework/yiic.php(33): CApplication->run()

#7 /web/yii/framework/yiic(15): require_once(’/web/yii/framew…’)

#8 {main}

Thanks

Willie

First thing that I can think of is to check your config… check if "log" is inside components

Thanks for the quick reply!

I’m using yiic shell inside the “helloworld” example that’s provided by yii.

so, it should be fine?

why would you run a yiic shell inside the helloworld ?

Note that by default installation there is no helloworld/protected/yiic…

Try to create a new webapp and there run the yiic shell