Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact form does not work on some systems #49

Closed
nemesifier opened this issue Nov 18, 2011 · 8 comments
Closed

Contact form does not work on some systems #49

nemesifier opened this issue Nov 18, 2011 · 8 comments
Assignees
Labels

Comments

@nemesifier
Copy link
Member

On Centos + Firefox 8 doesn't work.

Not 100% sure is related with OS and browser, could be related to network settings on single machines. In the second case it would be nice to have a nice error instead of the form just not working and looking broken.

@ghost ghost assigned nemesifier Nov 18, 2011
@nemesifier
Copy link
Member Author

Theres also another issue happening on chrome that causes the mask of the overlay to fade away when pressing enter in the textbox. I haven't been able to reproduce the issue voluntarily.

@nemesifier
Copy link
Member Author

I close this ticket because I haven't received feedback on this issue for a long time.

@nemesifier
Copy link
Member Author

This is happening again.

@nemesifier
Copy link
Member Author

I can reproduce this only with Firefox on Mac OS x

@lorenzobracciale
Copy link
Member

AFAIK firefox does send the POST. I think django form is invalid (maybe the "referred" field or other fields are not completed properly?). Maybe something in the clear method of the Contact Form, more to come :)

@lorenzobracciale
Copy link
Member

Debugging.
This form.data does not validate (is_valid() = false) and generates the "silent" error:

QueryDict: {u'node': [u'6825'], u'from_name': [u'fdfd'], u'http_referer': [u'http://devmap.ninux.org/'], u'math_captcha_question': [u'c76755942720f23bac87e4324a08383c233688c736202b2034'], u'from_email': [u'dsdsds@me.com'], u'user_agent': [u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.1'], u'accept_language': [u'en-us,it-it;q=0.8,it;q=0.5,en;q=0.3'], u'ip': [u'79.49.20.240'], u'csrfmiddlewaretoken': [u'696a8ac19cdf97172f0cce85647411f6'], u'message': [u'dsds'], u'math_captcha_field': [u'10']}

@lorenzobracciale
Copy link
Member

This one instead is ok (safari + mac, the previous is firefox + mac):

QueryDict: {u'node': [u'6825'], u'from_name': [u'dsdsds'], u'http_referer': [u'http://devmap.ninux.org/'], u'math_captcha_question': [u'c76755942720f23bac87e4324a08383c233688c736202b2034'], u'from_email': [u'dsds@me.com'], u'user_agent': [u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2'], u'accept_language': [u'en-us'], u'ip': [u'79.49.20.240'], u'csrfmiddlewaretoken': [u'8074967cfaade6cf9c1914633edbc291'], u'message': [u'prova'], u'math_captcha_field': [u'10']}

What change?

@nemesifier
Copy link
Member Author

Ma voi vedè che è lo user-agent maledetto che sputtana tutto? Mo faccio una prova..

lorenzobracciale added a commit that referenced this issue Jun 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants