Yii Framework Forum: Error: index.php does not exist or is not an entry script file. - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Error: index.php does not exist or is not an entry script file. Rate Topic: -----

#1 User is offline   abellix 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-March 09

Posted 26 March 2009 - 05:40 PM

Hello, I'm new to Yii framework. I installed it in a Xampp environment, all Yii requirement are checked.

I successfully created my application following step-by-step instructions of the definitive guide (http://www.yiiframew...start.first-app), so I have  my "testdrive" application working fine.

Now I try the following step of the tutorial, Implementing CRUD Operations, but launching "yiic shell" command in protected dir I get the following error:

Error: index.php does not exist or is not an entry script file.

What's up? Any suggestion?

Thanks a lot

Alexio
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,899
  • Joined: 04-October 08
  • Location:DC, USA

Posted 26 March 2009 - 07:25 PM

You should use 'yiic shell ..' or go to the parent directory of protected to execute 'yiic shell'.
0

#3 User is offline   abellix 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 26-March 09

Posted 27 March 2009 - 11:07 AM

Yeah, it works!!  ;)

Thank you!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users