I upgraded form 0.13 to 1.0.2 and now the contact us form wont work.
The form shows up but when I hit submit I get a 404.
Must be missing a file
Any suggestions?
Thanks
Ye I don't understand either because the form shows up.Dee wrote: That's odd, I tried the contact_form tag and it works fine here.
I get the 404 page: 404 Looks like this page has been lost.Where does it redirect you to (that you get a 404)?
Thanks a lot for this, folks!Dee wrote: The contact_form plugin is fixed in SVN:
http://viewsvn.cmsmadesimple.org/viewsv ... 9&view=rev
The latest version can be downloaded here.
It is broken actually... it takes the REQUEST_URI (for example index.php?page=contact) and adds the QUERY_STRING, resulting in an invalid URL: index.php?page=contact?page=contactteackele wrote: fix works with internal pretty urls... haven't checked if its broken with normal url's
Code: Select all
if (isset($_SERVER['REQUEST_URI']))
{
$action = $_SERVER['REQUEST_URI'];
}
else
{
$action = isset($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : '';
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') {
$action .= '?'.$_SERVER['QUERY_STRING'];
}
}
Normally: submit your patch in the core (or some module) tracker.teackele wrote: how to get this in the devtree??