[SOLVED] Issues uploading files in file manager
Permalink
Hello,
I encounter problems whenever I try to upload a file in the file manager… I tried through FTP with the /incoming directory, or directly in the file manager, the same error comes up every time:
When enabling advanced debug mode, the error comes out like so :
Meanwhile, my file manager looks desperately like the linked image
So this error comes up, but if I refresh the file manager, the files have uploaded except they all weigh 0.00KB and I can't use them anywhere on my website… By that I mean that the error comes up every time I want to update the files or rescan them.
I have tried installing a fresh Concrete5 on another directory twice, once with an empty site another time with default full website, both times I encountered the same issue…
[SOLVED]
It seems the problem came from my hosting. I updated it and the new hosting with updated PHP and GD library solved the issue.
Cheers
Q.
I encounter problems whenever I try to upload a file in the file manager… I tried through FTP with the /incoming directory, or directly in the file manager, the same error comes up every time:
finfo::finfo() expects parameter 1 to be long, string given
When enabling advanced debug mode, the error comes out like so :
Uncaught exception 'Whoops\Exception\ErrorException' with message 'json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument' in /home/www/bb60d95de20cc9c53a4a518db5c00879/web/private/q5/concrete/src/Error/Handler/JsonErrorHandler.php:48 Stack trace: #0 [internal function]: Whoops\Run->handleError(2, 'json_encode() [...', '/home/www/bb60d...', 48, Array) #1 /home/www/bb60d95de20cc9c53a4a518db5c00879/web/private/q5/concrete/src/Error/Handler/JsonErrorHandler.php(48): json_encode(Array) #2 /home/www/bb60d95de20cc9c53a4a518db5c00879/web/private/q5/concrete/vendor/filp/whoops/src/Whoops/Run.php(256): Concrete\Core\Error\Handler\JsonErrorHandler->handle(Object(Whoops\Exception\ErrorException)) #3 [internal function]: Whoops\Run->handleException(Object(Whoops\Exception\ErrorException)) #4 {main} thrown
Meanwhile, my file manager looks desperately like the linked image
So this error comes up, but if I refresh the file manager, the files have uploaded except they all weigh 0.00KB and I can't use them anywhere on my website… By that I mean that the error comes up every time I want to update the files or rescan them.
I have tried installing a fresh Concrete5 on another directory twice, once with an empty site another time with default full website, both times I encountered the same issue…
[SOLVED]
It seems the problem came from my hosting. I updated it and the new hosting with updated PHP and GD library solved the issue.
Cheers
Q.