Norton-Sub-Hamdon Primary School
New Road, Norton-sub-Hamdon, Stoke-Sub-Hamdon, TA14 6SF
NortonSH@educ.somerset.gov.uk 01935 881815
West Chinnock Primary School
Scotts Way, Crewkerne, Somerset, TA18 7PU
01935 881367 westchinnock@educ.somerset.gov.uk

Calendar




News Flash:

Exception

Error

We're sorry, but an unhandled error occurred. Please see the details below.

The stream or file "/var/www/vhosts/nortonsubhamdonprimary.co.uk/storage/logs/system.log" could not be opened in append mode: failed to open stream: Permission denied

/var/www/vhosts/nortonsubhamdonprimary.co.uk/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php line 110

  • Type

    Undefined

  • Exception

    UnexpectedValueException

                @chmod($this->url, $this->filePermission);
            }
            restore_error_handler();
            if (!is_resource($this->stream)) {
                $this->stream = null;
 
                throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $this->url));
            }
        }
 
        if ($this->useLocking) {
            // ignoring errors here, there's not much we can do about them
            flock($this->stream, LOCK_EX);

Stack trace

# Called Code Document Line
9 Monolog\Handler\StreamHandler->write() ~/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php 39
8 Monolog\Handler\AbstractProcessingHandler->handle() ~/vendor/monolog/monolog/src/Monolog/Logger.php 344
7 Monolog\Logger->addRecord() ~/vendor/monolog/monolog/src/Monolog/Logger.php 712
6 Monolog\Logger->error() ~/vendor/laravel/framework/src/Illuminate/Log/Writer.php 203
5 Illuminate\Log\Writer->writeLog() ~/vendor/laravel/framework/src/Illuminate/Log/Writer.php 114
4 Illuminate\Log\Writer->error() ~/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php 221
3 Illuminate\Support\Facades\Facade::__callStatic() ~/vendor/october/rain/src/Foundation/Exception/Handler.php 66
2 October\Rain\Foundation\Exception\Handler->report() ~/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php 81
1 Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()