Whoops! There was an error.
UnexpectedValueException
The stream or file "E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #9 UnexpectedValueException in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php:107 #8 Monolog\Handler\StreamHandler:write in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php:37 #7 Monolog\Handler\AbstractProcessingHandler:handle in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Logger.php:337 #6 Monolog\Logger:addRecord in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Logger.php:616 #5 Monolog\Logger:error in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Log\Writer.php:203 #4 Illuminate\Log\Writer:writeLog in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Log\Writer.php:114 #3 Illuminate\Log\Writer:error in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:113 #2 Illuminate\Foundation\Exceptions\Handler:report in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\app\Exceptions\Handler.php:39 #1 App\Exceptions\Handler:report in E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
9
UnexpectedValueException
…\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php
107
8
Monolog
\
Handler
\
StreamHandler
write
…\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php
37
7
Monolog
\
Handler
\
AbstractProcessingHandler
handle
…\vendor\monolog\monolog\src\Monolog\Logger.php
337
6
Monolog
\
Logger
addRecord
…\vendor\monolog\monolog\src\Monolog\Logger.php
616
5
Monolog
\
Logger
error
…\vendor\laravel\framework\src\Illuminate\Log\Writer.php
203
4
Illuminate
\
Log
\
Writer
writeLog
…\vendor\laravel\framework\src\Illuminate\Log\Writer.php
114
3
Illuminate
\
Log
\
Writer
error
…\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php
113
2
Illuminate
\
Foundation
\
Exceptions
\
Handler
report
…\app\Exceptions\Handler.php
39
1
App
\
Exceptions
\
Handler
report
…\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php
81
0
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleException
[internal]
0
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        if (!is_resource($this->stream)) {
            if (null === $this->url || '' === $this->url) {
                throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
            }
            $this->createDir();
            $this->errorMessage = null;
            set_error_handler(array($this, 'customErrorHandler'));
            $this->stream = fopen($this->url, 'a');
            if ($this->filePermission !== null) {
                @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: '.$this->errorMessage, $this->url));
            }
        }
 
        if ($this->useLocking) {
            // ignoring errors here, there's not much we can do about them
            flock($this->stream, LOCK_EX);
        }
 
        $this->streamWrite($this->stream, $record);
 
        if ($this->useLocking) {
            flock($this->stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array $record
     */
Arguments
  1. "The stream or file "E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied"
    
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\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)
    {
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Logger.php
            $ts = new \DateTime(null, static::$timezone);
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        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);
        }
 
        return true;
    }
 
    /**
     * Adds a log record at the DEBUG level.
     *
     * @param  string  $message The log message
     * @param  array   $context The log context
     * @return Boolean Whether the record has been processed
     */
    public function addDebug($message, array $context = array())
    {
        return $this->addRecord(static::DEBUG, $message, $context);
    }
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\monolog\monolog\src\Monolog\Logger.php
     * @param  array   $context The log context
     * @return Boolean 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 Boolean 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 Boolean 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.
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Log\Writer.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to Monolog.
     *
     * @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->monolog->{$level}($message, $context);
    }
 
    /**
     * Register a file log handler.
     *
     * @param  string  $path
     * @param  string  $level
     * @return void
     */
    public function useFiles($path, $level = 'debug')
    {
        $this->monolog->pushHandler($handler = new StreamHandler($path, $this->parseLevel($level)));
 
        $handler->setFormatter($this->getDefaultFormatter());
    }
 
    /**
     * Register a daily file log handler.
     *
     * @param  string  $path
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Log\Writer.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
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e; // throw the original exception
        }
 
        $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
     */
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\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.
     *
     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
     *
     * @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);
    }
}
 
