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)

pettravel 01-07-2018 01:08 PM

There is only a php file in the Includes folder, no XML file. I uploaded the php file to the Includes folder of the forum but (obviously) cannot import it using the Product Manger because it is looking for an XML file. The other file included in the download is version 1. Does anyone have the XML file that should have been included in the download for Recaptcha Version 2? Would really appreciate it.

MarkFL 01-07-2018 01:18 PM

The .XML file is in the download, and should be with the files you unzipped. :)

pettravel 01-07-2018 02:04 PM

HI Mark - there is an XML file in the download: product-kh99_new_receptcha_v1_0.xml but don't believe that is the correct version. That said, for some unknown reason, the new recaptcha showed up in the Human Verification Manager and I have configured it and tested it and all looks good. It does not show as version 2 but the keys that Google provided are for this version. Fingers crossed. Appreciate the quick response.

MarkFL 01-07-2018 02:10 PM

I imported the .XML when installing this product...I don't know what issues, if any, you may encounter by not doing so. There are 4 plugins in the .XML file. :)

TheLordACS 02-24-2018 08:49 PM

Hello,
I searched in entire topic but i can't found a fix for this:
"[ PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_New_Recaptcha has a deprecated constructor in includes/class_humanverify_new_recaptcha.php on line 8
"
How can if ix this error?

djbaxter 02-24-2018 09:34 PM

Quote:

Originally Posted by TheLordACS (Post 2593113)
Hello,
I searched in entire topic but i can't found a fix for this:
"[ PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_New_Recaptcha has a deprecated constructor in includes/class_humanverify_new_recaptcha.php on line 8
"
How can if ix this error?

See https://vborg.vbsupport.ru/showpost....&postcount=217

EDIT FILE /includes/class_humanverify_new_recaptcha.php

On line 14 REPLACE

Code:

                parent::vB_HumanVerify_Abstract($registry);
with

Code:


                parent::__construct($registry);


Flipfloptrader 02-26-2018 10:38 AM

Quote:

Originally Posted by djbaxter (Post 2593114)
See https://vborg.vbsupport.ru/showpost....&postcount=217

EDIT FILE /includes/class_humanverify_new_recaptcha.php

On line 14 REPLACE

Code:

                parent::vB_HumanVerify_Abstract($registry);
with

Code:


                parent::__construct($registry);



That doesn't fix the error that keeps occuring in the error log.

This is line 8:

Code:

class vB_HumanVerify_New_Recaptcha extends vB_HumanVerify_Abstract
I've tried to search for the fix but no joy.

djbaxter 02-27-2018 05:19 PM

Quote:

Originally Posted by Flipfloptrader (Post 2593140)
That doesn't fix the error that keeps occuring in the error log.

This is line 8:

Code:

class vB_HumanVerify_New_Recaptcha extends vB_HumanVerify_Abstract
I've tried to search for the fix but no joy.

That line is just declaring the class.

Try fixing line 14 as shown above and then make sure you reupload the class_humanverify_new_recaptcha.php to the correct location:

/includes/class_humanverify_new_recaptcha.php

If you still have a problem, reinstall the product using the XML file:
product-kh99_new_recaptcha_v1_0.xml

Also, what you are seeing is just a deprecation warning, not an error. That doesn't affect current use of the product. To suppress such warnings, add this to your /includes/config.php right under the <?php line at the very top:

Code:

define('SKIP_ALL_ERRORS', true);
define('SKIP_DS_ERRORS', true);

Then reupload config.php back to /includes/config.php

Nassou 03-12-2018 03:25 PM

Please note that Curl MUST BE INSTALLED AND ENABLED in your server otherwise it won't work.

omtre.co.uk 03-13-2018 07:26 PM

Hi,
I'm getting a fatal error on registration. It's saying:
Quote:

Originally Posted by Site
Fatal error: Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() in /home/neregion/public_html/board/includes/class_humanverify_new_recaptcha.php on line 14

Any ideas?


All times are GMT. The time now is 10:28 PM.

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.02146 seconds
  • Memory Usage 1,743KB
  • 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
  • (7)bbcode_code_printable
  • (4)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