Thanks for your answer !
The error occurs when I want to post a new message (or change parameter in admin panel) :
https://www.tracedetrail.com/forum/flarum/assets/flarum_snapshot_1.png
You can try with user: test, mdp : testtest.
Thanks for your answer !
The error occurs when I want to post a new message (or change parameter in admin panel) :
https://www.tracedetrail.com/forum/flarum/assets/flarum_snapshot_1.png
You can try with user: test, mdp : testtest.
I can only change php configuration with php.ini.
I copied this php.ini in all flarum subfolders :
error_reporting = E_ALL
log_errors = On
display_errors = On
error_log = /homepages/6/9999999/htdocs/TraceDeTrail3/forum/php-errors.log`
In my file php-errors.log, I have only "PHP Deprecated" messages.
I have exactly the same problem, I can't change anything.
Who are you using shared hosting with?
luceos Hitting the https://www.tracedetrail.com/forum/flarum/api/discussions
I get a 200.... Seems like it's working fine?
I hit it with the same request in-site using curl (taken from firebug)
curl 'https://www.tracedetrail.com/forum/flarum/api/discussions' -X POST -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.5' -H 'Authorization: Token 0DO3WJuX9Ok4hE4BjlcTnqiKSy8Y0HvX0frv0IHT' -H 'Connection: keep-alive' -H 'Content-Length: 139' -H 'Content-Type: application/json; charset=utf-8' -H 'Cookie: flarum_remember=0DO3WJuX9Ok4hE4BjlcTnqiKSy8Y0HvX0frv0IHT' -H 'DNT: 1' -H 'Host: www.tracedetrail.com' -H 'Referer: https://www.tracedetrail.com/forum/flarum/' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0' -d '{"data":{"type":"discussions","attributes":{"title":"test","content":"test"},"relationships":{"tags":{"data":[{"type":"tags","id":"1"}]}}}}'
with response similar
{"errors":[[]]}
Trailou In my file php-errors.log, I have only "PHP Deprecated" messages.
Then it's probably not a php error.
I should of been more clear. Is there anyway for you to have access to Apache error logs. Sometimes hosters permit you to temporarily enable logging.
I am using mixhosting.cz.
Whole website is in czech, sorry.
Maybe you can read something from here:
https://www.mixhosting.cz/hosting/#parametry-hosting
https://www.mixhosting.cz/hosting/#parametry-php
Honya Which version of php are you using? It looks like the typical .php extension runs PHP 5.3, which is too low for Flarum's requirements. That could be the issue here.
On my hand, I use php 5.6.
For the access to Apache error logs, I asked by mail to my hoster.
Thanks for your help !
Honya FYI, in the future, start a new thread and link to the one that has similar issues. There could be two different reasons why you're both having the same problem, and it's easier to work with you one-on-one.
@Trailou I registered in http://www.tracedetrail.com/forum2/flarum/
and got a wrong confirmation url.
http://www.tracedetrail..com/forum2/flarum/confirm/I5lt8Lrdwc93KTUKvWZ3OqPU1yJnFp5qDc5uRo4F
As you can see it has an extra `.´before .com
santiagobiali Strange... I've just created an account and this is the confirmation mail :
Hey test!
Someone (hopefully you!) has signed up to Trace de Trail - Le forum with this email address.
If this was you, simply click the following link and your account will be activated:
http://www.tracedetrail.com/forum2/flarum/confirm/Jk4eMyNTBzZwvc8wtxBaBKYH2WpdBZsMJkJ7QjWEIf you did not sign up, please ignore this email.
I checked my config file and the url is ok.
santiagobiali Trailou hmm ditto
Hey test25!
Someone (hopefully you!) has signed up to Trace de Trail - Le forum with this email address.
If this was you, simply click the following link and your account will be activated:
https://www.tracedetrail.com/forum/flarum/confirm/Et70t9AruOykg9i9gE3k9BgsigHL8eoCcv018bBF
If you did not sign up, please ignore this email.
As you see, there is two forums :
https://www.tracedetrail.com/forum/flarum
And I tried without ssh :
http://www.tracedetrail.com/forum2/flarum
Yes... I meant ssl ! :-)
Here is my config.php :
<?php return array (
'debug' => true,
'database' =>
array (
'driver' => 'mysql',
'host' => 'db6116555.db.1and1.com',
'database' => 'database',
'username' => 'username',
'password' => 'password',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => false,
),
'url' => 'https://www.tracedetrail.com/forum/flarum',
'paths' =>
array (
'api' => 'api',
'admin' => 'admin',
),
);
Trailou 'url' => 'https://www.tracedetrail.com/forum/flarum',
Ok looks good.
Let us know if your hoster can get you some relevant error logs. My thinking is bad redirection as that was a component of a earlier problem and seems to appear in subfolders. Speculating.