Roundcube Community Forum

 

Fatal error: Undefined class name 'pear' since rev 1291

Started by pong, April 28, 2008, 10:44:55 AM

Previous topic - Next topic

pong

i just tried an update from svn version 1269 to the latest 1339.
after uploading the files, i got
QuoteFatal error: Undefined class name 'pear' in /program/include/iniset.php on line 97

so i tried the update in little steps and found out that the error starts with rev 1291.
rev 1290 still works without error msg.

so at the moment i'm stuck with rev 1290.
is there more to upload/update then the usual /bin, /program /skins and the file index.php?

flosoft

What PHP version do you use?
did you set the correct permissions?

pong

php is version 4.4.4
i didn't change any permissions. i just uploaded the new files as before. when i saw the error, i did it again with the older rev 1290 and it worked again.

flosoft

As far as I know, you need PHP5 for pear, but please don't quote me on that :)

pong

so you mean starting with rev1291 it will not work with php older then 5?

JohnDoh

Thats correct, pong, rev1291 was the PHP5 update. v0.1.1 was the last release that supports PHP4. See http://trac.roundcube.net/wiki/GoingPHP5.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...