So here’s where I’m at. I have a template (actions/test) with a simple PHP capture for a form like so:
<?php
error_reporting(E_ALL);
global $IN;
$theClause = $IN->GBL('blarftastic','POST');
echo $theClause;
?>
On two different templates (root/index, tours/index), I have the same form:
<form method="post" action="/actions/test">
<input type="text" name="blarftastic"><input type="submit">
</form>
Submitting the form from ‘root/index’ template works just fine; however, submitting the same form from ‘tours/index’ shows… nothing. I even created new templates in the ‘tours’ template group and tried. No luck. Then I deleted the whole tours group, recreated it and tried again. No luck.
I’ve seen this before. Somewhere EE is getting stuck on specific template groups and will not pass any form variables from them. I have no explanation. Surely this has been seen before by someone else.
Please advise!
Don