I am trying to set the php include method of protection but it is having problems and unfortunatly the server is setup to not show errors Well any way can someone have a look at this and see if you see anything wrong? Code: <?php $_product_id = array(2); // or $_product_id = array(1) if it so include("/home/sites/www.lavox.com/web/member/plugins/protect/php_include/check.inc.php"); //$_product_id = array(2); // or $_product_id = array(1) if it so //include("{$config.root_dir}/plugins/protect/php_include/check.inc.php"); ?> I tried both ways and neither seem to work. Also from the admin page it says use /home/sites/www.lavox.com/web/member/plugins/php_include/check.inc.php but that doesn't exist? I have also made sure the product id is 2 so that is right.
Ok I got it working if I place the test page inside the member directory. But if I place it outside of that it doesn't work. For example the amember is script is in http://site.com/member/ directory and if I place the php include on http://site.com/articles/ it doesn't work. Does anyone have any ideas why this may be happening?
is this the correct absolute path? ("/home/sites/www.lavox.com/web/member/plugins/protect/php_include/check.inc.php"); Strange to have www.lavox.com in it. I would check that and also your set up information was correct.
Yea I double checked it and it is right. This is the only server I have had one to look like that to :huh: Which setup info are you talking about?