Sunday, February 3, 2008, 12:36:27 AM, Randy wrote:
> 1) I installed captcha.php, and set $EnablePostCaptchaRequired to true
> for MyGroup.MyPage:
> include_once("$FarmD/cookbook/captcha.php");
> $page = PageVar($pagename, '$FullName');
> if ((! CondAuth($pagename,'edit')) && ($page=='MyGroup.MyPage')) {
> $EnablePostCaptchaRequired = true;
> }
You need to set the variables a script uses before including the
script:
$page = PageVar($pagename, '$FullName');
if ((! CondAuth($pagename,'edit')) && ($page=='MyGroup.MyPage')) {
$EnablePostCaptchaRequired = true;
}
include_once("$FarmD/cookbook/captcha.php");
It is possible that your other troubles may well be caused by similar
errors in loading recipes.
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users