All forms giving error You are not allowed to access this UR

ashishb01 04 Aug, 2010
Hi,

My forms were working fine and were Live. Suddenly couple of users complained that the forms are giving "You are not allowed to access this URL ".

I tried to enter the data and got the same error. I do not quite understand how this could have happened.. Its happening in FF and IE alike...

I tried to make the checkToken to OFF, still getting the error. Please suggest, production down with limited functionalities
GreyHead 04 Aug, 2010
Hi ashishb01,

There's a small code change that might help described in this post

Bob
ashishb01 07 Aug, 2010
Thanks greyhead,

I referred to that solution, but it didnt work out. I got a new error: You are not allowed to access this URL directly, POST array is empty

Then I searched the forum and came to know that this could be caused by 301 redirect (http://mysite.com to http://www.mysite.com). This worked out to the the case for me.....

Here is what I did:

I opened up the configuration.php from root and changed the $live_site value from http://mysite.com to http://www.mysite.com and things started working fine.

My question is that "Is it a safe option to do this? Or I sould not be playing around with the config file?"
GreyHead 07 Aug, 2010
Hi ashishb01,

Fredrik (nml375) has posted about the livesite setting. If I remember correctly his advice was not to use it (i.e. leave it blank in he config file) and to let Joomla handle the URL changes.

Bob
PaidToWrap 27 Aug, 2010
Hey guys,
I've got a problem still with these forms and can't figure out what the heck is going on.

I have set up 2 forms using ChromoForms and I've also paid for the unbranded version (don't know if that means anything).
http://www.paidtowrap.com/index.php/driver-application
http://www.paidtowrap.com/index.php/advertiser-application

Parse error: syntax error, unexpected '-', expecting ',' or ';' in /home/content/b/e/f/befit4free/html/paidtowrap/components/com_chronocontact/chronocontact.php(53) : eval()'d code on line 10
You are not allowed to access this URL directly, POST array is empty



I'm in a hurry to get this taken care of, as I'm trying to launch this new business but can't get the forms to work! PLEASE HELP!!!
GreyHead 27 Aug, 2010
Hi PaidToWrap,

Please don't shout or double post, it's less likely to get you an prompt answer.

And, as far as I can see you still have a problem with URLs on your site. But I'm not sure what that is. Have you checked for 301 redirects and live-site settings?

The error you posted is a problem with the DB Connection. Usually this arises from an column/input name with a dash, space or other special character in it.

Bob
This topic is locked and no more replies can be posted.