Yii Framework Forum: Access denied - Yii Framework Forum

Jump to content

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

Access denied Using Dreamweaver Rate Topic: -----

#1 User is offline   Precaseptica 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 29-August 12

Posted 29 August 2012 - 05:46 AM

Hello there.

I recently landed a job that requires me to get comfortable with the Yii framework. I have no experience at all with anything other than hand-written code, which makes this quite a leap for me. I'm trying to follow the official toturials here: http://www.yiiframew...om/screencasts/ but I'm hitting a few snags on my way.

The most recent problem I am having is during step 2 of the screencasts. When I try to save changes made to the index.php file in the View folder, I am getting an "access denied" error message from Dreamweaver. I can edit files in the Controller no problem, but the View files seem to be off limits. I tried in Notepad++ as well to make sure it wasn't some weird DW control problem, but that gave me the same problem.

Is there any config switch I have to turn on somewhere?
0

#2 User is offline   Keith 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,520
  • Joined: 04-March 10
  • Location:UK

Posted 30 August 2012 - 03:48 AM

Access denied suggests that you don't have write permission on the view folder or the file itself. Has the file been generated by gii? If so, it's probably owned by the web server process.

Which OS are you using?
0

#3 User is offline   Precaseptica 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 29-August 12

Posted 30 August 2012 - 09:30 AM

View PostKeith, on 30 August 2012 - 03:48 AM, said:

Access denied suggests that you don't have write permission on the view folder or the file itself. Has the file been generated by gii? If so, it's probably owned by the web server process.

Which OS are you using?


The file has indeed been generated by Gii. I'm sitting on Windows 7.

Any work around?
0

#4 User is offline   Keith 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,520
  • Joined: 04-March 10
  • Location:UK

Posted 30 August 2012 - 10:04 AM

I don't know much about file permissions on Windows. Maybe this link can help:

http://www.blogsdna....n-windows-7.htm
0

#5 User is offline   Precaseptica 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 29-August 12

Posted 30 August 2012 - 11:24 AM

View PostKeith, on 30 August 2012 - 10:04 AM, said:

I don't know much about file permissions on Windows. Maybe this link can help:


Thanks for the help mate. But I'm running through every step and it's still giving me the same error. Access denied.
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