I was following this tutorial (http://drupal.tschannen.net/wiki/set_up_a_wiki_with_drupal_5), and after I installed PEAR Wiki Filter I got the message "Fatal error: Class 'Text_Wiki' not found in /usr/local/drupal/modules/pearwiki_filter/pearwiki_filter.module on line 171"
So then I reviewed the recent support request with the same problem and installed PEAR Text_Wiki. However this lead to a new problem "Fatal error: Undefined class name 'pear' in /usr/share/pear/Text/Wiki.php on line 412". I wasnt sure what to do next so I tried installing http://pear.php.net/package/PEAR which didnt seem to help. I also tried googleing "Fatal error: Undefined class name 'pear' in /usr/share/pear/Text/Wiki.php on line" and found a lot of discussion boards, but none of the advice that worked for other people helped within my context.
Any Ideas?
Thanks,
Dave
Comments
Comment #1
djh312 commentedHmm... Im not sure if this was the right thing to do, but I added require_once 'Text/Wiki/Parse.php'; to wiki.php and it worked. Any idea why it was messed up to begin with and if this is going to cause me more problems down the road?
Comment #2
djh312 commentedThat definitely does not fix the problem. Instead of an error message, I get a white screen. Still at a loss for what to do.
Comment #3
djh312 commentedComment #4
hcassa commentedI have the same problem :
Fatal error: Undefined class name 'pear' in /home/hcassa/domains/hcassa.nl/public_html/comm/sites/all/modules/pearwiki_filter/Text/Wiki.php on line 412
So please somebody , give some help :-(
Comment #5
hcassa commentedWhy close the subject when I don't know what sort of info I need to give , if the Drupal organisation expects her users to be happy then at least give some feedback please ?
Comment #6
rötzi commentedWhat PEAR packages did you install? Only the Text_Wiki or also for example the Text_Wiki_Mediawiki package?
See also here: http://drupal.org/node/130351#comment-224158
Comment #7
hcassa commentedWell never mind , I have decided to reinstall Drupal one more time without Wiki , if this does'nt work I'll revert to another CMS system
Comment #8
SimonVlc commentedI had the same problem. To solve it, I need to uninstall the pear Text_Wiki package from the pear package list.
pear uninstall Text_Wiki
Try it. Kind regards, Simon.
Comment #9
mennonot commentedThe patch described in comment #5 the thread referenced rötzi above solved my fatal error on line 421 as described in the original post. The direct link to the comment is here:
http://drupal.org/node/130351#comment-224158
Comment #10
mrded commented5.x version is no longer supported.