Hi there,
I have a "Event Switcher" action on Submit event.
My last case is when an error may happen on the selection of the profile.
And I will send an email to the administrator to communicate that something happened, but I liked to send information from the debugger, but without providing this information to the user.
Is it possible?
Thanks in advance,
BN
I have a "Event Switcher" action on Submit event.
My last case is when an error may happen on the selection of the profile.
And I will send an email to the administrator to communicate that something happened, but I liked to send information from the debugger, but without providing this information to the user.
Is it possible?
Thanks in advance,
BN
Hi BN,
Just use the debugger PHP code in your email template, you can get the code from the action file!
Regards,
Max
Just use the debugger PHP code in your email template, you can get the code from the action file!
Regards,
Max
Hi BN,
You can send an email to the Admin; I'm not sure if you can get the debugger output though without having the debugger on.
You could add some custom debug code.
Bob
You can send an email to the Admin; I'm not sure if you can get the debugger output though without having the debugger on.
You could add some custom debug code.
Bob
I Bob,
I did what Max told me, in my email template I just put this code
and it work perfectly.
Thanks,
BN
I did what Max told me, in my email template I just put this code
<?php
echo '<div class="panel panel-warning"><div class="panel-heading">Data Array</div><div class="panel-body">';
pr($form->data);
pr($form->files);
echo '</div></div>';
echo '<div class="panel panel-danger"><div class="panel-heading">Errors</div><div class="panel-body">';
pr($form->errors);
echo '</div></div>';
echo '<div class="panel panel-primary"><div class="panel-heading">Debug Info</div><div class="panel-body">';
pr($form->debug);
echo '</div></div>';
?>
and it work perfectly.
Thanks,
BN
This topic is locked and no more replies can be posted.