Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 11:30 am EST
Geeklog Forums
Poll Booth Rewriting URL on POST
mrlynn
Anonymous
I'm having a strange problem that may be related to a custom plugin I've writting (Newsletter Issues - as yet unreleased). The question has more to do about a possible issue with url rewriting.
The problem is manifested by Votes not registering. When a user clicks an option from the pollbooth and clicks Vote, it's almost like the action of the form statement has been changed because it never gets to pollbooth.php.
Examining the source before submitting the vote, it shows the form:
If I take this form and copy it to a new file, select an item from the list and submit, it works fine!!! Running from the main geeklog display, it appears to submit to the following url:http://lintel.worldnet.ml.com/ulnews_development/?issue=&qid=mltech&aid=1 (assuming I chose option 1.My question is - what portion of the code rewrites that url? It never even appears to get to pollbooth.php.Thanks in advance.mike
The problem is manifested by Votes not registering. When a user clicks an option from the pollbooth and clicks Vote, it's almost like the action of the form statement has been changed because it never gets to pollbooth.php.
Examining the source before submitting the vote, it shows the form:
Text Formatted Code
One<br>Two<br>Three<br><a href="http://lintel.worldnet.ml.com/ulnews_development/pollbooth.php?qid=mltech&aid=-1">Results</a>If I take this form and copy it to a new file, select an item from the list and submit, it works fine!!! Running from the main geeklog display, it appears to submit to the following url:http://lintel.worldnet.ml.com/ulnews_development/?issue=&qid=mltech&aid=1 (assuming I chose option 1.My question is - what portion of the code rewrites that url? It never even appears to get to pollbooth.php.Thanks in advance.mike
7
6
Quote
mrlynn
Anonymous
Sorry folks - the form example was converted by geeklog during submission. I tried to use & l t ; and & g t ; and PRE tags bug it converted it anyway.
Anyway - it's a standard form with pollbooth.php assigned as the action.
4
4
Quote
All times are EST. The time is now 11:30 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content