Admin error - Could'nt change any HTML due to permissions - Please help

Discussion in 'Site & Server Administration' started by createrk, Jan 9, 2008.

  1. #1
    Hi all,

    I have started a new website with a new host. I installed all the files into the host using FTP. I login to the admin pannel for my website and started editing my settings but failed. The error i got is

    Warning: fopen(/home/articleg/public_html/templates/terms.tpl) [function.fopen]: failed to open stream: Permission denied in /home/articleg/public_html/admin/edittemplates.php on line 375

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/articleg/public_html/admin/edittemplates.php on line 377

    Warning: fclose(): supplied argument is not a valid stream resource in /home/articleg/public_html/admin/edittemplates.php on line 379


    Please advice what is this error what i need to do?

    Many thanks for your help.
     
    createrk, Jan 9, 2008 IP
  2. Pwner

    Pwner Peon

    Messages:
    176
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Change write permissions for the file trough ftp, if you are using filezilla, right-click over the file and click on "file attributes" , 770 should be ok, if it doesn't work try with 777.
     
    Pwner, Jan 9, 2008 IP
  3. createrk

    createrk Active Member

    Messages:
    847
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #3
    I have changed the Admin folder as well as edittemplate.php file permissions to 777. But still its not working :( Please help!


     
    createrk, Jan 9, 2008 IP
  4. JMV290

    JMV290 Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Do you have shell access?
     
    JMV290, Jan 10, 2008 IP