You are not allowed to access this URL

pphfl 10 Feb, 2009
Forms 3.0
Joomla 1.5

Created a form using the wizard, like I have done times before.

Once the form is submitted it goes to a blank page stating "You are not allowed to access this URL"

I have another form on our site using the same method that works perfect.

What is going on? Is this script this buggy?
GreyHead 10 Feb, 2009
Hi pphfl,

Evidently it's not that buggy . . .

There are two main causes of this message[list]
  • Stray <form . . .> or </form> tags in the Form HTML
  • The Joomla Session token not being stored or timing out
  • [/list]

    Bob
    pphfl 10 Feb, 2009
    <div  class="form_item"><div class="form_element cf_heading"><h1 id="" class="cf_text">View our webinar, fill out the form below.</h1></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">First Name:</label><input class="cf_inputbox required" maxlength="150" size="30" id="text_1" name="text_1" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Last Name:</label><input class="cf_inputbox required" maxlength="150" size="30" id="text_5" name="text_5" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Company:</label><input class="cf_inputbox required" maxlength="150" size="30" id="text_2" name="text_2" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Email Address:</label><input class="cf_inputbox required validate-email" maxlength="150" size="30" id="text_4" name="text_4" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Phone Number:</label><input class="cf_inputbox required validate-digits" maxlength="20" size="30" id="text_3" name="text_3" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_button"><input value="Submit" name="undefined" type="submit"></div><div class="clear"> </div></div>


    Tried this hack with no success -
    <?php echo JHTML::_( 'form.token' ); ?>
    willson 10 Feb, 2009
    The html code often seems to be the immediate cause for this message, at least, when I run into it when writing forms.
    Perhaps having a blank id="" in the h1 tag is part of the problem.
    Pure speculation on my part.
    pphfl 10 Feb, 2009
    I cleaned up the following, but still experiencing the same issue.
    <div class="form_element cf_heading"><h1 id="" class="cf_text">View our webinar, fill out the form below.</h1>
    Max_admin 10 Feb, 2009
    Hi pphfl,

    do you have SEF ON ? try it OFF ?

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    pphfl 11 Feb, 2009
    SEF is on.. My site will not operate with it off.

    The other form is working great
    Max_admin 11 Feb, 2009
    No problems, I only wanted to test, can you show me the link to the form ?

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    This topic is locked and no more replies can be posted.