AW: AW: [Zope] exUserFolder [Error: 'MessageDialog' is not defined]

Dieter Fischer dieter.fischer@grid-it.ch
Wed, 13 Nov 2002 18:23:48 +0100


Hello Andy

1. Have you also created the table USERPROPERTIES as it is in the schema
script?

2. Your are using the field m_admin_uid for the user, and not user_id, ye=
s?

Regards

PS: If you still have problems, you can call me, if you like

www.grid-it.ch

Regards

Dieter


>-----Urspr=FCngliche Nachricht-----
>Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von andy
>toenz
>Gesendet am: Mittwoch, 13. November 2002 18:05
>An: Dieter Fischer; zope@zope.org
>Betreff: Re: AW: [Zope] exUserFolder [Error: 'MessageDialog' is not
>defined]
>
>"Dieter Fischer" <dieter.fischer@grid-it.ch> schrieb am 13.11.02 17:31:2=
7:
>> I remember, I had this error message also once. I don't remember exact=
ly
>> what it was, but have you defined the tables correctly, and are
>you choosing
>> the right db connection. Be carefull, because of aquisition you
>might have
>> more than one.
>
>first: i only made one connection, cannot choose a wrong connection
>second:
>
>My table looked the following way:
>
>
>> mysql> describe user;
>+-------------+--------------+------+-----+---------+-------+
>| Field       | Type         | Null | Key | Default | Extra |
>+-------------+--------------+------+-----+---------+-------+
>| user_id     | int(11)      |      | PRI | 0       |       |
>| lang_id     | int(11)      |      | MUL | 0       |       |
>| group_id    | int(11)      |      | MUL | 0       |       |
>| lastname    | varchar(64)  |      |     |         |       |
>| firstname   | varchar(64)  | YES  |     | NULL    |       |
>| m_admin_uid | varchar(30)  |      |     |         |       |
>| m_admin_pwd | varchar(30)  |      |     |         |       |
>+-------------+--------------+------+-----+---------+-------+
>
>then i added
>+-------------+--------------+------+-----+---------+-------+
>| roles       | varchar(255) | YES  |     | NULL    |       |
>+-------------+--------------+------+-----+---------+-------+
>to the table above
>
>Should work, nor ?
>I think it should because in the doku is the following snipplet:
>
>"The required schema is very simple. You need to store usernames,
>passwords,
>and roles. If your existing schema doesn't support a roles column you wi=
ll
>have to add one."
>
>*hrm*
>
>+Z MySQL Database Connection at  /MySQL_database_connection
>+The database connection is open.
>________________________________________________________________
>Viren? Wir wissen nicht was Ihr Arzt empfiehlt. Wir empfehlen den
>Virencheck f=FCr Dateianh=E4nge! http://freemail.web.de/features/?mc=3D0=
21159
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>