vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - reCAPTCHA v2 Human Verification (https://vborg.vbsupport.ru/showthread.php?t=315960)

jetkai 11-04-2018 05:26 PM

If anyone is having issues with PHP 7+ / vb 4.2.5 with the following error Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14


You'll need to replace the following in class_humanverify_new_recaptcha.php:
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {
                parent::vB_HumanVerify_Abstract($registry);
        }

with
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {

                parent::__construct($registry);
        }

not sure if there are any more issues aside from this, but registering works now on my forum.

MaKayWeB 12-05-2018 07:32 PM

It's not working :(

AdamSC 12-12-2018 03:21 PM

Quote:

Originally Posted by jetkai (Post 2597181)
If anyone is having issues with PHP 7+ / vb 4.2.5 with the following error Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14


You'll need to replace the following in class_humanverify_new_recaptcha.php:
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {
                parent::vB_HumanVerify_Abstract($registry);
        }

with
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {

                parent::__construct($registry);
        }

not sure if there are any more issues aside from this, but registering works now on my forum.

Thanks - I was facing this problem. Is this just due to a change in PHP version from when this was made?

MaKayWeB 12-12-2018 03:28 PM

I installed but after install when you open domain.com/register.php it's just white screen, why?

Teascu Dorin 12-16-2018 08:30 AM

Quote:

Originally Posted by MaKayWeB (Post 2597776)
I installed but after install when you open domain.com/register.php it's just white screen, why?

Have you changed the code as mentioned in previous post?

gnrx 12-16-2018 09:59 AM

I installed today this mod in vb 4.2.5 and PHP 7.1
After try, get this error:
Quote:

Fatal error: Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() in /home/mydomain/public_html/includes/class_humanverify_new_recaptcha.php on line 14
With solution indicate by MarkFL:
Code:

On line 14 replace:
                parent::vB_HumanVerify_Abstract($registry);

with
                parent::__construct($registry);

Work perfect in vb 4.2.5 and php 7.1.

Thanks.

sangita 12-27-2018 12:42 PM

Hi
i have uploaded the file to root directory
i have generated reCAPTCHA keys
i have imported the xml file via AdminCP
i have changed line 14 as suggested above

But still not seeing reCAPTCHA v2 http://prntscr.com/m06tqx

gnrx 12-27-2018 12:57 PM

Quote:

Originally Posted by sangita (Post 2597940)
Hi
i have uploaded the file to root directory
i have generated reCAPTCHA keys
i have imported the xml file via AdminCP
i have changed line 14 as suggested above

But still now seeing reCAPTCHA v2 http://prntscr.com/m06tqx

Its in admincp->settings->human verification manager.

Not under options.

sangita 12-27-2018 01:11 PM

Thanks
When i set this option http://prntscr.com/m078l0 it looks like this http://prntscr.com/m07988

and, when select this option http://prntscr.com/m079i4 i get 500 http error http://prntscr.com/m07ao5 :confused:

gnrx 12-27-2018 05:05 PM

Quote:

Originally Posted by sangita (Post 2597942)
Thanks
When i set this option http://prntscr.com/m078l0 it looks like this http://prntscr.com/m07988

This is correct, v1 isn't available, its very old, not work.

Quote:

and, when select this option http://prntscr.com/m079i4 i get 500 http error http://prntscr.com/m07ao5 :confused:
You are configured your account here?: http://www.google.com/recaptcha
And then input New reCAPTCHA Site Key and New reCAPTCHA Secret Key ?
If its yes, you can try your connection in the link of config captcha of admincp for view the connection.


All times are GMT. The time now is 08:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01470 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete