discodon.bob.ca
Open in
urlscan Pro
144.217.74.223
Public Scan
URL:
http://discodon.bob.ca/
Submission: On August 29 via api from US
Submission: On August 29 via api from US
Form analysis
0 forms found in the DOMText Content
UnexpectedValueException The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied * * * UnexpectedValueException thrown with message "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #11 UnexpectedValueException in /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 #10 Monolog\Handler\StreamHandler:write in /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119 #9 Monolog\Handler\RotatingFileHandler:write in /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7 Monolog\Logger:addRecord in /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php:707 #6 Monolog\Logger:error in /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:500 #3 Illuminate\Log\LogManager:error in /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:116 #2 Illuminate\Foundation\Exceptions\Handler:report in /home/bobca/Staging/discodon.bob.ca/app/Exceptions/Handler.php:37 #1 App\Exceptions\Handler:report in /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0 COPY HIDE Application frames (1) All frames (12) 11 UnexpectedValueException …/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php107 10 Monolog\Handler\StreamHandler write …/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php119 9 Monolog\Handler\RotatingFileHandler write …/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php39 8 Monolog\Handler\AbstractProcessingHandler handle …/vendor/monolog/monolog/src/Monolog/Logger.php344 7 Monolog\Logger addRecord …/vendor/monolog/monolog/src/Monolog/Logger.php707 6 Monolog\Logger error …/vendor/laravel/framework/src/Illuminate/Log/Logger.php176 5 Illuminate\Log\Logger writeLog …/vendor/laravel/framework/src/Illuminate/Log/Logger.php87 4 Illuminate\Log\Logger error …/vendor/laravel/framework/src/Illuminate/Log/LogManager.php500 3 Illuminate\Log\LogManager error …/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php116 2 Illuminate\Foundation\Exceptions\Handler report …/app/Exceptions/Handler.php37 1 App\Exceptions\Handler report …/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php81 0 Illuminate\Foundation\Bootstrap\HandleExceptions handleException [internal]0 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php 1. /** 2. * {@inheritdoc} 3. */ 4. protected function write(array $record) 5. { 6. if (!is_resource($this->stream)) { 7. if (null === $this->url || '' === $this->url) { 8. throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().'); 9. } 10. $this->createDir(); 11. $this->errorMessage = null; 12. set_error_handler(array($this, 'customErrorHandler')); 13. $this->stream = fopen($this->url, 'a'); 14. if ($this->filePermission !== null) { 15. @chmod($this->url, $this->filePermission); 16. } 17. restore_error_handler(); 18. if (!is_resource($this->stream)) { 19. $this->stream = null; 20. throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url)); 21. } 22. } 23. 24. if ($this->useLocking) { 25. // ignoring errors here, there's not much we can do about them 26. flock($this->stream, LOCK_EX); 27. } 28. 29. $this->streamWrite($this->stream, $record); 30. 31. if ($this->useLocking) { 32. flock($this->stream, LOCK_UN); 33. } 34. } 35. 36. /** 37. * Write to stream 38. * @param resource $stream 39. * @param array $record 40. */ Arguments 1. "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php $this->url = $this->getTimedFilename(); $this->close(); } /** * {@inheritdoc} */ protected function write(array $record) { // on the first record written, if the log is new, we should rotate (once per day) if (null === $this->mustRotate) { $this->mustRotate = !file_exists($this->url); } if ($this->nextRotation < $record['datetime']) { $this->mustRotate = true; $this->close(); } parent::write($record); } /** * Rotates the files. */ protected function rotate() { // update filename $this->url = $this->getTimedFilename(); $this->nextRotation = new \DateTime('tomorrow'); // skip GC of old logs if files are unlimited if (0 === $this->maxFiles) { return; } $logFiles = glob($this->getGlobPattern()); if ($this->maxFiles >= count($logFiles)) { // no files to remove return; Arguments 1. 0 of 0 array:8 [▶ "message" => "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" "context" => array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] "level" => 400 "level_name" => "ERROR" "channel" => "local" "datetime" => DateTime @1630255197 {#42 ▶ date: 2021-08-29 16:39:57.932081 UTC (+00:00) } "extra" => [] "formatted" => """ [2021-08-29 16:39:57] local.ERROR: The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log\" could not be opened: failed to open stream: Permission denied at /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n ◀[2021-08-29 16:39:57] local.ERROR: The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to o ▶ [stacktrace]\n #0 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n #1 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n ◀#1 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->writ ▶ #2 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n #3 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n #4 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n #5 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n ◀#5 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f.. ▶ #6 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n ◀#6 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('The stream or f...', Arr ▶ #7 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n ◀#7 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('The s ▶ #8 /home/bobca/Staging/discodon.bob.ca/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n #9 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n ◀#9 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(Unexpect ▶ #10 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n ◀#10 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportExc ▶ #11 /home/bobca/Staging/discodon.bob.ca/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n #12 {main}\n "} \n """ ] /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php * * @author Jordi Boggiano <j.boggiano@seld.be> * @author Christophe Coevoet <stof@notk.org> */ abstract class AbstractProcessingHandler extends AbstractHandler { /** * {@inheritdoc} */ public function handle(array $record) { if (!$this->isHandling($record)) { return false; } $record = $this->processRecord($record); $record['formatted'] = $this->getFormatter()->format($record); $this->write($record); return false === $this->bubble; } /** * Writes the record down to the log of the implementing handler * * @param array $record * @return void */ abstract protected function write(array $record); /** * Processes a record. * * @param array $record * @return array */ protected function processRecord(array $record) { Arguments 1. 0 of 0 array:8 [▶ "message" => "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" "context" => array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] "level" => 400 "level_name" => "ERROR" "channel" => "local" "datetime" => DateTime @1630255197 {#42 ▶ date: 2021-08-29 16:39:57.932081 UTC (+00:00) } "extra" => [] "formatted" => """ [2021-08-29 16:39:57] local.ERROR: The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log\" could not be opened: failed to open stream: Permission denied at /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n ◀[2021-08-29 16:39:57] local.ERROR: The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to o ▶ [stacktrace]\n #0 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n #1 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n ◀#1 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->writ ▶ #2 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n #3 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n #4 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n #5 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n ◀#5 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f.. ▶ #6 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n ◀#6 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('The stream or f...', Arr ▶ #7 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n ◀#7 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('The s ▶ #8 /home/bobca/Staging/discodon.bob.ca/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n #9 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n ◀#9 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(Unexpect ▶ #10 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n ◀#10 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportExc ▶ #11 /home/bobca/Staging/discodon.bob.ca/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n #12 {main}\n "} \n """ ] /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php } $ts->setTimezone(static::$timezone); $record = array( 'message' => (string) $message, 'context' => $context, 'level' => $level, 'level_name' => $levelName, 'channel' => $this->name, 'datetime' => $ts, 'extra' => array(), ); try { foreach ($this->processors as $processor) { $record = call_user_func($processor, $record); } while ($handler = current($this->handlers)) { if (true === $handler->handle($record)) { break; } next($this->handlers); } } catch (Exception $e) { $this->handleException($e, $record); } return true; } /** * Ends a log cycle and frees all resources used by handlers. * * Closing a Handler means flushing all buffers and freeing any open resources/handles. * Handlers that have been closed should be able to accept log records again and re-open * themselves on demand, but this may not always be possible depending on implementation. * * This is useful at the end of a request and will be called automatically on every handler Arguments 1. 0 of 0 array:8 [▶ "message" => "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" "context" => array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] "level" => 400 "level_name" => "ERROR" "channel" => "local" "datetime" => DateTime @1630255197 {#42 ▶ date: 2021-08-29 16:39:57.932081 UTC (+00:00) } "extra" => [] "formatted" => """ [2021-08-29 16:39:57] local.ERROR: The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log\" could not be opened: failed to open stream: Permission denied at /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n ◀[2021-08-29 16:39:57] local.ERROR: The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to o ▶ [stacktrace]\n #0 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n #1 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n ◀#1 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->writ ▶ #2 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n #3 /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n #4 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n #5 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n ◀#5 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f.. ▶ #6 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n ◀#6 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('The stream or f...', Arr ▶ #7 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n ◀#7 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('The s ▶ #8 /home/bobca/Staging/discodon.bob.ca/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n #9 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n ◀#9 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(Unexpect ▶ #10 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n ◀#10 /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportExc ▶ #11 /home/bobca/Staging/discodon.bob.ca/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n #12 {main}\n "} \n """ ] /home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Logger.php * @param array $context The log context * @return bool Whether the record has been processed */ public function err($message, array $context = array()) { return $this->addRecord(static::ERROR, $message, $context); } /** * Adds a log record at the ERROR level. * * This method allows for compatibility with common interfaces. * * @param string $message The log message * @param array $context The log context * @return bool Whether the record has been processed */ public function error($message, array $context = array()) { return $this->addRecord(static::ERROR, $message, $context); } /** * Adds a log record at the CRITICAL level. * * This method allows for compatibility with common interfaces. * * @param string $message The log message * @param array $context The log context * @return bool Whether the record has been processed */ public function crit($message, array $context = array()) { return $this->addRecord(static::CRITICAL, $message, $context); } /** * Adds a log record at the CRITICAL level. * * This method allows for compatibility with common interfaces. Arguments 1. 400 2. "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" 3. 0 of 0 array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php * @return void */ public function write($level, $message, array $context = []) { $this->writeLog($level, $message, $context); } /** * Write a message to the log. * * @param string $level * @param string $message * @param array $context * @return void */ protected function writeLog($level, $message, $context) { $this->fireLogEvent($level, $message = $this->formatMessage($message), $context); $this->logger->{$level}($message, $context); } /** * Register a new callback handler for when a log event is triggered. * * @param \Closure $callback * @return void * * @throws \RuntimeException */ public function listen(Closure $callback) { if (! isset($this->dispatcher)) { throw new RuntimeException('Events dispatcher has not been set.'); } $this->dispatcher->listen(MessageLogged::class, $callback); } /** Arguments 1. "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" 2. 0 of 0 array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/Logger.php * * @param string $message * @param array $context * @return void */ public function critical($message, array $context = []) { $this->writeLog(__FUNCTION__, $message, $context); } /** * Log an error message to the logs. * * @param string $message * @param array $context * @return void */ public function error($message, array $context = []) { $this->writeLog(__FUNCTION__, $message, $context); } /** * Log a warning message to the logs. * * @param string $message * @param array $context * @return void */ public function warning($message, array $context = []) { $this->writeLog(__FUNCTION__, $message, $context); } /** * Log a notice to the logs. * * @param string $message * @param array $context * @return void Arguments 1. "error" 2. "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" 3. 0 of 0 array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Log/LogManager.php * * @return void */ public function critical($message, array $context = []) { $this->driver()->critical($message, $context); } /** * Runtime errors that do not require immediate action but should typically * be logged and monitored. * * @param string $message * @param array $context * * @return void */ public function error($message, array $context = []) { $this->driver()->error($message, $context); } /** * Exceptional occurrences that are not errors. * * Example: Use of deprecated APIs, poor use of an API, undesirable things * that are not necessarily wrong. * * @param string $message * @param array $context * * @return void */ public function warning($message, array $context = []) { $this->driver()->warning($message, $context); } /** * Normal but significant events. Arguments 1. "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" 2. 0 of 0 array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php */ public function report(Exception $e) { if ($this->shouldntReport($e)) { return; } if (is_callable($reportCallable = [$e, 'report'])) { return $this->container->call($reportCallable); } try { $logger = $this->container->make(LoggerInterface::class); } catch (Exception $ex) { throw $e; } $logger->error( $e->getMessage(), array_merge($this->context(), ['exception' => $e] )); } /** * Determine if the exception should be reported. * * @param \Exception $e * @return bool */ public function shouldReport(Exception $e) { return ! $this->shouldntReport($e); } /** * Determine if the exception is in the "do not report" list. * * @param \Exception $e * @return bool */ Arguments 1. "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" 2. 0 of 0 array:1 [▶ "exception" => UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ] /home/bobca/Staging/discodon.bob.ca/app/Exceptions/Handler.php /** * A list of the inputs that are never flashed for validation exceptions. * * @var array */ protected $dontFlash = [ 'password', 'password_confirmation', ]; /** * Report or log an exception. * * @param \Exception $exception * @return void */ public function report(Exception $exception) { parent::report($exception); } /** * Render an exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @param \Exception $exception * @return \Illuminate\Http\Response */ public function render($request, Exception $exception) { return parent::render($request, $exception); } } Arguments 1. 0 of 0 UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } /home/bobca/Staging/discodon.bob.ca/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php } /** * Handle an uncaught exception from the application. * * Note: Most exceptions can be handled via the try / catch block in * the HTTP and Console kernels. But, fatal error exceptions must * be handled differently since they are not normal exceptions. * * @param \Throwable $e * @return void */ public function handleException($e) { if (! $e instanceof Exception) { $e = new FatalThrowableError($e); } try { $this->getExceptionHandler()->report($e); } catch (Exception $e) { // } if ($this->app->runningInConsole()) { $this->renderForConsole($e); } else { $this->renderHttpResponse($e); } } /** * Render an exception to the console. * * @param \Exception $e * @return void */ protected function renderForConsole(Exception $e) { $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e); Arguments 1. 0 of 0 UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } [internal] Arguments 1. 0 of 0 UnexpectedValueException {#152 ▶ #message: "The stream or file "/home/bobca/Staging/discodon.bob.ca/storage/logs/laravel-2021-08-29.log" could not be opened: failed to open stream: Permission denied" #code: 0 #file: "/home/bobca/Staging/discodon.bob.ca/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" #line: 107 } ENVIRONMENT & DETAILS: GET Data empty POST Data empty Files empty Cookies empty Session empty Server/Request Data Key Value TZ "America/Toronto" REDIRECT_UNIQUE_ID "YSu4XMxCOS9KM74FjVfGwAAAAA4" REDIRECT_SCRIPT_URL "/" REDIRECT_SCRIPT_URI "http://discodon.bob.ca/" REDIRECT_HANDLER "application/x-httpd-ea-php74" REDIRECT_STATUS "200" UNIQUE_ID "YSu4XMxCOS9KM74FjVfGwAAAAA4" SCRIPT_URL "/" SCRIPT_URI "http://discodon.bob.ca/" HTTP_HOST "discodon.bob.ca" HTTP_CONNECTION "keep-alive" HTTP_PRAGMA "no-cache" HTTP_CACHE_CONTROL "no-cache" HTTP_UPGRADE_INSECURE_REQUESTS "1" HTTP_USER_AGENT "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" HTTP_ACCEPT "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" HTTP_ACCEPT_ENCODING "gzip, deflate" HTTP_ACCEPT_LANGUAGE "en-US" PATH "/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin ◀/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bi ▶" SERVER_SIGNATURE "" SERVER_SOFTWARE "Apache" SERVER_NAME "discodon.bob.ca" SERVER_ADDR "144.217.74.223" SERVER_PORT "80" REMOTE_ADDR "82.102.18.114" DOCUMENT_ROOT "/home/bobca/Staging/discodon.bob.ca/public" REQUEST_SCHEME "http" CONTEXT_PREFIX "/cgi-sys" CONTEXT_DOCUMENT_ROOT "/usr/local/cpanel/cgi-sys/" SERVER_ADMIN "webmaster@discodon.bob.ca" SCRIPT_FILENAME "/home/bobca/Staging/discodon.bob.ca/public/index.php" REMOTE_PORT "16448" REDIRECT_URL "/index.php" GATEWAY_INTERFACE "CGI/1.1" SERVER_PROTOCOL "HTTP/1.1" REQUEST_METHOD "GET" QUERY_STRING "" REQUEST_URI "/" SCRIPT_NAME "/index.php" ORIG_SCRIPT_FILENAME "/usr/local/cpanel/cgi-sys/ea-php74" ORIG_PATH_INFO "/index.php" ORIG_PATH_TRANSLATED "/home/bobca/Staging/discodon.bob.ca/public/index.php" ORIG_SCRIPT_NAME "/cgi-sys/ea-php74" PHP_SELF "/index.php" REQUEST_TIME_FLOAT 1630255196.3325 REQUEST_TIME 1630255196 argv [] argc 0 APP_NAME "Laravel" APP_ENV "local" APP_KEY "base64:6TsiahQ9qnSSZQ4Fi4Dl6MV+SGzIw+GO2jI1ZmzRz/Y=" APP_DEBUG "true" APP_URL "http://localhost" LOG_CHANNEL "stack" DB_CONNECTION "mysql" DB_HOST "127.0.0.1" DB_PORT "3306" DB_DATABASE "homestead" DB_USERNAME "homestead" DB_PASSWORD "secret" BROADCAST_DRIVER "log" CACHE_DRIVER "file" QUEUE_CONNECTION "sync" SESSION_DRIVER "file" SESSION_LIFETIME "120" REDIS_HOST "127.0.0.1" REDIS_PASSWORD "null" REDIS_PORT "6379" MAIL_DRIVER "smtp" MAIL_HOST "smtp.mailtrap.io" MAIL_PORT "2525" MAIL_USERNAME "null" MAIL_PASSWORD "null" MAIL_ENCRYPTION "null" AWS_ACCESS_KEY_ID "" AWS_SECRET_ACCESS_KEY "" AWS_DEFAULT_REGION "us-east-1" AWS_BUCKET "" PUSHER_APP_ID "" PUSHER_APP_KEY "" PUSHER_APP_SECRET "" PUSHER_APP_CLUSTER "mt1" MIX_PUSHER_APP_KEY "" MIX_PUSHER_APP_CLUSTER "mt1" Environment Variables Key Value APP_NAME "Laravel" APP_ENV "local" APP_KEY "base64:6TsiahQ9qnSSZQ4Fi4Dl6MV+SGzIw+GO2jI1ZmzRz/Y=" APP_DEBUG "true" APP_URL "http://localhost" LOG_CHANNEL "stack" DB_CONNECTION "mysql" DB_HOST "127.0.0.1" DB_PORT "3306" DB_DATABASE "homestead" DB_USERNAME "homestead" DB_PASSWORD "secret" BROADCAST_DRIVER "log" CACHE_DRIVER "file" QUEUE_CONNECTION "sync" SESSION_DRIVER "file" SESSION_LIFETIME "120" REDIS_HOST "127.0.0.1" REDIS_PASSWORD "null" REDIS_PORT "6379" MAIL_DRIVER "smtp" MAIL_HOST "smtp.mailtrap.io" MAIL_PORT "2525" MAIL_USERNAME "null" MAIL_PASSWORD "null" MAIL_ENCRYPTION "null" AWS_ACCESS_KEY_ID "" AWS_SECRET_ACCESS_KEY "" AWS_DEFAULT_REGION "us-east-1" AWS_BUCKET "" PUSHER_APP_ID "" PUSHER_APP_KEY "" PUSHER_APP_SECRET "" PUSHER_APP_CLUSTER "mt1" MIX_PUSHER_APP_KEY "" MIX_PUSHER_APP_CLUSTER "mt1" Registered Handlers 0. Whoops\Handler\PrettyPageHandler