Problem launching my Yii application online

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:


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.



Check the file permissions?


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…


got it. just moved framework one level up…lol