Author Topic: Fatal error: Undefined class name 'pear' since rev 1291  (Read 8104 times)

Offline pong

  • Newbie
  • *
  • Posts: 3
Fatal error: Undefined class name 'pear' since rev 1291
« on: April 28, 2008, 10:44:55 AM »
i just tried an update from svn version 1269 to the latest 1339.
after uploading the files, i got
Quote
Fatal 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?

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Fatal error: Undefined class name 'pear' since rev 1291
« Reply #1 on: April 28, 2008, 01:26:51 PM »
What PHP version do you use?
did you set the correct permissions?

Offline pong

  • Newbie
  • *
  • Posts: 3
Fatal error: Undefined class name 'pear' since rev 1291
« Reply #2 on: April 28, 2008, 03:08:22 PM »
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.

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Fatal error: Undefined class name 'pear' since rev 1291
« Reply #3 on: April 28, 2008, 03:10:04 PM »
As far as I know, you need PHP5 for pear, but please don't quote me on that :)

Offline pong

  • Newbie
  • *
  • Posts: 3
Fatal error: Undefined class name 'pear' since rev 1291
« Reply #4 on: April 30, 2008, 02:10:08 AM »
so you mean starting with rev1291 it will not work with php older then 5?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Fatal error: Undefined class name 'pear' since rev 1291
« Reply #5 on: April 30, 2008, 03:18:28 AM »
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ā€¦