recaptcha error when not validate

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

recaptcha error when not validate

Postby adminartur » Mon May 27, 2019 6:29 pm

when i not validate and press submit a have next error in page
Code: Select all
RuntimeException: Пустое значение CAPTCHA недопустимо. in /home/u77462/xxx.ru/www/plugins/captcha/recaptcha/recaptcha.php:175 Stack trace: #0 /home/u77462/xxx.ru/www/libraries/joomla/event/event.php(70): PlgCaptchaRecaptcha->onCheckAnswer('') #1 /home/u77462/xxx.ru/www/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #2 /home/u77462/xxx.ru/www/components/com_onepage/controllers/opc.php(1904): JEventDispatcher->trigger('oncheckanswer', Array) #3 /home/u77462/xxx.ru/www/components/com_onepage/controllers/opc.php(2812): VirtueMartControllerOpc->checkOPCCaptcha() #4 /home/u77462/xxx.ru/www/libraries/src/MVC/Controller/BaseController.php(710): VirtueMartControllerOpc->checkout() #5 /home/u77462/xxx.ru/www/components/com_virtuemart/virtuemart.php(120): Joomla\CMS\MVC\Controller\BaseController->execute('checkout') #6 /home/u77462/xxx.ru/www/libraries/src/Component/ComponentHelper.php(402): require_once('/home/u77462/10...') #7 /home/u77462/xxx.ru/www/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/u77462/10...') #8 /home/u77462/xxx.ru/www/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_virtuemart') #9 /home/u77462/x.ru/www/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Applicatioxxn\SiteApplication->dispatch() #10 /home/u77462/xxx.ru/www/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\SiteApplication->doExecute() #11 /home/u77462/xxx.ru/www/index.php(49): Joomla\CMS\Application\CMSApplication->execute() #12 {main}


pls hlp
adminartur
 
Posts: 1
Joined: Mon May 27, 2019 6:25 pm

Re: recaptcha error when not validate

Postby admin » Tue Jun 04, 2019 1:59 pm

hello, your recaptcha is not compatible with your VM version or you did not properly set the API keys there.

you may want to disable it in joomla's plugins + virtuemart's configuration and else.

we wrote a new plugin "opc_captcha" that stops spam without requiring user input:
- if our geo locator is installed you can choose to allow email functions only from specific lists of countries and explicitly block another set of countries
- you can block all IPs that are listed in "stop forum spam" database
- you can block all IPs that are listed in another RBL databases (if 2 and more give positive results for spam)

it also scans requests variables:
- if there is [url keyword, it will immidiately block the request
- if there is a 5+ <a href 's in user inputted data (not email, but the input itself)

so if you know that you got purely russian customers, you an block whole world from emails via your site and allow only russian IPs.

recaptcha as it runs on google servers:
- can give javascript errors during it's updates and cache inconsitencies -> this can break your add to cart functionality and another core processes
- it sends different content per GeoIP, IP, Country, etc.. of the customer and thus you cannot test if it works for your customers
- it tracks the user and modifies output of your site
- it's loaded from remote domains and thus it's many times slower then your already loaded DNS per your own site

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x