[Zope] GUF & SQL login problems

Dieter Maurer dieter@handshake.de
Tue, 4 Sep 2001 23:58:59 +0200 (CEST)


Milos Prudek writes:
 > > > I want to set up not-encrypted SQL login, using GenericUserFolder
 > > > README, a walkthrough and GUF_SQL_crypt howto.
 > 
 > > Out of despair I changed the userAuthenticate to only have one line:
 > > <dtml-return "_.int('1')">
 > 
 > spent some 6 hours trying to get GUF working with postgresql... read all
 > docs twelve times over... Any attempt tp log in results in the following
 > log:
 > 
 > 127.0.0.1 - - [03/Sep/2001:22:11:20 +0200] "POST
 > /guftest/acl_users/loginSuccess HTTP/1.1" 302 7199
That is a "redirect" -- not too bad....
 > "http://localhost/guftest/index_html" "Mozilla/5.0 (compatible;
 > Konqueror/2.1.1; X11)"
 > 127.0.0.1 - - [03/Sep/2001:22:11:20 +0200] "GET /guftest/index_html
 > HTTP/1.1" 500 2199 
That is a "Internal Server Error", quite bad!

Activate Zope logging by adding "STUPID_LOG_FILE=your_log_file"
to the start of "z2.py".

Look into this log file. I would expect a GUF error log entry....


Dieter