Hi,
thanks for your answer.
I tried several times to upload the files again, but the result was the same.
I have just compared the grav object on the local and the distant site.
They are the same (except for the paths) till the [uri] element (between [debugger] and [task] elements:
Locally I get:
(...)
[debugger] => Grav\Common\Debugger Object
(
)
[grav] => Grav\Common\Grav Object
*RECURSION*
[uri] => Closure Object
(
[parameter] => Array
(
[$c] => <required>
)
)
[task] => Closure Object
(
[parameter] => Array
(
[$c] => <required>
)
)
(...)
On the server, I get:
(...)
[debugger] => Grav\Common\Debugger Object
(
)
[grav] => Grav\Common\Grav Object
*RECURSION*
[uri] =>
[task] =>
<!DOCTYPE html><!-- "' --></script></style></noscript></xmp>
<meta charset="utf-8">
<meta name=robots content=noindex>
<meta name=generator content="Tracy">
<title>Server Error</title>
<div id="tracy-error-body">
<style>
body { color: #333; background: white; width: 500px; margin: 100px auto }
h1 { font: bold 47px/1.5 sans-serif; margin: .6em 0 }
p { font: 21px/1.5 Georgia,serif; margin: 1.5em 0 }
small { font-size: 70%; color: gray }
</style>
<h1>Server Error</h1>
<p>We're sorry! The server encountered an internal error and
was unable to complete your request. Please try again later.</p>
<p><small>error 500</small></p>
<div>
(...)
The first difference is that [uri] is empty for the site on the server.
Then, from [task] item, I get the HTML for the server error.
Does this help you to know what's going wrong?
Thanks.