[Zope] Wierd Errors

Shaw, Howard ShawH@STHS.org
Wed, 21 Apr 1999 12:30:30 -0500


I am having a strange error pop up, and would appreciate any help.

I am calling this document with the result of a form.

 <!--#with REQUEST-->
  <!--#call "REQUEST.set('uidtaken',0)"-->
  <!--#in checkuiddb-->
   <!--#call "REQUEST.set('uidtaken',1)"-->
  <!--#/in-->
 <!--#/with-->
 <!--#if "REQUEST['uidtaken']"-->
  <!--#with REQUEST-->
   <!--#in checkpassdb-->
    <!--#if valid-->
     <!--#call "RESPONSE.setCookie('uid',uid,expires=900)"-->
     <!--#call "RESPONSE.setCookie('password',password,expires=900)"-->
     <!--#var "RESPONSE.redirect('http://www.sths.org/index.html')"-->
    <!--#else-->
     <!--#call "REQUEST.set('login_failed','Invalid Password')"-->
    <!--#/if-->
   <!--#/in-->
  <!--#/with-->
 <!--#else-->
  <!--#call "REQUEST.set('login_failed','Invalid Username')"-->
 <!--#/if-->

And this is the error I am getting.

Invalid Header (0): 

Traceback (innermost last):
  File lib/python/ZPublisher/Publish.py, line 877, in publish_module
  File lib/python/ZPublisher/Publish.py, line 590, in publish
    (Info: /genus/uber/login_response)
  File lib/python/OFS/DTMLDocument.py, line 214, in __call__
    (Object: login_response)
  File lib/python/OFS/DTMLMethod.py, line 338, in decapitate
ValueError: (see above)

I am using Netscape 3.04 Gold to access Zope 1.10.2 on Zap. Please help.
Howard C. Shaw III
Programmer/SysAdmin
St. Thomas High School