hello community,
I have had problems with the Flarum Forum under http://www.flarumboard.de.
The point is that I do not have Permissions to Change the Avatar and I would say that I can not post in the forum.
My Server is a web space with PHP 5.6 and a new mySQL version. My .htaccess looks like this.
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "1000"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
# Allow access if Flarum is installed in a subdirectory,
# but another .htaccess in a higher directory denies access.
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.flarumboard\.de$
RewriteRule ^(.*)$ http://www.flarumboard.de/$1 [L,R=301]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^vendor/(.*)?$ / [F,L]
RewriteRule ^storage/(.*)?$ / [F,L]
RewriteRule ^config.php$ / [F,L]
RewriteRule ^api(.*)$ api.php [QSA,END]
#RewriteRule ^admin(.*)$ admin.php [QSA,L]
RewriteRule ^admin(.*)$ admin.php [QSA,END]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !^assets index.php [QSA,L]
# MultiViews can mess up our rewriting scheme
Options -MultiViews
# Autoindex will list all assets files which is not so good
Options -Indexes
</IfModule>
I had the .htaccess file to adjust so because my forum post could not be loaded. So I can browse the forum and call postings.
But I can not change the avatar and in the error_log of today are these error messages.
[11-Feb-2016 14:12:23 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unrecognized protocol version (7.42 herausgebracht worden - man sollte aktualisieren HTTP/1.0)' in /home/alexleu/flarumboard.de/vendor/zendframework/zend-diactoros/src/ServerRequestFactory.php:469
Stack trace:
#0 /home/alexleu/flarumboard.de/vendor/zendframework/zend-diactoros/src/ServerRequestFactory.php(75): Zend\Diactoros\ServerRequestFactory::marshalProtocolVersion(Array)
#1 /home/alexleu/flarumboard.de/vendor/zendframework/zend-diactoros/src/Server.php(118): Zend\Diactoros\ServerRequestFactory::fromGlobals(Array, Array, Array, Array, Array)
#2 /home/alexleu/flarumboard.de/vendor/flarum/core/src/Http/AbstractServer.php(31): Zend\Diactoros\Server::createServer(Object(Zend\Stratigility\MiddlewarePipe), Array, Array, Array, Array, Array)
#3 /home/alexleu/flarumboard.de/index.php(16): Flarum\Http\AbstractServer->listen()
#4 {main}
thrown in /home/alexleu/flarumboard.de/vendor/zendframework/zend-diactoros /src/ServerRequestFactory.php on line 469
So you might have a tip, what it could be.
In config.php I stand as a URL http://wwww.flarumboard.de. But because it is probably not therefore.
Thanks in advance.