[RESOLVED] Permission denied error

  • | 745 points

    For other newbies - you will get this error if you have failed to add this to the model:
    protected $fillable = [
    'name', 'description', 'done',

    I get the following error when I get to a particular point in a tutorial I am working through.

    ErrorException (E_WARNING)
    include(C:\laragon\www\larplay): failed to open stream: Permission denied
    The souce code highlighted is:
    function includeFile($file)
    include $file;
    In ClassLoader.php

    What is triggering it is:
    $lists = TodoList::all();

    In my ListsController.php

    Any thoughts?
    I've searched here, and a general google - a few results about permissions, but I'm on Windows and I've checked permissions in the www and tmp folders and all good!

    TIA, Dave

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.