Hi, can someone please help! I've had amember free version up and running for quite a while, but since I moved servers a week ago, I get an error message for all recordable actions (signup, renew/upgrade, save changes, etc.): Cannot open /home/yourinn/public_html/amember/data/.htpasswd for write. Make directory /home/yourinn/public_html/amember/data and this file writeable for PHP scripts. I have tried CHMOD'ing the data directory and the .htpasswd file to 755 (among others) and still can't get the access I need. Does anyone know where else I should be looking to rectify this error? Thanks in advance. Robyn.
Same problem My aMemberPro install was working well, I thought. Then for some reason I started getting this same error when signing up or updating users. I tried to chmod .htaccess and rebuild the db and I get the same error rebuilding the db. Any suggestions?
Please be careful - if chmod is really made, this error may not happen. May be your ftp client displays you wrong info for chmod, try to use webhosting control panel file manager to chmod files. it must be /amember/data/.htpasswd - 666 /amember/data/.htgroup - 666
I'm not using a ftp client, I have the server here and can work on it directly. This is extremely puzzling because everything was working fine. When I pico /data/.htaccess here is what is in the file: <Limit GET POST> deny from all </Limit>
It is nice that you can work on the server. Telnet/ssh to server, cd to amember/data/ folder, then execute the following command: ls -al then paste output here.
Hi Alex drwxrwxrwx 2 greek200 psacln 4096 Jan 25 20:01 . drwxrwxrwx 10 greek200 psacln 4096 Jan 26 06:26 .. -rwxrwxrwx 1 root root 1 Jan 26 07:11 .htaccess -rw-rw-rw- 1 greek200 psacln 73 Jan 25 14:58 .htgroup -rwxrwxrwx 1 root root 0 Jan 25 20:01 .htgroup -rw-r--r-- 1 greek200 psacln 159 Jan 25 14:58 .htpasswd
As you can see files .htpasswd and .htgroup are not writeable. Staying in amember/data/ folder, please execute the following command: chmod 666 .htgroup .htpasswd