Download & Extend

Loading of Text_Wiki class from PEAR failed, yet 'filter settings' show no problem

Project:PEAR Wiki Filter
Version:5.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

I have managed to correctly install PEAR and the MediaWiki syntax. My folder structure is thus: /modules/pearwiki_filter-5.x-1.1/pearwiki_filter/Text/Wiki .

And, indeed, MediaWiki shows up as an option (automatically selected) on the filter settings page.

Yet when i try and create a node that has the PEAR MediaWiki syntax installed, and save/preview/view the node, it says:

Loading of Text_Wiki class from PEAR failed. Check your filter settings.

Yet, as said before, there are no errors on the filter settings page.

Any suggestions? Replies would be greatly appreciated...

heebie.

Comments

#1

It may also be worth saying that I have wikitools installed and I'm running PHP4.

#2

hi!
i have the same problem.
it says on the filtersettings:

"PEAR Text/Wiki installation not found. Looked in directory /home/czechart/public_html/oldidea/modules/pearwiki_filter/.
There should be a Text directory with a file Wiki.php in it."

it would not be a problem to create the directory, it is asking for, but there is no file wiki.php in the module folder....?

thanks for your help

#3

oh, sorry so much! i just read the readme-file...

#4

After reading the README, I am having problems getting it to see the Wiki.php.
I changed directories to:

/home/username/drupal/sites/all/modules/pearwiki_filter

I then ran the cvs command, it downloaded everything and put a Text folder into my pearwiki_filter directory. It is saying it is looking for Text/Wiki.php. Well, it is in there. I also double checked my Unix Permissions, the everything in pearwiki_filter is read/write.

Path of PEAR packages:
/home/username/drupal/sites/all/modules/pearwiki_filter/Text

Any help would be appreciated, thanks.

#5

I had the same problem.
After a quick look in the code, I suppose it's coming from an include that didn't work in the .module file.
It may not have permission to read (or write) the Wiki.php file.
I decided to give all rights to the Text/ folder and the folders/files it contains because the module may need permissions on other files and i didn't want to have new errors.

(using linux command(without quotes) : "chmod 777 -R Text/" :
777 = all rights ,
-R = recursively -> to apply the chmod to subfolders and files they contain)

Now, it works perfectly!

PS : I'm on Debian Squeeze & Drupal 6

nobody click here