Describe the bug
If you try to upload an Image in any way (Profile Picture, Book Cover or Page-Image) it gets the message "an unknown error occurred"
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Image should be saved/inserted without error
Screenshots
https://i.imgur.com/EmEr6km.png
https://i.imgur.com/GFEjCBz.png
Your Configuration (please complete the following information):
Additional context
Laravel Log-File:
laravel.log
Hi @spacesven,
Sorry you're seeing issues.
So the error being logged is file_get_contents(): Filename cannot be empty.
From what I've seen, On IIS this is generally due to folder permissions, potentially for the system Temp folder.
It's worth reading through #137 as I believe that details the same issue. In particular the info in this comment may help: https://github.com/BookStackApp/BookStack/issues/137#issuecomment-306751862
I don't run IIS myself though so can't be sure.
Hey I'm a co-worker of @spacesven. Thanks to your response we were able to resolve the Problem, we thought we changed the PHP-Temp upload directory to a Path where our custom User had access to, but it turns out that this configuration didn't get saved or applied properly. The Issue you linked provided the complete solution of our Problem. Thanks.
@SayHeyD Awesome, Thanks for confirming that worked, glad to hear things are working now. Will therefore close this off.
Most helpful comment
Hi @spacesven,
Sorry you're seeing issues.
So the error being logged is
file_get_contents(): Filename cannot be empty.From what I've seen, On IIS this is generally due to folder permissions, potentially for the system Temp folder.
It's worth reading through #137 as I believe that details the same issue. In particular the info in this comment may help: https://github.com/BookStackApp/BookStack/issues/137#issuecomment-306751862
I don't run IIS myself though so can't be sure.