The use of hCaptcha (maybe reCaptcha as well) causes a fatal error if the CURL module for PHP is not installed #184
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/tinyib#184
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After filling out the hCaptcha and clicking the post button, I was given this error:
Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/inc/functions.php:245 Stack trace: #0 /var/www/html/imgboard.php(235): checkCAPTCHA() #1 {main} thrown in /var/www/html/inc/functions.php on line 245
This was fixed, at least on Debian, by installing the php-curl package. This should probably just be a trivial fix of mentioning that it's a required dependency in the README.md file, and/or checking if the function is available before calling it so that the administrator can be informed in a more friendly way if it's missing.
It's also needed for embeds so probably handy to mention in the readme as dependency, yes.
Thanks for reporting this.