E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\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);
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
_FCGI_X_PIPE_
"\\.\pipe\IISFCGI-a1e2d109-6fbb-417a-87fa-e82b9278b057"
ALLUSERSPROFILE
"C:\ProgramData"
APPDATA
"C:\Windows\system32\config\systemprofile\AppData\Roaming"
APP_POOL_CONFIG
"C:\inetpub\temp\apppools\apply.hihshaldia.in(domain)(4.0)(pool)\apply.hihshaldia.in(domain)(4.0)(pool).config"
APP_POOL_ID
"apply.hihshaldia.in(domain)(4.0)(pool)"
ChocolateyInstall
"C:\ProgramData\chocolatey"
ChocolateyLastPathUpdate
"133359711984072096"
CommonProgramFiles
"C:\Program Files\Common Files"
CommonProgramFiles(x86)
"C:\Program Files (x86)\Common Files"
CommonProgramW6432
"C:\Program Files\Common Files"
COMPUTERNAME
"MI3-WTS1"
ComSpec
"C:\Windows\system32\cmd.exe"
DriverData
"C:\Windows\System32\Drivers\DriverData"
LOCALAPPDATA
"C:\Windows\system32\config\systemprofile\AppData\Local"
MAILENABLE_PATH
"C:\PROGRA~2\MAILEN~1"
NUMBER_OF_PROCESSORS
"12"
OS
"Windows_NT"
Path
"C:\Program Files (x86)\Mail Enable\BIN;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Mail Enable\BIN64;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files\Puppet Labs\Puppet\bin;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Plesk\ctl;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Nmap;C:\Windows\system32\config\systemprofile\AppData\Roaming\npm"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
plesk_bin
"C:\Program Files (x86)\Plesk\admin\bin"
plesk_bin64
"C:\Program Files (x86)\Plesk\admin\bin64"
plesk_cli
"C:\Program Files (x86)\Plesk\bin"
plesk_data
"C:\Program Files (x86)\Plesk\"
plesk_dir
"C:\Program Files (x86)\Plesk\"
plesk_vhosts
"E:\vhosts\"
PROCESSOR_ARCHITECTURE
"AMD64"
PROCESSOR_IDENTIFIER
"Intel64 Family 6 Model 85 Stepping 7, GenuineIntel"
PROCESSOR_LEVEL
"6"
PROCESSOR_REVISION
"5507"
ProgramData
"C:\ProgramData"
ProgramFiles
"C:\Program Files"
ProgramFiles(x86)
"C:\Program Files (x86)"
ProgramW6432
"C:\Program Files"
PSModulePath
"C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules"
PUBLIC
"C:\Users\Public"
SystemDrive
"C:"
SystemRoot
"C:\Windows"
TEMP
"C:\Windows\TEMP"
TMP
"C:\Windows\TEMP"
USERDOMAIN
"WORKGROUP"
USERNAME
"MI3-WTS1$"
USERPROFILE
"C:\Windows\system32\config\systemprofile"
windir
"C:\Windows"
ORIG_PATH_INFO
"/index.php/student-login"
URL
"/index.php"
SERVER_SOFTWARE
"Microsoft-IIS/10.0"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_PORT_SECURE
"1"
SERVER_PORT
"443"
SERVER_NAME
"apply.hihshaldia.in"
SCRIPT_NAME
"/index.php"
SCRIPT_FILENAME
"E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\index.php"
REQUEST_URI
"/student-login"
REQUEST_METHOD
"GET"
REMOTE_USER
""
REMOTE_PORT
"54224"
REMOTE_HOST
"3.144.113.30"
REMOTE_ADDR
"3.144.113.30"
QUERY_STRING
""
PATH_TRANSLATED
"E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\index.php\student-login"
PATH_INFO
"/student-login"
LOGON_USER
""
LOCAL_ADDR
"50.31.147.249"
INSTANCE_META_PATH
"/LM/W3SVC/129"
INSTANCE_NAME
"APPLY.HIHSHALDIA.IN"
INSTANCE_ID
"129"
HTTPS_SERVER_SUBJECT
"CN=apply.hihshaldia.in"
HTTPS_SERVER_ISSUER
"C=US, O=Let's Encrypt, CN=R3"
HTTPS_SECRETKEYSIZE
"2048"
HTTPS_KEYSIZE
"256"
HTTPS
"on"
GATEWAY_INTERFACE
"CGI/1.1"
DOCUMENT_ROOT
"E:\vhosts\amehaldia.co.in\apply.hihshaldia.in"
CONTENT_TYPE
""
CONTENT_LENGTH
"0"
CERT_SUBJECT
""
CERT_SERIALNUMBER
""
CERT_ISSUER
""
CERT_FLAGS
""
CERT_COOKIE
""
AUTH_USER
""
AUTH_PASSWORD
""
AUTH_TYPE
""
APPL_PHYSICAL_PATH
"E:\vhosts\amehaldia.co.in\apply.hihshaldia.in\"
APPL_MD_PATH
"/LM/W3SVC/129/ROOT"
IIS_UrlRewriteModule
"7,1,1993,2336"
WEBSOCKET_VERSION
"13"
UNENCODED_URL
"/student-login"
IIS_WasUrlRewritten
"1"
HTTP_X_ORIGINAL_URL
"/student-login"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_HOST
"apply.hihshaldia.in"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"0"
HTTP_CONNECTION
"close"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php/student-login"
REQUEST_TIME_FLOAT
1714046081.9063
REQUEST_TIME
1714046081
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:kCaqC1tLLT908VDCIxB8qDMvEGTZ9tRDl32qdU8vuH4="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://apply.hihshaldia.in/"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"amehaldi_apply_hihs"
DB_USERNAME
"ameha_ap_hihs"
DB_PASSWORD
"Uoa6q3&0"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.googlemail.com"
MAIL_PORT
"465"
MAIL_USERNAME
"payment.hihs@gmail.com"
MAIL_PASSWORD
"chankbnwzxwdvrtx"
MAIL_ENCRYPTION
"ssl"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
IM_API_KEY
"0db5c52f022146e518942e6ce4db86ec"
IM_AUTH_TOKEN
"786cb8bb17be15de0dee1bf4b1f8aa55"
IM_URL
"https://www.instamojo.com/api/1.1/"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:kCaqC1tLLT908VDCIxB8qDMvEGTZ9tRDl32qdU8vuH4="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://apply.hihshaldia.in/"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"amehaldi_apply_hihs"
DB_USERNAME
"ameha_ap_hihs"
DB_PASSWORD
"Uoa6q3&0"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.googlemail.com"
MAIL_PORT
"465"
MAIL_USERNAME
"payment.hihs@gmail.com"
MAIL_PASSWORD
"chankbnwzxwdvrtx"
MAIL_ENCRYPTION
"ssl"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
IM_API_KEY
"0db5c52f022146e518942e6ce4db86ec"
IM_AUTH_TOKEN
"786cb8bb17be15de0dee1bf4b1f8aa55"
IM_URL
"https://www.instamojo.com/api/1.1/"
0. Whoops\Handler\PrettyPageHandler