Yii Framework Forum: Just not working out for me - Yii Framework Forum

Jump to content

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

Just not working out for me Rate Topic: -----

#1 User is offline   min2511 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 20-March 09

Posted 23 March 2009 - 08:30 PM

Hello everyone,

I am new to YII and PHP. I have installed both on my system

PHP is located in: C:\xampp\php
YII is located in:C:\xampp\htdocs\YII\yii-1.0.3.r780

Now, i have added C:\xampp\htdocs\YII\yii-1.0.3.r780 to my system variables.

but when i try to enter :/wwwroot/yii/framework/yiic webapp /wwwroot/blog
in my command line my error is: the system cannot find the path specified....

All i want is to use YII, but the steps are not straightforward and it's confusing :(

Any help will be greatly appreciated.
M
0

#2 User is offline   qiang 

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

Posted 23 March 2009 - 08:35 PM

c:\xampp\php\php.exe  C:\xampp\htdocs\YII\yii-1.0.3.r780\framework\yiic.php webapp c:\wwwroot\blog
0

#3 User is offline   min2511 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 20-March 09

Posted 23 March 2009 - 08:58 PM

Thanks for the reply but can you please explain what i need to do? You only listed the directories-so i am still confused :(
0

#4 User is offline   qiang 

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

Posted 23 March 2009 - 09:19 PM

Nope, it is the command you need to enter.
0

#5 User is offline   darrenfauth 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 25-March 09

Posted 25 March 2009 - 03:27 PM

qiang-

Just what I was looking for...almost. I am having the same problem. My set up is using WAMP5.

So I have php at:
c:\wamp\php\

YII is at:
c:\wamp\www\yii\

I believe that the first two parts of my command line (using your example) will work up to the last part. I have used every combination I can think of...but my server path understanding is really weak.

Can you clarify what I should use after 'webapp'.

I've tried c:\wwwroot\blog\ and got a nice error saying the 'directory is not valid. Please make sure the parent directory exists'.

Using: c:\wamp\www\yii\blog simply gets the error 'The system cannot find the path specified.'

Thanks!

0

#6 User is offline   darrenfauth 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 25-March 09

Posted 25 March 2009 - 04:07 PM

Got it to work. I think one fundamental flaw was a misconception that I would be creating the 'blog' directory inside of my 'yii' directory. It is created outside of it. At least that is what I have done so far...hope that is right.

so my final line was: c:\wamp\www\blog
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