new form access

tcole 30 Aug, 2010
I have created a new form via the wizard and when trying to submit data I get the following error:

You are not allowed to access this URL

I have checked with other forms that I have created and can't work out where to look to resolve this error.

Any help would be appreciated.

Cheers
GreyHead 30 Aug, 2010
Hi tcole,

From memory we see this mainly in two cases:[list]
  • There are <form> tags inside the Form HTML
  • There is some site URL redirection other than standard SEF URLs. We've seen it with a $live_site setting redirecting form sub-domains and occasionally with redirection from example.com to http://www.example.com
  • [/list]
    Please can you post a link to the form so that we can take a quick look.

    Bob
    GreyHead 31 Aug, 2010
    Hi tcole,

    The obvious thing wrong is the textarea at the end that displays HTML. Checking the page source it isn't properly closed
    <textarea class="cf_inputbox" rows="25" title="" id="text_18" cols="30" name="efplayenames">>/textarea>
    That closing tag should be </textarea>

    This removes the </form> tag from the form and my guess is that it sets off the Joomla! alarms when the data is submitted.

    Bob
    tcole 31 Aug, 2010
    Bob,
    Thanks for picking up that.
    I normally pick up on those, but I guess old age is now starting to affect me.😟

    Now that I have the 'guts' of what I doing, I can refine things.
    I do appreciate all your help.

    Cheers
    tcole 03 Sep, 2010
    Cookbook by Bob.

    I have just downloaded my PDF version and I have a 'real' version on it's way as well.

    Bob, we must be showing our age. You talk about punchcard programing, my wife was a punchcard operator many years ago.🙂

    Awsume job of the book, I have just skim a couple of sections, but plenty in there that I can use.

    Thanks heaps for the book.🙂

    Cheers, Terry
    GreyHead 03 Sep, 2010
    Hi Terry,

    Thanks for buying the book. My printed copies arrived yesterday aso I do now think that it is 'real'.

    Bob

    PS Nothing like dropping a box of punched cards to get you to take care of your code.
    This topic is locked and no more replies can be posted.