I've installed LoginManager exactly (AFAICT) according to <http://www.zope.org/Members/dlpierson/sqlLogin>, and when I try to access the protected folder I get the login form, but when I enter the username and password into that form and submit it, I just get the same form back again. I've tested the SQL Methods invidividually and they work fine. I'm at a loss as to how to test the other components: ZClass, DataSkin, etc. I've tried running Zope with -D and -M, but nothing in the few trace messages indicates any problem. The username I inserted into the SQL database does not match any Zope username in the (standard, top-level) acl_user folder for the site. Does that matter? I've spent several hours looking over the ZPatterns Wiki pages and the various LoginManager web pages, and I'm starting to understand the mechanism involved in LoginManager, but I don't understand it well enough to know where I could put in a breakpoint that would help me understand why login is not working. So, could someone suggest what I could try next to diagnose this problem? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
Fred, I encountered the same problem. I soon realized that the ZPatterns that is packaged with LoginManger is a version different to the one Dan Pierson mentions in his article. My resolution was to upgrade my ZPatterns to version 0.4.3b2, recreate my LoginManager folder (i.e. delete the old version and create a new one) and then follow the LoginManager set up instructions. To save time I copied my SQL methods to another folder so I didn't have to recreate them. I hope this helps. Cheers Nick -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Fred Yankowski Sent: 26 January 2001 17:47 To: zope@zope.org Subject: [Zope] LoginManager, can't get past login form I've installed LoginManager exactly (AFAICT) according to <http://www.zope.org/Members/dlpierson/sqlLogin>, and when I try to access the protected folder I get the login form, but when I enter the username and password into that form and submit it, I just get the same form back again. I've tested the SQL Methods invidividually and they work fine. I'm at a loss as to how to test the other components: ZClass, DataSkin, etc. I've tried running Zope with -D and -M, but nothing in the few trace messages indicates any problem. The username I inserted into the SQL database does not match any Zope username in the (standard, top-level) acl_user folder for the site. Does that matter? I've spent several hours looking over the ZPatterns Wiki pages and the various LoginManager web pages, and I'm starting to understand the mechanism involved in LoginManager, but I don't understand it well enough to know where I could put in a breakpoint that would help me understand why login is not working. So, could someone suggest what I could try next to diagnose this problem? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA _______________________________________________ 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 )
Nick, Thank you! Installing the latest ZPatterns did the trick, exactly as you said. EXcellent. But I still wish I had some way to test the pieces of the application, or to at least trace their operation. ZPatterns is a bit too opaque for my taste, particularly given its complexity, unfamiliarity and immaturity (in the sense of being new and not fully developed). On Fri, Jan 26, 2001 at 06:12:52PM +1300, Nick McDowell wrote:
I encountered the same problem. I soon realized that the ZPatterns that is packaged with LoginManger is a version different to the one Dan Pierson mentions in his article.
-- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
participants (2)
-
Fred Yankowski -
Nick McDowell