Yesterday I could add users to my database, and now I'm getting a strange error. I haven't changed the "add_User" function since it started working. I also cannot delete users or list users. Here's the error I get: Z SQL Method at /Zope / WebSolveDev / add_User Error, exceptions.NameError: test SQL used: insert into Users (firstname, lastname, email, institution, telephone, lastvisit, passwordvalue, passworddate, groupname) values ('Amanda', 'Hust', 'sunshyne@unm.edu', 'UNM', 'private', 'Wed, Aug 8, 1999', 'testval', 'Wed, Aug 8, 1999', 'Student') And here's the Trace: Traceback (innermost last): File /usr/local/Zope-2.0.0a4-src/lib/python/ZPublisher/Publish.py, line 256, in publish_module File /usr/local/Zope-2.0.0a4-src/lib/python/ZPublisher/Publish.py, line 161, in publish File /usr/local/Zope-2.0.0a4-src/lib/python/ZPublisher/mapply.py, line 154, in mapply (Object: manage_test) File /usr/local/Zope-2.0.0a4-src/lib/python/ZPublisher/Publish.py, line 98, in call_object (Object: manage_test) File /usr/local/Zope-2.0.0a4-src/lib/python/Shared/DC/ZRDB/DA.py, line 310, in manage_test (Object: add_User) File /usr/local/Zope-2.0.0a4-src/lib/python/Shared/DC/ZRDB/DA.py, line 291, in manage_test (Object: add_User) File /usr/local/Zope-2.0.0a4-src/lib/python/Shared/DC/ZRDB/DA.py, line 395, in __call__ (Object: add_User) File /usr/local/Zope-2.0.0a4-src/lib/python/Products/ZGadflyDA/db.py, line 175, in query File /usr/local/Zope-2.0.0a4-src/lib/python/Products/ZGadflyDA/gadfly/gadfly.py, line 339, in execute File /usr/local/Zope-2.0.0a4-src/lib/python/Products/ZGadflyDA/gadfly/sqlmod.py, line 573, in relbind File /usr/local/Zope-2.0.0a4-src/lib/python/Products/ZGadflyDA/gadfly/gfdb0.py, line 222, in get_for_update NameError: (see above)
participants (1)
-
Donald Holten