Home Forums Support Failed to open stream

This topic contains 2 replies, has 3 voices, and was last updated by  fencepost 1 month, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16679

    DavidW
    Participant

    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?

    #16680

    Hillel Coren
    Keymaster

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

    #16697

    fencepost
    Participant

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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: