Forum OpenACS Q&A: Error when registering

Collapse
Posted by Brian Mueller on
On the new 3.2.2 release: When I submit my login at registration.tcl, this occurs:
Filter sec_read_security_info
returned error #1: too few arguments given 
for "ad_verify_and_get_user_id"
sec_read_security_info, in ad-security.tcl, calls [ad_verify_and_get_user_id] without arguments. I'm a little confused as to whats correct because ad_verify_and_get_user_id is defined as an ad_proc. There's a bunch of other calls to ad_verify_and_get_user_id without arguments. Is setup (or lack of it) affecting this somehow?
Collapse
Posted by Brian Mueller on
The argument/default pairs in ad_verify_and_get_user_id are valid (of course, any tcl problem here would have been found long before me). Not sure how to proceed here. I've tried linking ./bin/nsd to both nsd76 and nsd8x to see if that made any difference.

Now running postgres 7.0, btw.

Collapse
Posted by Dan Wickstrom on
It's probably a configuration error.  Did you upgrade from a previous version of openacs?  I had a similar problem when I upgraded, and it was due to my browser being cookied with an old security token, which was wiped out of the db when I upgraded.  Restarting the browser fixed the problem.
Collapse
Posted by Brian Mueller on
Thanks for the help, Dan. The problem was in configuring an upgrade.