[pmwiki-users] Admin password not recognized for FoxConfig

Hans design5 at softflow.co.uk
Tue Feb 5 02:08:24 CST 2008


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




More information about the pmwiki-users mailing list