Dear Scott.

On Saturday, November 9, 2002, at 10:12 GMT -05
  (21:12, the same day my local time), 
 you wrote about "[SM-USERS] MySQL Addressbook", at least in part:

 
SC> I am trying to setup the MySQL global addresbook and I am having a little
SC> trouble.  I was wondering if anyone could clarify the steps I need to go
SC> through to set this up?  I think I am just over looking something
SC> (modifying the oringinal address book code).
You should check PEAR DB installations at first. The last version you
can easily get by doing:
lynx -source http://pear.php.net/go-pear | php -q

After this you should create  mysql base as described in
doc/db-backend.txt 

In conf.pl script choose 9 (Database) and set DSN for Address Book and
DSN for Preferences exactly like in the example (doc/db-backend.txt).

You can get an error like the following :
 Fatal error: Call to undefined function: iswarning() in
 /var/www/htdocs/mail/functions/db_prefs.php on line 111

For resolving, comment this function in php code (may be it was
fixed in last releases - I don't know)
//        if(DB::isError($dbh) || DB::isWarning($dbh)) {
         if(DB::isError($dbh) ) {

That's all. I have a working SM 1.2.8 php 4.1.2.

PS. Global address book you can put into mysql base too. For this
check plugin section of SM http://www.squirrelmail.org/


-- 
Yours sincerely
        Serge Leschinsky        mailto:fish@;artlife.tomsknet.ru          



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to