foo [text_2] => text_2 [text_3] => text_3 [radio0] => Female [radio1] => No [text_97] => text_97 [text_6] => text_6 [text_5] => text_5 [text_7] => foo@bar.com [text_9] => text_9 [text_10] => text_10 [text_11] => text_11 [text_12] => text_12 [text_14] => text_14 [text_16] => text_16 [text_17] => text_17 [text_37] => text_37 [check5] => Fluent [check6] => Fluent [check7] => Fluent [text_99] => text_99 [text_67] => text_67 [text_69] => text_69 [text_70] => text_70 [text_78] => text_78 [text_79] => text_79 [text_80] => text_80 [text_88] => text_88 [text_89] => text_89 [text_91] => text_91 [text_44] => text_44 [text_45] => text_45 [text_46] => text_46 [text_100] => text_100 [radio5] => No [text_50] => text_50 [radio6] => No [text_52] => text_52 [radio7] => No [text_54] => text_54 [text_55] => text_55 [text_57] => text_57 [text_58] => text_58 [text_59] => text_59 [text_60] => text_60 [text_61] => text_61 [text_62] => text_62 [check8] => Blah [button_15] => Next [77801a960f740f1d247d9bc32a522feb] => 1 [1cf1] => 9f7d470a95b5aefafbb5ac803317da8e [chronoformname] => MotherForm) FYI, the values shown in that array are all correct, even though they have the same value as their corresponding field names (I used the Firefox Web Developer plugin to fill out the form).Any help would be greatly appreciated. Thanks.--rostom"> Mysterious Debug Message Appearing - Forums

Forums

Mysterious Debug Message Appearing

mamamia 12 Mar, 2010
This is very strange (and maybe something I've overlooked)...

I have setup a form using the Multi Page plugin and Redirect plugin. When I access the form (Mother Form) via the front-end and get to the second page/form I see what appears to be a debug message at the top of the form, which is showing all the submitted values in the $_POST object. The form works just fine: I get the email sent to me, multi-page functionality works, and the redirect all works. But obviously its not very nice to have this debug stuff at the top. From what I can tell I have turned off all debug statements--also, aren't Chronoform debug statements bordered with a red box and use the "debug" div tag? As shown in the message snippet below, this one doesn't use the "debug" div tag and isn't bordered by a box.


<dl id="system-message">
<dt class="message">Message</dt>
<dd class="message message fade">
	<ul>
		<li>$_POST: Array
(
    [text_1] => foo
    [text_2] => text_2
    [text_3] => text_3
    [radio0] => Female
    [radio1] => No
    [text_97] => text_97
    [text_6] => text_6
    [text_5] => text_5
    [text_7] => foo@bar.com
    [text_9] => text_9
    [text_10] => text_10
    [text_11] => text_11
    [text_12] => text_12
    [text_14] => text_14
    [text_16] => text_16
    [text_17] => text_17
    [text_37] => text_37
    [check5] => Fluent
    [check6] => Fluent
    [check7] => Fluent
    [text_99] => text_99
    [text_67] => text_67
    [text_69] => text_69
    [text_70] => text_70
    [text_78] => text_78
    [text_79] => text_79
    [text_80] => text_80
    [text_88] => text_88
    [text_89] => text_89
    [text_91] => text_91
    [text_44] => text_44
    [text_45] => text_45
    [text_46] => text_46
    [text_100] => text_100
    [radio5] => No
    [text_50] => text_50
    [radio6] => No
    [text_52] => text_52
    [radio7] => No
    [text_54] => text_54
    [text_55] => text_55
    [text_57] => text_57
    [text_58] => text_58
    [text_59] => text_59
    [text_60] => text_60
    [text_61] => text_61
    [text_62] => text_62
    [check8] => Blah
    [button_15] => Next
    [77801a960f740f1d247d9bc32a522feb] => 1
    [1cf1] => 9f7d470a95b5aefafbb5ac803317da8e
    [chronoformname] => MotherForm
)
</li>
	</ul>
</dd>
</dl>



FYI, the values shown in that array are all correct, even though they have the same value as their corresponding field names (I used the Firefox Web Developer plugin to fill out the form).

Any help would be greatly appreciated. Thanks.

--rostom
GreyHead 12 Mar, 2010
Hi mamamia,

My fault, please find this line around line 234 of cf_redirect.php and comment it out
        //$mainframe->enqueuemessage('$_POST: '.print_r($_POST, true));


Bob
mamamia 14 Mar, 2010
That fixed the problem. Thanks much.
cjmicro 28 Apr, 2011
This worked for me too, thanks.
This topic is locked and no more replies can be posted.