[Zope] problem with a form in IE 7

Peter Bengtsson peterbe at gmail.com
Mon Dec 15 10:04:45 EST 2008


2008/12/15  <garry at schoolteachers.co.uk>:
> Quoting Peter Bengtsson <peterbe at gmail.com>:
>
>> Has nothing to do with Zope but...
>> Use Firefox to debug it and you'll get to see the error.
>> put method="post" on form tag and the submission won't be visible in the URL.
> I've had this happen with method=get in the past. Changing to post fixed it
> but...
> May be worth checking zope.conf:
>
> Directive: http-header-max-length
> #
> # Description:
> #     Maximum number of bytes allowed within a HTTP request header. The
> request
> #     is discarded and considered as a DoS attack if the header size exceeds
> #     this limit.
> #
> # Default: 8192
> #
> # Example:
> #
> #     http-header-max-length 16384
>

No. Don't fiddle with that. Get the form right. That's the basics.
It might be worth reading up and understanding the basic difference
between POST and GET and which to use when.

> Regards
> Garry
>>
>> 2008/12/11 C <baiewola at gmail.com>:
>>> We are running Zope 2.9.8 on Macintosh OS X Server 10.5.5 behind Apache 2.x.
>>>
>>> I am having a problem when trying to submit one of my forms in IE 7.  This
>>> only happens on Windows XP and it only started happening recently (we think
>>> in the past week).
>>>
>>> The form contains several select boxes.  When the user selects a value from
>>> one of the select boxes, it submits the form and processes the selection.
>>> The error I receive is an IE error that says:    "Internet Explorer Cannot
>>> Display the Webpage".
>>> And for some reason, all of my selectbox values are showing in the URL as
>>> parameters.   This is not supposed to happen.   If I remove the parameters
>>> from the URL line and press enter, it works fine.
>>>
>>> I have another page that works similar to this one (with multiple select
>>> boxes that submit the form upon selection), that doesn't experience the same
>>> problem.
>>>
>>> I even changed my form action to go to a plain html page, and it still tries
>>> to pass all of my form variables in the URL string.
>>>
>>> I went to Microsoft's trouble shooting page for this error.  I've tried
>>> deleting my browser history, clearing out any cached items, and also
>>> re-starting IE without "Add-Ons".  The server has been restarted as well.
>>> None of these options have resolved the issue.
>>>
>>> Neither the Apache log nor the Zope error log shows these errors.
>>> Has anyone encountered this problem?  If so, what have you done to resolve
>>> the issue?
>>> _______________________________________________
>>> Zope maillist  -  Zope at zope.org
>>> http://mail.zope.org/mailman/listinfo/zope
>>> **   No cross posts or HTML encoding!  **
>>> (Related lists -
>>>  http://mail.zope.org/mailman/listinfo/zope-announce
>>>  http://mail.zope.org/mailman/listinfo/zope-dev )
>>>
>>>
>>
>>
>>
>> --
>> Peter Bengtsson,
>> work www.fry-it.com
>> home www.peterbe.com
>> hobby www.issuetrackerproduct.com
>> _______________________________________________
>> Zope maillist  -  Zope at zope.org
>> http://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> http://mail.zope.org/mailman/listinfo/zope-announce
>> http://mail.zope.org/mailman/listinfo/zope-dev )
>>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>



-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list