[support] Fatal error: require_once() [function.require]: Failedopening required 'Text/Wiki/Mediawiki.php'

Kim, Soonho (IFPRI) SOONHO.KIM at cgiar.org
Tue Oct 18 21:32:07 UTC 2011


Dear Chad;

Thanks so much! I will try it right now. :) 

Best Regards,
Soonho

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Chad Fennell
Sent: Tuesday, October 18, 2011 5:30 PM
To: support at drupal.org
Subject: Re: [support] Fatal error: require_once() [function.require]: Failedopening required 'Text/Wiki/Mediawiki.php'

Hi Soonho,

Sorry to hear of your woes.  I am /guessing/ that you are have this
module installed:

http://drupal.org/project/pearwiki_filter

I have no experience with it, but it lists a dependency on a PEAR package:

http://pear.php.net/package/Text_Wiki/

I also note in the pearwiki_filter readme.txt that:

"depending on which input format to use the additional [PEAR] packages:

Text_Wiki_Mediawiki: http://pear.php.net/package/Text_Wiki_Mediawiki/
Text_Wiki_Doku: http://pear.php.net/package/Text_Wiki_Doku/
Text_Wiki_Tiki: http://pear.php.net/package/Text_Wiki_Tiki/
Text_Wiki_Creole: http://pear.php.net/package/Text_Wiki_Creole/
Text_Wiki_BBCode: http://pear.php.net/package/Text_Wiki_BBCode/"

Given the nature of your error, if I had to guess, I'd say that you
have selected "Mediawiki" as the wiki filter format selected somewhere
in this module's settings but do not actually have the
Text_Wiki_Mediawik PEAR library installed.  If you dumped your
database and loaded it on a development machine/vm, I could quite
easily see this sort of thing happening.  A couple of remedies come to
mind if this is the case: (1) select the stock Text Wiki filter
(again, no idea how this module works or where you might set that) or
(2) install the missing PEAR module, Text_Wiki_Mediawiki
http://pear.php.net/package/Text_Wiki_Mediawiki/ on your dev machine.

Hope this helps, good luck!

Cheers,
-Chad Fennell
University of Minnesota Libraries





On Tue, Oct 18, 2011 at 3:48 PM, Kim, Soonho (IFPRI)
<SOONHO.KIM at cgiar.org> wrote:
> Dear all;
>
>
>
> Finally, I got the same error again. Is there any idea on the below issue?
>
> Please,,, help,,,
>
>
>
> Best Regards,
>
> Soonho
>
>
>
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Kim, Soonho (IFPRI)
> Sent: Monday, October 17, 2011 4:32 PM
> To: support at drupal.org
> Subject: [support] Fatal error: require_once() [function.require]:
> Failedopening required 'Text/Wiki/Mediawiki.php'
>
>
>
> Dear all;
>
> How are you?
>
> I am a new on Drupal.
>
> Recently, I got the final version of our project website from the commercial
> company and I created a development version of my Drupal, which is the exact
> same copy of the production server.  I got the following errors when I
> accessed "wiki" and "blog"s. My wiki is made with "Book" module.
>
> Fatal error: require_once() [function.require]: Failed opening required
> 'Text/Wiki/Mediawiki.php'
> (include_path=':.:/usr/lib/php:/usr/local/lib/php') in
> /usr/lib/php/Text/Wiki.php on line 473
>
> You can check it out in my server : http://lnkd.info/wiki/agrodep-wiki
>
> I tried to fix it.
> I found that the file "Wiki.php" in  the /usr/lib/php/Text/ folder. But, I
> don't know how to fix it. My guess is that I need to fix it in the Drupal
> instead of   PHP file.
>
> Is there anyone who knows some clue or hint to fix this problem?
>
> Do I re-install new version of modules?
>
> Thanks for your help in advance. : )
>
> Best Regards,
>
> Soonho
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-- 
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list