Hi Alex,

I continued debugging a bit and found DB::Connect to fail using the
DSN: "pgsql://mail:[EMAIL PROTECTED]/mail"

So the missing extension refers to "pgsql" I assume? How can this be?
The example 01connect.phpt script delivered with pear WORKS as I
stated before ...

Thanks
Chris


Saturday, July 12, 2003, 5:38:17 PM, you wrote:


>> I finally tracked down the problem to the fact, that squirrel is
>> trying to cache the user preferences in dbPrefs.php and obviously
>> fails, as there is NO record in the prefs table.
>>
>> It a new install and the address and user preferences tables are as
>> empty as they get created due to the doc/db-backend.txt manual.
AL> Chris, normally you should have nothing to do. It is expected to have
AL> empty tables at start, of course, like file prefs.
AL> Could you check with psql that you have something like:
=>> \d userprefs
AL>              Table "public.userprefs"
AL>  Colonne  |          Type          | Modifications
AL> ----------+------------------------+---------------
AL>  username | character varying(128) | not null
AL>  prefkey  | character varying(64)  | not null
AL>  prefval  | text                   |
AL> Index: userprefs_pkey primary key btree (prefkey, username)
AL> (without public. if pgsql <7.3.x).

AL> Table and field names may vary, as they can be redefined in config.php:
AL> $prefs_table = 'userprefs';
AL> $prefs_user_field = 'username';
AL> $prefs_key_field = 'prefkey';
AL> $prefs_val_field = 'prefval';

AL> HTH again ;)
AL> Alex.



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
--
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