I tried really hard to follow your instructions but it spewed the same raw html instead of entering the yii shell.
It’s all summarized below but difficult to read. Let me try to outline here:
Unpack the tar file and name it YiiRoot2
[b]xam$ tar xvf yii-1.1.5.r2654.tar
xam$ mv yii-1.1.5.r2654 YiiRoot2[/b]
Run ‘webapp’ creating demo2
xam$ YiiRoot2/framework/yiic webapp demo2
change to demo2 directory
xam$ cd demo2
Attempt to login to yii shell
xam$ ../YiiRoot2/framework/yiic shell
pukes what I think must be some generated HTML for error reporting as if it thinks I’m in a browser? Same as before.
<!DOCTYPE html PUBLIC
…
#0 /Users/xam/2-SERVIECS/WEB/demo2/protected/views/layouts/main.php(47): date()
…
Summary:
xam$ tar xvf yii-1.1.5.r2654.tar
…
xam$ l
total 46616
drwxr-xr-x 9 xam staff 306 Nov 14 12:57 YiiRoot/
drwxr-xr-x 9 xam staff 306 Dec 28 07:01 demo/
drwxr-xr-x 12 xam staff 408 Dec 24 09:52 testdrive/
drwxr-xr-x 9 xam staff 306 Nov 14 12:57 yii-1.1.5.r2654/
-rw-r–r-- 1 xam staff 12191744 Dec 28 07:08 yii-1.1.5.r2654.tar
[b]xam$ mv yii-1.1.5.r2654 YiiRoot2
xam$ l[/b]
total 46616
drwxr-xr-x 9 xam staff 306 Nov 14 12:57 YiiRoot/
drwxr-xr-x 9 xam staff 306 Nov 14 12:57 YiiRoot2/
drwxr-xr-x 9 xam staff 306 Dec 28 07:01 demo/
drwxr-xr-x 12 xam staff 408 Dec 24 09:52 testdrive/
-rw-r–r-- 1 xam staff 12191744 Dec 28 07:08 yii-1.1.5.r2654.tar
xam$ YiiRoot2/framework/yiic webapp demo2
Create a Web application under ‘/Users/xam/2-SERVIECS/WEB/demo2’? [Yes|No] yes
…
Your application has been created successfully under /Users/xam/2-SERVIECS/WEB/demo2.
b]xam$ cd demo2
[xam$ ../YiiRoot2/framework/yiic shell
[/b]<!DOCTYPE html PUBLIC
…
#0 /Users/xam/2-SERVIECS/WEB/demo2/protected/views/layouts/main.php(47): date()
#1 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CBaseController.php(119): require()
#2 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CBaseController.php(88): SiteController->renderInternal()
#3 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/widgets/CContentDecorator.php(78): SiteController->renderFile()
#4 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/widgets/CContentDecorator.php(56): CContentDecorator->decorate()
#5 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/widgets/COutputProcessor.php(45): CContentDecorator->processOutput()
#6 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CBaseController.php(199): CContentDecorator->run()
#7 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CBaseController.php(294): SiteController->endWidget()
#8 /Users/xam/2-SERVIECS/WEB/demo2/protected/views/layouts/column1.php(7): SiteController->endContent()
#9 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CBaseController.php(119): require()
#10 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CBaseController.php(88): SiteController->renderInternal()
#11 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CController.php(748): SiteController->renderFile()
#12 /Users/xam/2-SERVIECS/WEB/demo2/protected/controllers/SiteController.php(32): SiteController->render()
#13 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/actions/CInlineAction.php(57): SiteController->actionIndex()
#14 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CController.php(300): CInlineAction->run()
#15 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CController.php(278): SiteController->runAction()
#16 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CController.php(257): SiteController->runActionWithFilters()
#17 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CWebApplication.php(324): SiteController->run()
#18 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/web/CWebApplication.php(121): CWebApplication->runController()
#19 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/base/CApplication.php(135): CWebApplication->processRequest()
#20 /Users/xam/2-SERVIECS/WEB/demo2/index.php(13): CWebApplication->run()
#21 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/cli/commands/ShellCommand.php(78): require()
#22 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/console/CConsoleCommandRunner.php(62): ShellCommand->run()
#23 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/console/CConsoleApplication.php(88): CConsoleCommandRunner->run()
#24 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/base/CApplication.php(135): CConsoleApplication->processRequest()
#25 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/yiic.php(33): CConsoleApplication->run()
#26 /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/yiic(15): require_once()
</pre>
</div><!-- end of callstack -->
<div class="version">
Warning: date(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Los_Angeles’ for ‘PST/-8.0/no DST’ instead in /Users/xam/2-SERVIECS/WEB/YiiRoot2/framework/views/exception.php on line 71
2010-12-28 07:11:40 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.5</div>
</body>xam$