pluto708 Posted March 30, 2019 Report Share Posted March 30, 2019 (edited) 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 March 30, 2019 by pluto708 Fixed security issue. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 30, 2019 Administrators Report Share Posted March 30, 2019 (edited) 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 March 30, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
pluto708 Posted March 30, 2019 Author Report Share Posted March 30, 2019 (edited) 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 March 30, 2019 by pluto708 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 30, 2019 Administrators Report Share Posted March 30, 2019 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. Quote Link to comment Share on other sites More sharing options...
pluto708 Posted March 30, 2019 Author Report Share Posted March 30, 2019 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. Quote Link to comment Share on other sites More sharing options...
pluto708 Posted April 2, 2019 Author Report Share Posted April 2, 2019 bump Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 2, 2019 Administrators Report Share Posted April 2, 2019 I don't have any specific recommendations and don't know your specific hosting needs. There are a bunch of web hosting companies out there. What country are you in? Quote Link to comment Share on other sites More sharing options...
pluto708 Posted April 3, 2019 Author Report Share Posted April 3, 2019 canada Quote Link to comment Share on other sites More sharing options...
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.