I've been busting my brain trying to debug two modules where forms are returning 404 errors. I traced the problem down to text boxes. When they were commented out, the form(s) worked properly. It may be a coincidence that this is happening in two completely distinct modules at the same time that I upgraded postnuke but, coincidence or not, there must be a solution.
I'd love to hear back from anyone who is experiencing a similar problem or who has dealt with it in the past. I don't want anyone to get the wrong impression and assume I'm blaming this on the CMS. I'm not! Given that one of the modules is an obsolete module I'm trying to bring into compliance and that the other is in alpha development, the possiblility (probability) that the problem rests within the modules themselves cannot be overlooked.
Still, I haven't been able to figure out what's wrong and any help I can get in localizing and resolving this would be greatly appreciated.
Slugger
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mdee responded to »Short URL questions« 12:02 AM
- mesteele101 responded to »Problem in Database Connection« 21. May
- mesteele101 created topic »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 20. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
- mesteele101 created topic »File packaging« 16. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Text boxes causing forms to return 404 errors on submit
-
- Rank: Expert
- Registered: Mar 11, 2003
- Last visit: Oct 21, 2009
- Posts: 1104
-
- Rank: Expert
- Registered: Mar 11, 2003
- Last visit: Oct 21, 2009
- Posts: 1104
Figured out one of the problems...it was a bug in the module. Still haven't figured out the other though. -
- Rank: Expert
- Registered: Mar 11, 2003
- Last visit: Oct 21, 2009
- Posts: 1104
OK. It was a coincidence and not a PN problem. I figured out the problem with the second module. Actually I figured out a fix, I still don't understand why it was a problem. Originally the textbox was defined by the following:Once I changed it toCode
<input type="text" name="name['.$i.']">it worked fine. Anybody have any background on why you can't name a text box name[] and, if so, why it would redirect the form to a page that doesn't exist? I wonder what other names would cause this.Code
<input type="text" name="title['.$i.']">
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
