-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on image upload #975
Comments
Hi @lhetke, Had you been uploading images before in the last 3 months? |
Thank you for your response. We have been uploading Images up until a few days ago when the error message appeared. The error occurred before updating and persists after updating. I've tried several different images, different image file formats and sizes with no luck. |
I don't know how, but image upload started working again this morning. I didn't update or change anything. Maybe it's something our hosting provider has done. Thanks anyways :) |
@lhetke Ah, Okay, Thanks for letting me know and happy to hear things are working! Will therefore close this. |
We are seeing the same issue: [2019-02-22 22:35:21] production.ERROR: The file "" does not exist {"userId":7,"email":"@","exception":"[object] (Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException(code: 0): The file "" does not exist at /u/apps/bookstack/bookstack/BookStack/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:123) Configuration: |
We have traced it to the max image upload size per laravel/framework#23492 , maybe the error message could gracefully indicate that the image was too large? In PHP, I have the default |
Problem:
Error on image upload in the image manager. There's an error message in the laravel Debug Console:
The file "" does not exist {"userId":3,"email":"","exception":{}}
The file "" does not exist ../BookStack/vendor/symfony/http-foundation/File/MimeTypeGuesser.php#123
public function guess($path)
{
if (!is_file($path)) {
throw new FileNotFoundException($path);
}
Configuration:
Shared Hosting
CentOS 7.5.1804
Apache 2.4.6
PHP 7.1.20
MariaDB 10.1.33
BookStack v0.23.2
We are using BookStack since three months now. Up until now it worked flawlessly. A few days ago an error appeared whenever I tried to upload an image. I tried different image formats, sizes and Browsers. Updating to the latest BookStack version didn't fix the problem. Any Ideas how I can solve this error? Thanks in advance, Lukas
The text was updated successfully, but these errors were encountered: