custom external_form only shows white screen on submit
Permalink
While as usual after hitting a wall I'm turning to all you helpful forum goers.
Basically I have a custom external_form block. It's based off the fancyform tutorial from tutorialzine.com. The view works fine and I'm finding all of my included .js files. When i hit submit it should run an action on my controller that validates and then sends an email using the phpmailer class. I thought maybe it was a conflict from starting a new session in my controller so i removed all of that but to no avail. It's passing the $_Post variables just fine as I can print them with var_dump($_POST); so I don't think it's that. I'll attach my view and controller. Fresh eyes appreciated. Thanks as always C5 Community
Basically I have a custom external_form block. It's based off the fancyform tutorial from tutorialzine.com. The view works fine and I'm finding all of my included .js files. When i hit submit it should run an action on my controller that validates and then sends an email using the phpmailer class. I thought maybe it was a conflict from starting a new session in my controller so i removed all of that but to no avail. It's passing the $_Post variables just fine as I can print them with var_dump($_POST); so I don't think it's that. I'll attach my view and controller. Fresh eyes appreciated. Thanks as always C5 Community
Can't attach .php files apparently. here they are as .txt but they are saved and posted as .php
Still having trouble with this. I think it may be because I'm having a hard time getting class.phpmailer.php to be included in my controller. I've tried a couple different ways (adding it directly to my elements/header.php file, Using addHeaderItem in the controller, etc...) If I echo all included php files it never appears in the list. Any ideas or alternative solutions to get this up and running will receive much thanks and praise.