Free Flarum hosting on an expert platform by FreeFlarum.com
wenuraonline all of the unique errors that I have found:
[2022-04-10 15:07:09] flarum.ERROR: GuzzleHttp\Psr7\Exception\MalformedUriException: The path of a URI with an authority must start with a slash "/" or be empty in /app/vendor/guzzlehttp/psr7/src/Uri.php:735
Stack trace:
#0 /app/vendor/guzzlehttp/psr7/src/Uri.php(460): GuzzleHttp\Psr7\Uri->validateState()
#1 /app/vendor/aws/aws-sdk-php/src/S3/S3EndpointMiddleware.php(200): GuzzleHttp\Psr7\Uri->withHost()
#2 /app/vendor/aws/aws-sdk-php/src/S3/S3EndpointMiddleware.php(98): Aws\S3\S3EndpointMiddleware->applyHostStyleEndpoint()
#3 /app/vendor/aws/aws-sdk-php/src/Middleware.php(238): Aws\S3\S3EndpointMiddleware->__invoke()
#4 /app/vendor/aws/aws-sdk-php/src/S3/ApplyChecksumMiddleware.php(115): Aws\Middleware::Aws\{closure}()
#5 /app/vendor/aws/aws-sdk-php/src/Middleware.php(269): Aws\S3\ApplyChecksumMiddleware->__invoke()
#6 /app/vendor/aws/aws-sdk-php/src/EndpointParameterMiddleware.php(87): Aws\Middleware::Aws\{closure}()
#7 /app/vendor/aws/aws-sdk-php/src/ClientResolver.php(859): Aws\EndpointParameterMiddleware->__invoke()
#8 /app/vendor/aws/aws-sdk-php/src/ClientSideMonitoring/AbstractMonitoringMiddleware.php(126): Aws\ClientResolver::Aws\{closure}()
#9 /app/vendor/aws/aws-sdk-php/src/Middleware.php(96): Aws\ClientSideMonitoring\AbstractMonitoringMiddleware->__invoke()
#10 /app/vendor/aws/aws-sdk-php/src/InputValidationMiddleware.php(73): Aws\Middleware::Aws\{closure}()
[2022-04-10 15:12:24] flarum.ERROR: exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "PutObject" on "scf/2022-04-10/1649603544-160177-hauna-t-ondrey-the-minor-prophets-as-christian-2018.pdf"; AWS HTTP error: cURL error 6: Could not resolve host: scf (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for scf/2022-04-10/1649603544-160177-hauna-t-ondrey-the-minor-prophets-as-christian-2018.pdf'
GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: scf (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for scf/2022-04-10/1649603544-160177-hauna-t-ondrey-the-minor-prophets-as-christian-2018.pdf in /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
Stack trace:
#0 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(158): GuzzleHttp\Handler\CurlFactory::createRejection()
#1 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(110): GuzzleHttp\Handler\CurlFactory::finishError()
#2 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(244): GuzzleHttp\Handler\CurlFactory::finish()
#3 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(168): GuzzleHttp\Handler\CurlMultiHandler->processMessages()
#4 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(183): GuzzleHttp\Handler\CurlMultiHandler->tick()
#5 /app/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Handler\CurlMultiHandler->execute()
#6 /app/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#7 /app/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#8 /app/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#9 /app/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#10 /app/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
[2022-04-10 15:49:18] flarum.ERROR: TypeError: FoF\Upload\Validators\UploadValidator::maxFilesize(): Return value must be of type int, string returned in /app/vendor/fof/upload/src/Validators/UploadValidator.php:49
Stack trace:
#0 /app/vendor/fof/upload/src/Validators/UploadValidator.php(27): FoF\Upload\Validators\UploadValidator->maxFilesize()
#1 /app/vendor/flarum/core/src/Foundation/AbstractValidator.php(92): FoF\Upload\Validators\UploadValidator->getRules()
#2 /app/vendor/flarum/core/src/Foundation/AbstractValidator.php(61): Flarum\Foundation\AbstractValidator->makeValidator()
#3 /app/vendor/fof/upload/src/Repositories/FileRepository.php(138): Flarum\Foundation\AbstractValidator->assertValid()
#4 /app/vendor/fof/upload/src/Commands/UploadHandler.php(91): FoF\Upload\Repositories\FileRepository->moveUploadedFileToTemp()
#5 [internal function]: FoF\Upload\Commands\UploadHandler->FoF\Upload\Commands\{closure}()
#6 /app/vendor/illuminate/collections/Collection.php(695): array_map()
#7 /app/vendor/fof/upload/src/Commands/UploadHandler.php(169): Illuminate\Support\Collection->map()
#8 /app/vendor/illuminate/bus/Dispatcher.php(122): FoF\Upload\Commands\UploadHandler->handle()
#9 /app/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#10 /app/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Some of this might be related to an earlier error, not sure what exactly causes these errors. Is your S3 configuration correct?
SKevo i think it is ok
- Edited
TB54 I mean by that have the less possible things to do on the FTP phase, and be able to access as soon as possible to an interface from which everything can be installed/downloaded/updated (a little like for a WordPress frontend)? Because I think a lot of people like me, aka kinda-newbies (no knowledge beyond html/css) are totally stuck and discouraged by the line codes and all which is asked in the installation.
Exactly, most of the people looking for it. Nowadays people use wordpress because of its ease of use like installation and updates from the interface. Hopefully, flarum should add more priority to this, and soon we can see it in live. Until I keep flarum in my waiting list only.
- Edited
Hello, i am taz and i was wondering how i can do this?
- Edited
TazElite welcome, what can we help you with? If you are running a forum with FreeFlarum, they have a pretty good FAQ on their website you can start with.
If you have questions or issues about self-hosted Flarum, please start a new support discussion.
EDIT: I didn't notice your post linked an image, it doesn't seem like that was a valid link to embed, so I replaced it with just a link. Are you trying to replicate the theme visible in the screenshot?
- Edited
Hello,
I don't know if it's the place to get help, but I have difficulties to enter my own domain name on my freeflarum forum.
I bought a domain name (cinestudia.fr
), and in the "DNS zone" tab of my web host, I created this entry (forum.cinestudia.fr
) link to my current freeflarum forum (cinstudtest.freeflarum.com
), more than 24h ago:
(translation : MODIFY AN ENTRY IN THE DNS ZONE / Subdomain / TTL / Target / The CNAME currently generated is the following)
Then I entered my domain url in freeflarum settings, but each time i try to save it:
It refreshes the page and show me the old url:
And the new url gives a 404 error. I read the advanced documentation but apart from the proxy thing (I can't find with what it could match on my web host), I don't find a solution.
Any idea of what I'm doing wrong?
It works, thanks!
Hey, how could I boot my forum page back up? I tried on FreeFlarum.com but it still doesn't let me connect. I appreciate it
![
- Edited
ImNotRen this has something to do with http://bloom.us/, since it's unreachable too and your domain has no longer the CNAME record required.
I've reset your forum host to the default one, so you should be able to access it now at https://sugunion.flarum.cloud (if you are still being redirected to the old one, try it in Incognito/Private browsing/with browser cache cleared)
- Edited
It's really a tiny detail and nothing important, but there is a little bug in firefox's bookmark with freeflarum: the bookmark's favicon can become the one of freeflarum (below), and not the one of your forum (above).
Favicon in firefox are often buggy and difficult to refresh (the favicon was fine the first day), but it means firefox still can find it's way to the generic icon. If i go to www.myforum.fr/favicon.ico, I indeed end up on freeflarum favicon (and not on the one I choose for the forum).
- Edited
TB54 the way FreeFlarum shows its default icon is that all forums have a favicon.ico
in their web root. When you upload a custom icon, Flarum won't overwrite this file, but instead it will use the <link rel="shortcut icon" [...]>
HTML head element to show the custom uploaded one. This has higher priority over favicon.ico
, and works fine in most browsers.
I believe the way Firefox works is that it does not attempt to load the favicon from <link>
, but the one present in the page's root. Unfortunately, there is not a reliable way for FreeFlarum to check if a forum had uploaded a custom favicon or not to possibly overwrite the root (FreeFlarum default) one.
I did a bit of search: https://support.mozilla.org/en-US/questions/1230644
Flarum does not use the type="image/x-icon"
. Maybe that's required by Firefox? However, someone must test that
It could also be something else, e. g.: your browser's cache, settings, etc.
SKevo I believe the way Firefox works is that it does not attempt to load the favicon from <link>, but the one present in the page's root.
Note that yesterday (when I created the bookmark), firefox displayed the right favicon in the bookmarks... It changed today, maybe when i restarted firefox (but not sure, I don't remember well). No idea what it means.
Is this a known problem or shall I report as a new bug?
Issue when replying:
- Edited
orschiro this is either a cache problem or an issue with some extension. Try clearing your cache first, and if that doesn't help, then there will be an error either in your browser's console or server-side logs.
If you want, I can also create a temporary test account and look at the issue for you. But I am almost entirely sure that it has something to do with some extension
SKevo thanks! I am able to reproduce the issue by using two separate accounts (one Admin, one normal account).
If you first post with one, then sign out and sign in with the other to post, the problem occurs.
So must be a cache issue I guess.
But is this maybe something that Flarum could fix?
Clearing cache every time I perform an account change is not so convenient.