Forums

$posted array is empty

king.lui 19 Jun, 2009
Hi all. I think chronoforms is really the best form component. I used Phil Taylors Forms but always with ajax problems on other components and modules. But i can't get chronoforms work. The $posted array is empty so always comes "You are not allowed to access this URL" - or after deleting the code-line: 'You are not allowed to access this URL directly, POST array is empty'. I#ve tested the posted and REQUEST vars ... no formdata. It's really a big probem.

Another question: why chronoforms doesn't has sef-urls with joomlas core sef? After sending I have a index.php?option=com_chronocontact&task=send&chronoformname=kontakt&Itemid=113

Thanks and best regards

king.lui
GreyHead 19 Jun, 2009
Hi king.lui,

Can you post a link to a form so that we can take a look? Please also turn debug on in the General Tab.

Bob

PS I've no idea about SEF URLs, Max may know more.
king.lui 19 Jun, 2009
Hi GreyHead.
I've sent you a pm.
Thx and Cheers..
GreyHead 19 Jun, 2009
Hi king.lui,

I think this is one for your ISP. The POST values are being submitted from the form OK - but they are being stripped somewhere in the server and the dump array is shown in place of the usual debug display.

It could well be a mod_security setting . . . I don't understand mod_security though.

Bob

PS Those 301 messages are odd too
king.lui 19 Jun, 2009
the 301 messages are fixed .. thanx :-)
for the mod_secirity I will ask my isp. i will give you feedback.
thanks a lot. cheers..
king.lui 19 Jun, 2009
LOL .. I can tell you my error.

baseurl was domain.con instead of <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w -->
in htaccess i have a RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

after changing the baseurl to <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w --> all is fine now.

thanks a lot and best regards.
GreyHead 19 Jun, 2009
Hi king.lui,

Great, glad it's fixed and useful to know the cause - thanks.

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