I got the error: "Class 'PEAR' not found in "c:\Program Files\xampp\php\pear\Text\Wiki.php" after installing with the wiki profile. I updated my Pear "Text" module and it appears to now work.

I did the cvs checkout of the Text directory into the profiles/.../pearwiki_filter directory as specified in the documentation, but for whatever reason, it didn't use this. Is it the idea that the installed Text files should have been overridden by those put in the module directory (which didn't work) or is there an assumption that an older version of Pear/Text isn't already installed?

Comments

rötzi’s picture

This is a problem of the pearwiki filter which sets the include path to be the original include path and it's module path. The original include path is first, so if you have PEAR installed on your systen, this path will be taken and not the path in the pearwiki module directory.

I fixed this in the pearwiki filter module, so the next version of the pearwiki filter will first look in it's own directory and then in the system.

Thanks for the report.

jarodms’s picture

Status: Active » Closed (fixed)