The problem is the generated action="" path. On interior pages it becomes action="http://www.domain-name.com/page-alias/" and it should be action="http://www.domain-name.com/[b]index.php[/b]" regardless of the hierarchy.
The root of the problem is in this file:
/lib/classes/module_support/modform.inc.php
The new version (1.5.2) uses the current page's URL action="" . See line 35:
Code: Select all
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
Code: Select all
$pageURL .= $_SERVER["SERVER_NAME"] . $_SERVER['PHP_SELF'];
Code: Select all
function __curPageURL() {
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
return $pageURL;
}
Code: Select all
function __curPageURL() {
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"] .":".$_SERVER["SERVER_PORT"]. $_SERVER["PHP_SELF"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"] . $_SERVER['PHP_SELF'];
}
return $pageURL;
}
I submitted a bug ticket here: http://dev.cmsmadesimple.org/bug/view/3021
.