Email Form Disappears

Permalink
I am running version 5.3.3.1 and am creating a simple email test form. It requires name and email address only. It works fine and returns the default "Thanks." message. However, when I go into Options and add: "Notify me by email when people submit this form:" I Publish, fill in the fields, hit "Submit" and the page turns white and the URL is as follows:

/index.php?cID=86&bID=174&arHandle=Content&ccm_token=
1258496429:8d4c0b3c6ebe068db10f3d2e3164f598
&btask=passthru&method=submit_form

I should mention this Concrete5 test site is NOT in the Root directory of the URL I am using. It is nested in a subdirectory.

**** Does anyone know why? Is there something that needs to be done to my testing server to allow email to pass through a form?

Thanks in advance from a Concrete5 fan and complete NOOB!

- shorescores

shorescores
 
Tony replied on at Permalink Reply
Tony
is your website in development mode? if not, go to the dashboard/settings page, turn it on, and retry this. if it's already in development mode, a blank white screen is pretty hard to debug.
shorescores replied on at Permalink Reply
shorescores
Hi Tony - yes it is in Development mode.

Do you know if this might be a hosting mail CGI issue, instead of something within Concrete5?

Are there any clues within the URL that I posted as to where it might be hanging up?

Thanks.
- shorescores
Tony replied on at Permalink Reply
Tony
maybe something to do with the sendmail function failing. are you able to trace the code with print statements to see where it fails?
shorescores replied on at Permalink Reply
shorescores
Nah, I'm afraid I don't even know how to do that...

- shoerscores
Mnkras replied on at Permalink Reply
Mnkras
are you using the built in php sendmail or a smtp server? ask your host which one you use if you dont know i dont think this is a c5 issue but an error in the email configuring
shorescores replied on at Permalink Reply
shorescores
Hi Mnkras - I am using the built-in PHP sendmail. I have sent a request to my host to hopefully sort it out.

Agreed: I think it is an email config error too. I will post back when I hopefully get it sorted out.

Thanks.

- shorescores
shorescores replied on at Permalink Reply
shorescores
OK - I know very little about PHP, and have tried researching this form error with my provider. It wasn't easy tracking down the errors. I tried the form again and got the blank white page. I shut the browser window, then went to "reopen last closed window" and I saw these errors:

Fatal error: Uncaught exception 'Exception' with message 'Oops, something is wrong with the form you posted (it doesn't have a question set id).' in /var/www/vhosts/conceptshore.com/httpdocs/sandBox/Concrete/concrete/blocks/form/controller.php:198 Stack trace: #0 [internal function]: FormBlockController->action_submit_form() #1 /var/www/vhosts/conceptshore.com/httpdocs/sandBox/Concrete/concrete/models/block.php(262): call_user_func_array(Array, Array) #2 /var/www/vhosts/conceptshore.com/httpdocs/sandBox/Concrete/concrete/startup/process.php(199): Block->passThruBlock('submit_form') #3 /var/www/vhosts/conceptshore.com/httpdocs/sandBox/Concrete/concrete/dispatcher.php(204): require('/var/www/vhosts...') #4 /var/www/vhosts/conceptshore.com/httpdocs/sandBox/Concrete/index.php(2): require('/var/www/vhosts...') #5 {main} thrown in /var/www/vhosts/conceptshore.com/httpdocs/sandBox/Concrete/concrete/blocks/form/controller.php on line 198


*** So, would anybody have a theory as to what is now going on?

Thank you.

- shorescores