Yii Framework Forum: Problem launching my Yii application online - Yii Framework Forum

Jump to content

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

Problem launching my Yii application online Rate Topic: -----

#1 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 747
  • Joined: 02-February 09

Posted 24 February 2009 - 03:36 PM

Hi all,

I am new to MVC programming. I am testing Yii on my localhost I get in there OK. But today I decided to upload it on my shared hosting online and it does not want to run. I get the following error:

Forbidden

You don't have permission to access /framework/yii.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Fatal error: Class 'Yii' not found in /home/.../index.php on line 11

I changed the paths in index.php but didn't help. Any ideas. I also searched the forum and the documentation but didn't find anything related.

Thanks,
T.
0

#2 User is offline   qiang 

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

Posted 24 February 2009 - 03:44 PM

Check the file permissions?
0

#3 User is offline   notzippy 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 201
  • Joined: 06-October 08

Posted 24 February 2009 - 03:45 PM

Hi

Probably it is a file permission issue, most providers only allow directories with a file permission of 755 and files with permission of 664 to run as a script.

Google chmod 755 for more..

nz
0

#4 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 747
  • Joined: 02-February 09

Posted 24 February 2009 - 05:34 PM

got it. just moved framework one level up...lol
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