I've installed and customised the program. I can't now get anything protected - all directories are visible by all members and I can gain access by typing the address into a browser. Would someone(s) please be kind enough to jot down some idiot proof instructions on how to do this for someone who has never done security or even php before? I've tried to follow what's on the forum already but no joy. Many thanks, Matt
Have you followed the instructions in the docs? http://www.cgi-central.com/amemberdocs/ If that is not helping it would be very useful of you could briefly outline what you have done, that will make it easier to spot what my have gone wrong.
Thanks - I have followed what's below exactly: Setting Up Protection Step 1: Enable php_include plugin. Open the aMember Admin Control Panel Click on Setup/Configuration from the left menu The Configuration : Global screen opens From the top menu on this page click Plugins The Configuration : Plugins screen opens Select Protection Plugins A list of the options available for protection appears, select php_include. Step 2: Add a .htaccess file to the protected directory For this plugin to work a .htaccess file must be added to the directory you wish to protect. The following is the content you need for the .htaccess file: ======================================== AddType application/x-httpd-php .html AddType application/x-httpd-php .htm php_value auto_prepend_file protect.inc.php ========================================= Step3: Create and add protect.inc.php file Open a text file and add the following to it: ======================================== <? $_product_id = array(1,3); require_once '/amember/plugins/protect/php_include/check.inc.php'; ?> ======================================== For step three I altered the array to read = array(1); Also, since there's no clue given as where to put this file I put it in the same directory as the .htaccess file. Now when I try to access the page I get: Warning: main(amember/plugins/protect/php_include/check.inc.php) [function.main]: failed to create stream: No such file or directory in /home/mysite/members/protect.inc.php on line 3 Fatal error: main() [function.main]: Failed opening required 'amember/plugins/protect/php_include/check.inc.php' (include_path='.:/usr/local/lib/php') in /home/mysite/members/protect.inc.php on line 3 where mysite=my actual site name, regardless of whether I am logged in or not. I'd tear my hair out if I had any left....... Thanks for your help on this. Matthew
I assume you have set up a product which gives access to the member directory and that the product is product #1 in aMember? Other than that I am lost - I think you should drop a line to support@cgi-central.com Sorry!