Failed to open stream

Hi,

I recently upgraded to a newer version of XAMPP and I’m not able to upload documents anymore. This error is logged in the laravel error log:

[2018-10-15 10:07:47] production.ERROR: ErrorException [0] : D:\XAMPP\htdocs\invoiceninja\app\Ninja\Repositories\DocumentRepository.php [Line 91] => sha1_file(D:\XAMPP\htdocs\invoiceninja\public): failed to open stream: Permission denied {"context":"PHP","user_id":6,"account_id":6,"user_name":"David","method":"POST","user_agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","locale":"nl","ip":"","count":9,"is_console":"no","is_api":"no","db_server":"mysql","url":"documents"} []

The folder D:\XAMPP\htdocs\invoiceninja\storage has full permissions for “everyone”.

How can I fix this?

Sorry, not sure. This is the first time I’ve seen this error.

That doesn’t look like it’s trying to get to …\storage, it’s trying to go to …\public