Yii Framework Forum: Trouble with yiic shell,i don't know what's wrong - Yii Framework Forum

Jump to content

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

Trouble with yiic shell,i don't know what's wrong Rate Topic: -----

#1 User is offline   holala 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 74
  • Joined: 23-December 09

Posted 21 January 2010 - 09:05 PM

yesterday,i use

D:\home\yii\framework>yiic shell ../admin/index.php

it can work,

but today, i use this command,no response,no error,anything,
just back to

D:\home\yii\framework>

yii version is 1.1.0
my website is ok.

i don't know why?

anyone can help me?
0

#2 User is offline   qiang 

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

Posted 21 January 2010 - 09:31 PM

Guess your application redirects by default now.
Try using yiic shell path/to/main.php, where main.php is your config file.
1

#3 User is offline   holala 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 74
  • Joined: 23-December 09

Posted 21 January 2010 - 09:48 PM

yes,yiic shell config/main.php

it's work!

Thanks qiang!
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