By gpciceri on
Hello all,
I've done a simple php page displaying a form and tested it (of course succesfully) on my local box.
Now I've transplanted it on my online portal, at http://www.turismovacanze.com/TestPromoCode
(sorry for the implicit spam), but if I try to click the button I'm redirected to the home page.
Of course there should be misconfiguration somewhere...
Any help will be highly appreciated.
TIA
/gp
p.s.: the page is a simple promo code management hack. If you think it could be useful I'll post the code.
Comments
further tests... but I take this behaviour in local, too.
First of all I'm able to reproduce this very behaviour in local, too.
So this is not a "fuzzy" behaviour, but a costant one.
Now my tests:
I've tried disabling clean urls -> no effect.
I've tried the suggestions in this topic, http://drupal.org/node/view/7920 -> no effect.
I've tried the suggestions in this topic, http://drupal.org/node/view/4929 -> no effect.
but see my next comment: it is not true.
I've tried to compare phpinfo() output for my local box and my portal... it seems no significant difference.
Any idea to make me do some further testing ?
TIA
/gp
it seems solved: it's a form_submit issue
I've reviewed a past suggestion, http://drupal.org/node/view/4929
more carefully, and it seems you *have* to specify form_submit $name
parameter to solve this problem.
This is my working form code generation snippet.
Hope this helps, sorry for the waste of bandwidth.
Regards
/gp