I was searching the best framework which would suit to what I want to do. I found Yii which looks great. So first of all, thanks for the work you've already done!
Now, I’m trying to duplicate the blog tutorial and fail at the scaffolding step. I use protable Xampp Lite 1.7.0 and have created a web application thanks to yiic webapp.
But when I try tu run yiic shell i have two different behaviours.
If I try to run yiic shell index.php, or any variation with or without paths, I can type the first command line “model User”. But after that PHP CLI is closed, nothing is done and I come back to the ms-dos command line.
If I try to run the command line specifying php.ini file I get this error message :
I’ve checked the requirements, PDO extension and PDO Extension for MySQL are installed.
PDO support => enabled
PDO drivers => mssql, mysql, sqlite2
PDO Driver for MySQL, client library version => 5.1.30
PS : I don’t know if it’s important, but yii is at the same level than wwwroot, not in wwwroot. I use windows vista and set the path environment variable to the correct value (I can run yiic webapp blog)
I was just stuck on this. The problem was that I have yii framework in my path. When I typed "yiic shell" it was using the one from my path, whereas if I typed "protected/yiic shell" then I got a console.