Where you have include_once('scripts/. . .');, please make it include_once("$FarmD/scripts/. . ."); There are some "hardened" installs of PmWiki where scripts is not where you would expect it. Ben