From: Erhard G. <E.G...@pi...> - 2006-01-25 21:40:59
|
Hi, I tried to do the steps mentioned by Tomas (below). No I am getting the following errors when I try to open the calendar link in squirrelmail (or when I try to administer the calendar):: *Warning*: main(DB.php): failed to open stream: No such file or directory in */srv/www/htdocs/squirrelmail/plugins/calendar_sql_backend/functions.php* on line *12* *Warning*: main(): Failed opening 'DB.php' for inclusion (include_path='.:') in */srv/www/htdocs/squirrelmail/plugins/calendar_sql_backend/functions.php* on line *12* *Fatal error*: Undefined class name 'db' in */srv/www/htdocs/squirrelmail/plugins/calendar_sql_backend/functions.php* on line *37 *I looked into functions.php, line 12 and found the following statement: include_once('DB.php'); The error message above is correct because there isn't any file named DB.php in the calendar_sql_backend directory and I don't have any idea where I should get this file. Does anyone have some tips for me. regards Erhard Gruber * * Tomas Kuliavas wrote: > > > >>Hello, >> >> >>I try to install a shared calendar for my users. >>I'm using squirrelmail 1.4.2. >>MySQL/php is running. >> >> >>I'm new to squirrelmail plugins and I've some questions: >> >> >>- When I'm installing the calendar_sql_backend, what have I to set as >>DSN? MySQL is running on my machine, but I didn't create any tables. >>Have I to do this manually? >> >> > >Have you checked "Data Schema" chapter in plugins/calendar_sql_backend/README > > > >>I think DSN should point to the MySQL >>database, but to which point exactly (syntax/example) ??? >> >> > >http://pear.php.net/manual/en/package.database.db.intro-dsn.php > > > >>- Which additional plugins are nessecary? I think 'shared calendars' >>and 'Calendar'. Do I need the compatiblility plugin? >> >> > >Quote from http://www.squirrelmail.org/plugin_view.php?id=105 > >Requires: PHP 4.1.0, SM 1.4.0, Compatibility Plugin, Calendar backend plugin > >it looks like plugin needs compatibility 1.x plugin. > > > >>- Are there anywhere step-by-step instructions to install/configure it? >>I didn't find anything. >> >> > >* rename original calendar plugin directory > >* unpack compatibility, shared_calendars and calendar_sql_backend plugins >in plugins/ directory. shared_calendars is unpacked in calendar directory. > >* create calendar_sql_backend and calendar plugin configuration files. >information can be found in README and INSTALL files in plugin >directories. > >* create sql database tables according to data schema in >plugins/calendar_sql_backend/README. > >* enable calendar_sql_backend and calendar plugins in squirrelmail >configuration utility (conf.pl). > > > > -- ;-------------------------------------------------------------- D.I. Erhard Gruber phone: +43-732-7470-2210 Pädagogisches Institut Linz Kaplanhofstr. 40 A-4020 LINZ email: eg...@pi... AUSTRIA www: http://www.pi-linz.ac.at |