Hi Max,
You can test live here: http://joomlatest.hiezone.com
The contact form is the "CONTACT" item of my menu.
Thanks for your help
Guillaume
verification message will not go away
49 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: verification message will not go awayHI Max, Guillaume,
I just get the message "You are not allowed to access this URL" which normally points to extra <form> tags but I don't see any here. The form code looks perfectly OK and there are no JavaScript errors showing in FireFox. Bob Bob Janes : ChronoForms Support
Tell us how we are doing - the Chrono Satisfaction Survey If you'd like to buy me a beer - then thank you very much
Re: verification message will not go awayHi Bob,
Thanks for your help. I have enter some data in the fields and the wrong captcha code i have the "You are not allowed to access this URL" If i undo the last modififcations i made to the chronocontact.php file the form is re-displayed with the "You have entered an incorrect verification code at the bottom of the form": i assume that is the correct behavior when the captach code is not correct. But maybe i am wrong. I am a newbie in Joomla/php/css so feel free to correct me Guillaume
Re: verification message will not go awayHi Guillaume,
Yes, the 'normal' behaviour is for that message to appear in a JavaScript alert box and for the form to be re-displayed when you click OK. Bob Bob Janes : ChronoForms Support
Tell us how we are doing - the Chrono Satisfaction Survey If you'd like to buy me a beer - then thank you very much
Re: verification message will not go awayHi Bob,
Without any modification made to the files (ChronoForm component and mambot "out of the box") i don't have any Javascript Window when the captcha is wrong. I am only redirected to the empty form page with the "You have entered an incorrect verification code at the bottom of the form" on top. I assume that with the last modifications Max has given to me the behavior should be the same ? For the moment i have the "You are not allowed to access this URL" message. Without the last modifications i am redirected like i explained just before but with the wrong path (ie index.php?option=com_chronocontact&task=send&chronoformname=Contact instead of index.php?option=com_content&view=article&id=16&Itemid=19 The last modification i made to chronoform.php were intentend to correct that behavior. Thank you all Guillaume
Re: verification message will not go awayHi Guillaume,
I just tested now, do you have the hack active or you removed it ? Max ChronoForms/ChronoConnectivity/ChronoComments/ChronoForums Developer Thanks for using our components!
If you have any problems with any extension please tell us. If you like any of our extensions please post a review at Joomla.org Want to have a full data management application ? try ChronoConnectivity Want to have stylish AJAX comments ? try ChronoComments Want a Joomla forums extension similar to phpBB ? try ChronoForums
Re: verification message will not go awayHi Max,
The hack is active. I have the "You are not allowed to access this URL" message if a type a wrong captcha. Thanks for your help Guillaume
Re: verification message will not go awayHi Guillaume,
No idea then, this will need more testing, its better to wait for the next release, I will give it more testing sometime. or you can play with the code! Regards Max ChronoForms/ChronoConnectivity/ChronoComments/ChronoForums Developer Thanks for using our components!
If you have any problems with any extension please tell us. If you like any of our extensions please post a review at Joomla.org Want to have a full data management application ? try ChronoConnectivity Want to have stylish AJAX comments ? try ChronoComments Want a Joomla forums extension similar to phpBB ? try ChronoForums
Re: verification message will not go awayExcuse me for jumping in here on this thread but I'm having the same problem with the "You have entered an incorrect verification code at the bottom of the form." message not going away after first incorrectly, then correctly, entering the Captcha code. I made all modifications recommended above by Max on 12/8 to components/com_chronocontact/chronocontact.php, components/com_chronocontact/chronocontact.html.php and plugins/content/chronocontact.php and still no luck.
The form is inserted into an article (loadposition) with the ChronoForms module and works well other than the incorrect verification code message remaining in IE and FF even after correctly entering the Captcha code, seeing the confirmation and receiving the email. I did notice that if I cleared the cookies in FF the message was removed on refreshing the browser, although not so in IE. Neither closing the website and reopening or clearing the browser cache has any effect in IE or FF. Is there another fix or hack we can try to correct this problem?
Re: verification message will not go awayHi webzep,
I'm sure my fixes should do it, please try again and make sure you save the files after making the mods ? let me know! Regards Max ChronoForms/ChronoConnectivity/ChronoComments/ChronoForums Developer Thanks for using our components!
If you have any problems with any extension please tell us. If you like any of our extensions please post a review at Joomla.org Want to have a full data management application ? try ChronoConnectivity Want to have stylish AJAX comments ? try ChronoComments Want a Joomla forums extension similar to phpBB ? try ChronoForums
Re: verification message will not go awayHi, thanks for creating chrono-forms, I have been getting nasty spam all through weekends and the captcha is ace.
I have a quick fix for the repeating error / validation message problem above. Adding to your code above, check to see if there anything is in $_POST coming out of a previous page, if not, no error. In chronocontact.html.php replace if($session->get('chrono_verification_msg', '', md5('chrono'))){ with if(($session->get('chrono_verification_msg', '', md5('chrono')))&&(JRequest::getVar('cf_wrong_security_code') == 1)&&($_POST != '')) { ?> The extra check &&($_POST != '') to see if there was form output cancels the error message. Cheers Neill
Re: verification message will not go awayHi Neill,
Thanks for sharing this but the piece (JRequest::getVar('cf_wrong_security_code') == 1) will check to see if the variable
Regards Max ChronoForms/ChronoConnectivity/ChronoComments/ChronoForums Developer Thanks for using our components!
If you have any problems with any extension please tell us. If you like any of our extensions please post a review at Joomla.org Want to have a full data management application ? try ChronoConnectivity Want to have stylish AJAX comments ? try ChronoComments Want a Joomla forums extension similar to phpBB ? try ChronoForums
Re: verification message will not go awayThanks, everyone, for your attention to this problem. No, Max, your fixes do not seem to be solving the problem immediately in my case. After entering the wrong Captcha code, getting the error message, then submitting the form correctly, then going back to the form pages (same problem with two different forms), the error msg remains in both IE7 and FF3.0.5. Clearing the browser cache and/or reopening the website right away does not help.
I did save the php files, CHMODed all to 755, and have attached copies of the files now on the server to this post (had to change the file extensions since php files are not allowed). BTW, Max, I added JRequest::setVar('cf_wrong_security_code', 1); to components/com_chronocontact/chronocontact.php a second time, as you instructed, even though that line was already there. I didn't mention in my original post that I'm using sh404SEF with all Joomla SEO settings at Yes. Would that have an effect? I can live with the problem since the Captcha images are so clear that it's not likely anyone will make a mistake. Also, for whatever reason, when opening the site the next day and navigating to the form pages the error messages are gone. It would be nice, though, to have it solved if you can figure out what's going on.
Re: verification message will not go awaywebzep, you are testing this in the form page or article page wit ha form inside or a module ?
Regards Max ChronoForms/ChronoConnectivity/ChronoComments/ChronoForums Developer Thanks for using our components!
If you have any problems with any extension please tell us. If you like any of our extensions please post a review at Joomla.org Want to have a full data management application ? try ChronoConnectivity Want to have stylish AJAX comments ? try ChronoComments Want a Joomla forums extension similar to phpBB ? try ChronoForums
Re: verification message will not go awayThe form is inserted into an article (loadposition) using the ChronoForms module.
49 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is onlineUsers browsing this forum: No registered users and 2 guests |


