Forums

E-mails & Database don't work with URL Redirect

alsage13 08 May, 2012
I've created several forms and they're not saving information like I thought they were! When I first set them up, they were e-mailing, and I thought saving to the database. Now they're doing neither, but in the backend they appear to be setup correctly.

I don't know if this has anything to do with it or not, but one some of the forms I've setup a URL redirect, and the redirect is working fine, but again, no e-mails and no data saved to the DBs.

You can view one of these forms here: http://speakourlanguage.com/index.php?option=com_chronoforms&chronoform=Top9MexicanTravelTipsDownload2

Thanks to anyone who can help!!!

Update
I wanted to upload a screen shot of the events in this form to see if that might have anything to do with it. They're all enabled and I didn't change anything from before when they worked:
alsage13 14 May, 2012
<<Bump>>

This is happening on two of our client's websites. Any help would really be appreciated!!!

Thank you!
GreyHead 15 May, 2012
Hi Alsage,

The Form Action appears to be set to
http://speakourlanguage.com/sharpen/top-9-mexican-travel-tips.html
This doesn't seem to be a ChronoForms URL at all (it actually gives a 404 Error.

It looks as though you have set a Submit URL for the form. If you do this then ChronoForms will never see the form data and so cannot send emails or save data.

Just the ReDirect User with this URL in it should work OK.

Bob
alsage13 16 May, 2012
Hi Bob,

Thanks for getting back to me. I've been using the Redirect User event, and it has been redirecting them just fine (with the exception of the short lived 404 issue). It's not saving their data to the DB or sending the e-mails, however.

Here is the redirect:


Here is the DB:


And here are the pertinent e-mail settings:



Sorry for sending the wrong link earlier. The form is embedded using the plugin here: http://speakourlanguage.com/welcome/ha.html but the frontend view is available here: http://speakourlanguage.com/index.php?option=com_chronoforms&chronoform=Top9MexicanTravelTipsDownload

Thank you!!!
GreyHead 16 May, 2012
Hi alsage13,

Please change the Email setting so that the From and To email addresses are different.

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.

Bob
alsage13 16 May, 2012
I changed the e-mail addresses.

I also added a Debugger event to the form and nothing happened (I mean, there were no debug results or anything like that). It just did what it's been doing all along - redirecting without submitting data. Am I doing something wrong with the debugger?

Thanks!
GreyHead 16 May, 2012
Hi alsage13 ,

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
GreyHead 17 May, 2012
Hi alsage13,

You have a Submit URL set, if you do this the form submits to this URL, ChronoForms never sees it and cannot process the results.

Bob
GreyHead 17 May, 2012
Hi alsage13,

With the Submit URL removed the data is saved to the database OK here - testing from the 'Front-End link' view.

And it works OK from the plug-in with Relative URL set to No using a Joomla! SEF url
http://example.com/index.php/using-joomla/extensions/components/content-component/article-category-list/index.php?option=com_chronoforms&chronoform=Top9MexicanTravelTipsDownload&event=submit


And it works OK with the Relative URL set to Yes as well.
http://example.com/index.php/using-joomla/extensions/components/content-component/article-category-list/8-beginners?chronoform=Top9MexicanTravelTipsDownload&event=submit


It looks increasingly as if it is sh404SEF causing the broken links :-( It should behave better than that.

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