Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

Text boxes causing forms to return 404 errors on submit  Bottom

  • 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
  • Figured out one of the problems...it was a bug in the module. Still haven't figured out the other though.
  • 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:

    Code

    <input type="text" name="name['.$i.']">
    Once I changed it to

    Code

    <input type="text" name="title['.$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.
  • 0 users

This list is based on users active over the last 60 minutes.