Jump to content

ReCaptcha Error


pluto708

Recommended Posts

I am receiving the this ReCaptcha error: ERROR for site owner: Invalid site key reCAPTCHA

I am using Nabeel's 5.5 version.

I am using ReCaptcha v2

My domain registered with ReCaptcha is: http://phpvms708.000webhostapp.com

These are my keys: https://gyazo.com/7e1c73f8e8ca0f0485e38239ce2da601

This is line is added into my local.config.php

/* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */
Config::Set('RECAPTCHA_PUBLIC_KEY', '6LfxCZsUAAAAAOCCVBBECIKf4uOSg-Uh_UYlZ4bS');
Config::Set('RECAPTCHA_PRIVATE_KEY', '6LfxCZsUAAAAAOOQ9b5LO-iDAsEM9myVY0eT9Msu');

Here is a full log of my local.config.php: https://pastebin.com/7jX8WLSK

I have tried putting the keys in my app.config.php. I have also tried leaving the app.config.php default.

Here is a full log of my default app.config.php: https://pastebin.com/Q40xQmF5

 

Edited by pluto708
Fixed security issue.
Link to comment
Share on other sites

  • Administrators

Nabeel's is version 5 - not 5.5. Simpilot's is version 5.5.2

Version 5 needs the ReCaptcha 2 added to it. Version 5.5.2 has ReCaptcha 2 already. Both versions need the ReCaptcha keys added to local.config.php.

You should not alter or add anything to app.config.php - add to local.config.php. Items in local.config.php will take precedence over the same items in app.config.php.

It appears you are using free hosting. phpVMS won't work correctly with free hosting.

Don't post keys assigned to you in the forums. I'd suggest you edit your post to remove the ReCaptcha keys.

Edited by ProAvia
Link to comment
Share on other sites

9 minutes ago, ProAvia said:

Nabeel's is version 5 - not 5.5. Simpilot's is version 5.5.2

Version 5 needs the ReCaptcha 2 added to it. Version 5.5.2 has ReCaptcha 2 already. Both versions need the ReCaptcha keys added to local.config.php.

You should not alter or add anything to app.config.php - add to local.config.php. Items in local.config.php will take precedence over the same items in app.config.php.

It appears you are using free hosting. phpVMS won't work correctly with free hosting.

Don't post keys assigned to you in the forums. I'd suggest you edit your post to remove the ReCaptcha keys.

I think I made a mistake, I believe I do have the simpilot version. this is what is on my host: https://github.com/DavidJClark/phpvms_5.5.x

I will also be changing my keys once I fix this issue so security is no factor.

Edited by pluto708
Link to comment
Share on other sites

  • Administrators

With the Simpilot 5.5.2 version you listed, you do not need to do the update to ReCaptcha v2. Just get the keys from Google and put in the local.config file.

If you are on free hosting, phpVMS will not work properly.

Link to comment
Share on other sites

12 minutes ago, ProAvia said:

With the Simpilot 5.5.2 version you listed, you do not need to do the update to ReCaptcha v2. Just get the keys from Google and put in the local.config file.

If you are on free hosting, phpVMS will not work properly.

Alright, it must be an issue with my free host because I have put the keys in the local.config, could you recommend me a good host that you know works well with phpvms, thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...