An error occured - Php Scripts - How do I fix this?

Discussion in 'Setting-up protection' started by 4dynamic, Sep 26, 2008.

  1. 4dynamic

    4dynamic New Member

    Joined:
    Sep 18, 2008
    Messages:
    5
    When testing the signup page I get the following error:
    Cannot open /home/www/listenerstravelclub/amember/data/.htgroup for write. Make directory /home/www/listenerstravelclub/amember/data and this file writeable for PHP scripts.

    I have checked the CMOD on the file and the directory and they show either a 777 on the folder and a 664 on this file.

    I find my name in the user list and when I delete that I get the following error:
    Cannot open /home/www/listenerstravelclub/amember/data/.htgroup for write. Make directory /home/www/listenerstravelclub/amember/data and this file writeable for PHP scripts.

    So what is wrong and how do I fix it?

    Thanks.

    Steve
  2. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Your error messages say it all. You need to set the files to 777 as well so that they are writeable.

    You might find it easier to set the folder to say 666 temporarily. Now set folder to 777 and tick the box marked 'include sub folder & files'.
  3. 4dynamic

    4dynamic New Member

    Joined:
    Sep 18, 2008
    Messages:
    5
    Fixed

    I found that the permissions I had set were not high enough and in some cases the server was not accepting them. So after calling the hosting company and getting a more knowledegable person on we set all of the permissions to 777 and it now works fine.

    Steve

Share This Page