Blank page after submitting form

smash120 18 Dec, 2013
I have ChronoForms setup on a site which works until I add the email event. After adding the event and enabling it I then generate the email template and add the static email address, subject, from name and from email. I save the configuration and test the form. When I submit the form I get a blank page and the email never gets sent. I even tried using the debugger but it does not display any errors. I tried following the tutorial but still get blank page after submitting form. I also tried using custom code and it does send the email but I can't access the form values using
$form->form_output

All I get is the message content.
GreyHead 19 Dec, 2013
Hi smash120,

Please see this FAQ

I don't know what $form->form_output is meant to do???

Bob
smash120 24 Dec, 2013
Sorry for the late reply. I did as the article suggest and I got these errors
Notice: Use of undefined constant Mkrl - assumed 'Mkrl' in ../libraries/phpmailer/phpmailer.php on line 2322

Notice: Use of undefined constant lkFxM4 - assumed 'lkFxM4' in ../libraries/phpmailer/phpmailer.php on line 2323

Notice: Use of undefined constant qdco5Up - assumed 'qdco5Up' in ..libraries/phpmailer/phpmailer.php on line 2323

Notice: Use of undefined constant kqoo_uwuw_ouok_qzzsy - assumed 'kqoo_uwuw_ouok_qzzsy' in ../libraries/phpmailer/phpmailer.php on line 2324

Notice: Use of undefined constant well_wsgz_vwnw_mwrmy - assumed 'well_wsgz_vwnw_mwrmy' in ../libraries/phpmailer/phpmailer.php on line 2324

Notice: Undefined index: tatsabHHEb in ../libraries/phpmailer/phpmailer.php on line 2325


As for the
$form->ouput_form
this is in the components event section within the custom code event's help section
GreyHead 25 Dec, 2013
Hi smash120,

I'd never noticed the $form->form_output before :-( You'd need to output it using echo or print_r() to see anything though.

None of those PHP Notices will normally cause any problem.

What's in your custom code action? Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Bob
This topic is locked and no more replies can be posted.