Fatal error

djh312 - March 23, 2007 - 00:33
Project:PEAR Wiki Filter
Version:5.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:hcassa
Status:active
Description

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

djh312 - March 23, 2007 - 07:30

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

djh312 - March 25, 2007 - 08:48

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

djh312 - March 27, 2007 - 14:10
Status:active» closed

#4

hcassa - April 4, 2007 - 20:28
Assigned to:Anonymous» hcassa
Status:closed» postponed (maintainer needs more info)

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

hcassa - April 4, 2007 - 20:38
Status:postponed (maintainer needs more info)» active

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

rötzi - April 4, 2007 - 20:55

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

hcassa - April 5, 2007 - 09:05

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

SimonVlc - April 30, 2007 - 11:55

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

mennonot - October 23, 2007 - 03:52

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

 
 

Drupal is a registered trademark of Dries Buytaert.