It's still not working ☹️ .
What I tried so far
- Changed the insecure to true in my login file. (i.e. when calling the Flarum object) (Reverted)
- Changed the insecure to true directly in src/Flarum.php.
Both of that didn't work. Then I just tried to experiment and put some echo statements in between each Flarum statement. Like this
echo 'Hello';
$forum = new Flarum('forum', 'root', 'Random stuff', 'Random stuff');
echo 'hello2';
$forum->login($username, $email, $password);
echo 'hello3';
$forum->redirectToForum();
And it's output is
Hellohello2
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 35: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in....
So what I think is the error is with the $forum->login()
line. But you know better than me.
Maybe these help you (to help me).
Thanks!