Administrators ProAvia Posted February 16, 2019 Administrators Report Posted February 16, 2019 (edited) 5 hours ago, Taran22 said: I followed the steps, but the recaptcha box just disappears. http://skykingvirtualalliance.net/index.php/Registration It appears you are using an invalid site key. Go to Google and get a Public and Private key - here's a guide: Google ReCaptcha Keys Edited February 16, 2019 by ProAvia Quote
Taran22 Posted February 17, 2019 Report Posted February 17, 2019 I've done that, and those are the codes I used. Would someone be willing to go in and fix this and the google map issue for me? I'll pay for that at this point. Quote
Rickisani Posted February 25, 2019 Report Posted February 25, 2019 I do not look at all the codes anymore, no matter how I change it, mistakes always come up. Would not it make more sense if you do not simply load the files on the server and overwrite them and then just change the "local.config.php"? Quote
Rickisani Posted March 4, 2019 Report Posted March 4, 2019 so far, so good, recaptcha works But now I get above the header area, these messages Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/index.php on line 74 Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/index.php on line 76 Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/index.php on line 78 Quote
hoser70 Posted March 13, 2019 Report Posted March 13, 2019 On 7/5/2018 at 2:39 PM, joeri said: hello all i thried this to my website and the form just resets itself but nor registration is passed. anny help would be nice We are having this exact issue. Followed all the steps, but filling out the form and clicking submit just reloads the contact form. Quote
djtiger76 Posted February 1, 2020 Report Posted February 1, 2020 (edited) Good Morning guys. Having a problem, getting a fatal error. phpvms5. I have followed all of the instructions in this forum and the one below. Using the instructions in the above linked forum... I added the file recaptcha-master file to core/lib I replaced - require_once CORE_LIB_PATH.'/recaptcha/recaptchalib.php'; with - require_once CORE_LIB_PATH.'/recaptcha-master/src/autoload.php'; in core/modules/registration/registration.php I copied and pasted the VerifyData information into the same file, removing what was originally there for recaptcha I copied and pasted the information to registration_mainform.php in both: /crew/lib/skins/crewcenter/registration_mainform.php (because im using a skin) And crew/core/templates/registration_mainform.php This was not in the instructions, but I also added my recaptcha public and private keys in /public_html/crew/core/local.config.php and /public_html/crew/core/app.config.php for good measure. I am getting this error: That error is referencing: <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> I don't know what to do from this point. Edit - After checking... this DID work for the default registration form but not for the CrazyCreatives Crew test registration form. Don't know if anyone has experience with that. Thanks Edited February 1, 2020 by djtiger76 Quote
Administrators ProAvia Posted February 1, 2020 Administrators Report Posted February 1, 2020 There is no phpVMS 5.There is 2.1.x, 5.5.2 and 5.5.2.72. Look in the lower right of the main admin page to see which you are using. Both phpVMS 5.5.2 and phpVMS 5.5.2.72 are already recaptcha v2 compliant. No need to update them. But you will need to acquire a public and a private key from Google to use recaptcha. After you get the keys from Google, you need to place them in local.config.php Also, don't add anything to app.config.php. Only add to local.config.php. the local.config.php file takes precidence over the app.config.php file. So if the same line is in both files, local.config.php line will be used. Since the CC Crew Test is payware, you will need to ask them for help or check out their forums. Quote
Strider Posted May 29, 2020 Report Posted May 29, 2020 It is telling you the function is not there, So either you have to add the function or find the code that is supposed to be there. Quote
JAMESATKINSUKGT27 Posted January 15, 2023 Report Posted January 15, 2023 hi, I am getting this error after completing the steps in the tutorial to replace the recaptcha. Fatal error: Class 'ReCaptcha\ReCaptcha' not found in /home/ukgtvaco/public_html/core/modules/Contact/Contact.php on line 40 Quote
Administrators ProAvia Posted January 15, 2023 Administrators Report Posted January 15, 2023 If you are using phpVMS 5.5.2 or 5.5.2.72 - as I recall, these come with reCaptcha v2. No need to update. What does line 40 in the Contact.php file say? Quote
JAMESATKINSUKGT27 Posted January 16, 2023 Report Posted January 16, 2023 i was getting the error message even when i had the keys put in. I have changed the settings to the ones here and the recaptcha now is working apart from when i submit a form and i get the above error. this is what line 40 says $recaptcha = new \ReCaptcha\ReCaptcha(Config::Get('RECAPTCHA_PRIVATE_KEY')); Quote
Administrators ProAvia Posted January 17, 2023 Administrators Report Posted January 17, 2023 Since you are using phpVMS 5.5.2 and just starting out, I'd recommemd a completely new installation. Don't attempt to use this thread to "update" reCaptcha as 5.5.2 already has reRaptcha v2. Don't edit any core files. Just add a theme/skin and a few basic modules. Any module edits should be done to the files in the module only. Get used to the program before editing any core files. If you can't get something to work in the base program that works for everyone else, it's not an issue with the core files. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.