[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-users] Autocreation of account, some problem. Seems solved
From: |
Marco Gaiarin |
Subject: |
[Phpgroupware-users] Autocreation of account, some problem. Seems solved. ;) |
Date: |
Wed, 30 Oct 2002 13:52:19 +0100 |
User-agent: |
Mutt/1.3.28i |
I've setup auth thru email (IMAP), and works perfectly.
I've also setup autocreation of user (if authentication succeded), but
if i try to login, eg, with user gabri, auth works:
Oct 30 13:41:59 neo imapd[5388]: connect from mouse.sv.lnf.it
Oct 30 13:41:59 neo imapd[5388]: imap service init from 10.5.1.7
Oct 30 13:41:59 neo imapd[5388]: Authenticated user=gabri host=mouse.sv.lnf.it
[10.5.1.7]
Oct 30 13:41:59 neo imapd[5388]: Logout user=gabri host=mouse.sv.lnf.it
[10.5.1.7]
but browser display:
Database error: Invalid SQL: SELECT account_type FROM phpgw_accounts WHERE
account_id=
PostgreSQL Error: 1 (ERROR: parser: parse error at or near "" )
File: /usr/share/phpgroupware/phpgwapi/inc/class.accounts_sql.inc.php
Line: 232
Session halted.
Fatal error: Call to undefined function: parse_navbar_end() in
/usr/share/phpgroupware/phpgwapi/inc/footer.inc.php on line 62
seems that autocreation does't work at all, or i've forgot something?!
I've looked at that file, that line, and tried:
$this->db->query("SELECT account_type FROM phpgw_accounts WHERE
account_id='".$account_id."'",__LINE__,__FILE__);
//$this->db->query("SELECT account_type FROM
phpgw_accounts WHERE
account_id=".$account_id,__LINE__,__FILE__);
and works. ;-)
I've to file a bug?!
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN)
gaio(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
Difendiamo la Legge 185/90 dall'assalto della lobby delle armi.
Blocchiamo subito il disegno di legge n. 1927.
http://web.vita.it/185/
http://www.retelilliput.org/petizioni/
http://www.banchearmate.it/
- [Phpgroupware-users] Autocreation of account, some problem. Seems solved. ;),
Marco Gaiarin <=