Fatal error
| Project: | PEAR Wiki Filter |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | hcassa |
| Status: | active |
Jump to:
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

#1
Hmm... 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?
#2
That definitely does not fix the problem. Instead of an error message, I get a white screen. Still at a loss for what to do.
#3
#4
I 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 :-(
#5
Why 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 ?
#6
What 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
#7
Well 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
#8
I 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.
#9
The 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