In order to solve this problem (for me for the time being), I went through the core of ChronoForms component in the file "chronocontact.php" and found out, that the code block "Redirect the page if requested" (line 575) is run immediately after processing the first parameter ($paramsvalues->plugins_order) and so remaining parameters are not processed including the autogenerated code. All in all, the redirection code block should be located out of the loop "foreach($ixx)", i.e., after the closing curly bracket (line 581). Having put the block there, the form saves data and redirects as I have expected.
Forums
RedirectURL disqualifies Saving Data
In order to solve this problem (for me for the time being), I went through the core of ChronoForms component in the file "chronocontact.php" and found out, that the code block "Redirect the page if requested" (line 575) is run immediately after processing the first parameter ($paramsvalues->plugins_order) and so remaining parameters are not processed including the autogenerated code. All in all, the redirection code block should be located out of the loop "foreach($ixx)", i.e., after the closing curly bracket (line 581). Having put the block there, the form saves data and redirects as I have expected.
Thanks, this is a known bug, there are some 'fixed' copies of chronocontact.php in various posts here. Waiting for Max to release a corrected version very soon.
Bob
I successfully tested with Secured SSL but it was creating a strange index.php? after the form submisstion but the data was sucessfully saved.
When I added a link to the Thank you Page and tried again, well, the data wasn't saved at all!
So while you're on it, please see if this test also passes with SSL turned on.
Or I guess I'll be the beta tester.
BTW, I'm experiencing a very unpredictable events of SSL with lock and SSL with a slashed lock. I highly suspected that my certificate is for http://www.domain.com but by default the website is http://domain.com. Since it's Joomla 1.5 I tried making changes in config.php but no luck there (I do it all the time in J! 1.0). And nothing in the Joomla forum addresses this problem. So this is another issue when using SSL in Joomla 1.5 to be aware of.
you need to set your live site url in Joomla to be <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w --> and not domain.com only because this is known to make errors!
Cheers
Max
JSG
I would try to help but stressed now because I need to move the whole website to another host, maybe after this is done I will have fresh mind to look for this! 🙂
Do you have an ETA?
If it's far off, I'm willing to fix the bug by hand on my website.
JSG
While experimenting and exploring "ChronoForms V2.5 J1.5 RC3.1" in "Jommla! 1.5.3", I have encountered the following issue. I have put URL as a thanks page into FormURLs/RedirectURL and simultaneously created a table for saving data, i.e., generated AutoGenerated code. In that configuration a particular form redirects to the respective URL, but does not save form's data into the table. The expected functionality should be (in my opinion): Saving form's data and then redirection to a URL in that consecutive order. However, the redirection supresses the saving data. I consider this behaviour as a bug.
In order to solve this problem (for me for the time being), I went through the core of ChronoForms component in the file "chronocontact.php" and found out, that the code block "Redirect the page if requested" (line 575) is run immediately after processing the first parameter ($paramsvalues->plugins_order) and so remaining parameters are not processed including the autogenerated code. All in all, the redirection code block should be located out of the loop "foreach($ixx)", i.e., after the closing curly bracket (line 581). Having put the block there, the form saves data and redirects as I have expected.
Could you post the code changes so that I can copy and paste?
Thank you.