close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE not sending

Thread began 3/13/2012 1:42 pm by phill401410 | Last modified 3/13/2012 4:36 pm by Jason Byrnes | 1385 views | 5 replies |

phill401410

UE not sending

Can you take a peek at these files and see if you can tell why the email is not sending? When I click on submit the screen refreshes but does not go to the ThankYou page nor do I get an email.
InfoRequest.php or
InfoRequest.php

Attached Files
WAUniversalEmail.zip
Sign in to reply to this post

Jason ByrnesWebAssist

could be a php error occuring. to help troubleshoot, add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




and add the following code just before the closing </body> tag:

php:
<pre><?php car_dump($_SESSION); ?></pre>
Sign in to reply to this post

phill401410

UE not sending

added
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
and
<pre><?php car_dump($_SESSION); ?></pre>

no luck. Am I supposed to see an error message somewhere now?
new file attached

Attached Files
WAUniversalEmail-2.zip
Sign in to reply to this post

Jason ByrnesWebAssist

i had a type, instead of :

<pre><?php car_dump($_SESSION); ?></pre>


use:
<pre><?php var_dump($_SESSION); ?></pre>



this code wont make the form suddenly work, but will show information about why it doesn't.

Sign in to reply to this post

phill401410

Jason
Here is what came up:
array(2) {
["captcha_Security_Code_1"]=>
&string(5) "ddYWk"
["WAVT_InfoRequest_281_Errors"]=>
&string(216) "WAVT_firstName=v&WAVT_lastName=d&WAVT_email=v@f.f&WAVT_CheckboxGroup1=Business & Emerging Business , Employment Law&WAVT_moreInformation=158&WAVT_Security_Code_1=ddywk&WAVT_submit=Submit&WAVT_InfoRequest_281_Errors=1"
}

Would you be so kind as help me interpret this. I am kind of up against a wall here. The client had me go live and I discovered the form is not sending. Will request a premium ticket if you would prefer.
Thanks as always for your great response.

Sign in to reply to this post

Jason ByrnesWebAssist

it looks like captcha is not passing validation for some reason.

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

jeremyandrebecca67370

Same issue

Hello!

I seem to be having the same issue as the original poster. Upon hitting submit (with correctly formatted information and correct CAPTCHA code), the page refreshes, but the form data is not sent and no email is received.

Everything worked perfectly prior to adding the CAPTCHA code. I added the error reporting code as seen in this post: showthread.php?t=27374&highlight=captcha Can you tell me what I'm doing wrong? Thanks!


By the way, here's what I get from the error reporting details page:

array(3) { ["captcha_Captcha_2"]=> string(5) "kZtHT" ["captcha_Security_Code_1"]=> string(5) "H2mAW" ["WAVT_contactprayer_Errors"]=> string(0) "" } array(5) { ["Full_Name"]=> string(12) "Testy Tester" ["Email_Address"]=> string(13) "test@test.com" ["Comments"]=> string(0) "" ["Captcha"]=> string(5) "H2mAW" ["BasicContactFormwithCaptcha_submit"]=> string(6) "Submit" } ,3

Kind regards,
Jeremy

Sign in to reply to this post

Jason ByrnesWebAssist

looks like you have set the Like Entry validation for capture to use the wrong variables.

Send a copy of your page please so i can look at the code to confirm this.

Sign in to reply to this post

jeremyandrebecca67370

Page copy

Sure thing! I've uploaded a copy of the page. Thanks so much for looking into this.

Regards,
Jeremy

Attached Files
contact_prayer_captcha.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the code that generates the captcha image oin your page is:

php:
<img id="capt1"  src="webassist/captcha/wavt_captchasecurityimages.php?width=150&height=35&field=Security_Code_1&bgcolor=ffffff&transparent=false&bgimage=&gridfreq=0&gridcolor=c7c7c7&gridorder=behind&noisefreq=75&noisecolor=adadad&noiseorder=behind&characters=5&charheight=&font=fonts/MODERNA_.TTF&textcolor=616161" alt="security code" width="150" height="35" /><img align="right"  src="webassist/captcha/images/refresh.png" height="18" onclick="document.getElementById('capt1').src+='&ref=1'" style="margin-left:10px;margin-top:15px;" title="Click to regenerate code"/>




this passes a bunch of variables to the wavt_captchasecurityimages.php page. one of them is named "field", in your code it is:
field=Security_Code_1

this is used to set the name of the captcha session as
captcha_<field value>

or in your case:
captcha_Security_Code_1

In the like entry validation, set the server variable to use the Captcha form element and use the captcha_Security_Code_1 session as the comparison

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...