I get the following error message when trying to add users. It has been working fine, but now I get this error message. Any help would be greatly appreciated:

Warning: fopen(.htpasswd): failed to open stream: Permission denied in /home/blackact/public_html/members_only/members/phpaccess103.php on line 1022

Warning: fputs(): supplied argument is not a valid stream resource in /home/blackact/public_html/members_only/members/phpaccess103.php on line 1024

Warning: fclose(): supplied argument is not a valid stream resource in /home/blackact/public_html/members_only/members/phpaccess103.php on line 1026

    check the permissions on your file and its directory. These look like write permission failures.

      That's what's strange to me, the permissions are correct and haven't been changed. The php file's permissions are 775 and the directory it's in is 777.

        File you want to check is htpasswd.

        (.htpasswd): failed to open stream: Permission denied

          Write a Reply...