datitisev The beta 12 compatible version is 0.1.2? Nice!
FriendsOfFlarum reCAPTCHA
Hello !
When i try to sign up, i get this error in browser console :
Missing required parameters: sitekey
Do I have to add a particular configuration somewhere ?
Thank you in advance :-).
t0t0 did you fill in the settings in the extension settings modal on the Extensions page of the admin panel ?
- Edited
@datitisev After I have pass the recaptcha click action, and fill the register information block, and then click Register button, then time out. I'm from China. Here is the debug info:
POST https://mysite.com/register
<br />
<b>Warning</b>: file_get_contents(https://mysite.com/recaptcha/api/siteverify): failed to open stream: Connection timed out in <b>/website/mysite.com/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Post.php</b> on line <b>80</b><br />
<br />
<b>Fatal error</b>: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /website/mysite.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24
Stack trace:
#0 /website/mysite.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(40): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /website/blog.mysite.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /website/blog.mysite.com/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(98): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit()
#3 /website/blog.mysite.com/vendor/flarum/core/src/Http/Server.php(42): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /website/blog.mysite.com/public/index.php(26): Flarum\Http\Server->listen()
#5 {main}
thrown in <b>/website/blog.mysite.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php</b> on line <b>24</b><br />
Hi! I have 0.1.0-beta.13 installed and after I install this extension it appears in my list of extensions, but I cannot enable it (there's no checkmark). Any ideas? I'd love to have this working Thanks!!
chrisduke what browser are you using? Can you share a screenshot?
- Edited
clarkwinkelmann Sure! Here you go. I'm using the latest Safari on macOS Catalina 10.15.6 (latest)
Interestingly enough--I just tried Chrome and it works correctly!
chrisduke it seems to be an instance of this Flarum+Safari issue flarum/core2153 which we haven't really figured out yet.
- Edited
Sloth hi, are you getting any errors in your browser's developer console?
To help you troubleshoot further if you aren't getting any errors, can you please post the output of php flarum info
ran from the root of your Flarum installation?
Please also check your Flarum error logs to see if you find anything there pertaining to your issue as well
Edit: Additionally, did you copy your site and secret key from reCAPTCHA admin panel and add them to your extension settings?
en-kig welcome to Flarum. All the mentioned extensions are currently compatible with the latest Flarum.
If you are encountering a problem with this extension, please share your error message or describe the problem.
If you just want to create some test posts you can head over to the test posting tag or use our demo forums
Will be this compatible with new Beta 14 or need wait also here an update? Seems on the upgrading process no error is showed but I'm still unable to update to Beta 14 because of incompatibility with the other extensions.
The ReCaptcha is a very security and spam needed extension. Love it.
peopleinside All FriendsOfFlarum extensions are incompatible with beta 14 unless stated otherwise.
clarkwinkelmann Interesting. Why just some extension give a feedback error to me and ReCaptcha is not on those error? Means maybe when I solve my 4 or 5 errors I can still see my community broken because is updated to Beta 14 but with extension not compatible?
Sounds difficult to me understand when I can upgrade easy and securely. Need check every extension and this is a big work that you may run once at month? Confused. thanks for the info clark.
- Edited
peopleinside Sounds difficult to me understand when I can upgrade easy and securely. Need check every extension and this is a big work that you may run once at month? Confused. thanks for the info clark.
Our documentation makes it very clear that we don't recommend running Flarum in production if your not comfortable waiting to update and/or troubleshooting issues when they happen. Once Flarum is stable hopefully those issues will mostly go away but as it stands today there will be a wait, as there has been in almost every previous version of Flarum.
tankerkiller125 OK make sense. For now let's see when will be able to upgrade. There is no eta for the stable so let's try to manage situation in Beta. Thanks for the help.
0.2.0
- beta 14 ready
Updating
composer require fof/recaptcha:^0.2.0
php flarum cache:clear