[pmwiki-users] MarkupExprPlus installation error

Tamara Temple tamouse.lists at gmail.com
Wed Jul 13 21:28:22 CDT 2011


On Jul 12, 2011, at 5:04 AM, adm wrote:
>
> When tried to use this recipe
> (http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus) error pop up.
>
> Exact steps that lead to the error:
> 1) Download markupexprplus.php into 'cookbook' folder
> 2) Add to config.php
> include_once("$FarmD/cookbook/markupexprplus.php");

You need to add one more thing. In Cookbbok/MarkupExprPlus, they state  
that to use set and setq, you need to enable variables:

$EnableExprVarManip
When set to 1, enables variable manipulation through "set" and "setq"  
extra functions: They both handle value assignation toPageVariables,  
the latter performing quietly without any output.


So, add the following to local/config.php before you include  
markupexprplus.php:

$EnableExprVarManip = 1;


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110713/32c4e6b2/attachment.html>


More information about the pmwiki-users mailing list