Yii Framework Forum: Install Problems - Yii Framework Forum

Jump to content

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

Install Problems Rate Topic: -----

#1 User is offline   roelof 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 08-February 13

Posted 11 February 2013 - 01:45 PM

Hello

I downloaded the zip install file into a Windows 7 box.
After that I upload it into a linux webserver.
But now all the files don't have a executable flag so I cannot proceed.

How can I solve this?

Roelof

Edit 1: I solved it myself. I have to use ./yiic instead of yiic.
But I ran into another problem. Because Im on a shared hosting Im not allowed to use ./yiic
So is there another way to start a project.
0

#2 User is offline   jodev 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 10-January 11
  • Location:The Netherlands

Posted 12 February 2013 - 06:12 AM

Hoi Roelof,

Normally you will want to develop on your local machine, rather than uploading to your server all the time while developing. You can check out WampServer or XAMPP for starteres. The latter is available cross-platform, while WAMP is Windows only. Using your local server, you should be able to use the yiic console application as described. Once you've finished developing, only then you would normally upload the completed website to your web hosters.

If you can't or don't want to use yiic, you may be able to start a project by copying the webapp folder framework/cli/views folder. This folder contains the files needed for a base project. Make sure to update the index.php file of your copied webapp folder. The $yii variable will need to be updated to point to the correct path.
0

#3 User is offline   roelof 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 08-February 13

Posted 12 February 2013 - 07:30 AM

View Postjodev, on 12 February 2013 - 06:12 AM, said:

Hoi Roelof,

Normally you will want to develop on your local machine, rather than uploading to your server all the time while developing. Using your local server, you should be able to use the yiic console application as described. Once you've finished developing, only then you would normally upload the completed website to your web hosters.



Thanks.
The completed website are the files that yiic makes and I later change to my need or also the files of the framework itself.

Roelof
0

#4 User is offline   jodev 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 10-January 11
  • Location:The Netherlands

Posted 13 February 2013 - 04:57 AM

The complete site is made up by the folder that yiic created as well as the Yii 'framework' folder. The framework folder contains all the behind-the-scenes code for your website. You do not need the 'demo' and 'requirements' folders that are also included in the Yii download.
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