I’m just starting out with Yii and am trying to do the “Creating First Yii Application”. The webapp worked and I have a working “testdrive”. However, when I try to run generate User.php, I get an error message:
>> generate User.php
PHP Parse error: parse error in C:\wamp\www\yii\framework\cli\commands\ShellCom
mand.php(145) : eval()'d code on line 1
Yiic has started okay, but the generate command doesn’t work. What am I doing wrong?
Sorry, I was looking at what I guess is the response from the "model" command. If the user enters an invalid command, I would have expected an error message indicating the command does not exist, rather than the program just blowing up.