Understanding How COE Works In Singapore!

2019-06-01 16:55:26

123 Whoops! There was an error.
ErrorException (E_WARNING)
file_put_contents(/home/carquota/carquotation/storage/framework/sessions/mE06CYHXkgddWoswK78bQ2Ja1k0DSwRnPDBHPDxd): failed to open stream: Disk quota exceeded ErrorException thrown with message "file_put_contents(/home/carquota/carquotation/storage/framework/sessions/mE06CYHXkgddWoswK78bQ2Ja1k0DSwRnPDBHPDxd): failed to open stream: Disk quota exceeded" Stacktrace: #7 ErrorException in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 #6 file_put_contents in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 #5 Illuminate\Filesystem\Filesystem:put in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php:83 #4 Illuminate\Session\FileSessionHandler:write in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Session/Store.php:129 #3 Illuminate\Session\Store:save in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:87 #2 Illuminate\Session\Middleware\StartSession:terminate in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:218 #1 Illuminate\Foundation\Http\Kernel:terminateMiddleware in /home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:189 #0 Illuminate\Foundation\Http\Kernel:terminate in /home/carquota/public_html/index.php:62
7
ErrorException
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php122
6
file_put_contents
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php122
5
Illuminate\Filesystem\Filesystem put
/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php83
4
Illuminate\Session\FileSessionHandler write
/vendor/laravel/framework/src/Illuminate/Session/Store.php129
3
Illuminate\Session\Store save
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php87
2
Illuminate\Session\Middleware\StartSession terminate
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php218
1
Illuminate\Foundation\Http\Kernel terminateMiddleware
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php189
0
Illuminate\Foundation\Http\Kernel terminate
/home/carquota/public_html/index.php62
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Write the contents of a file, replacing it atomically if it already exists.
     *
     * @param  string  $path
     * @param  string  $content
     * @return void
     */
    public function replace($path, $content)
    {
        // If the path already exists and is a symlink, get the real path...
        clearstatcache(true, $path);
 
        $path = realpath($path) ?: $path;
 
        $tempPath = tempnam(dirname($path), basename($path));
 
        // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
        chmod($tempPath, 0777 - umask());
Arguments
  1. "file_put_contents(/home/carquota/carquotation/storage/framework/sessions/mE06CYHXkgddWoswK78bQ2Ja1k0DSwRnPDBHPDxd): failed to open stream: Disk quota exceeded"
    
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Write the contents of a file, replacing it atomically if it already exists.
     *
     * @param  string  $path
     * @param  string  $content
     * @return void
     */
    public function replace($path, $content)
    {
        // If the path already exists and is a symlink, get the real path...
        clearstatcache(true, $path);
 
        $path = realpath($path) ?: $path;
 
        $tempPath = tempnam(dirname($path), basename($path));
 
        // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
        chmod($tempPath, 0777 - umask());
Arguments
  1. "/home/carquota/carquotation/storage/framework/sessions/mE06CYHXkgddWoswK78bQ2Ja1k0DSwRnPDBHPDxd"
    
  2. "a:3:{s:6:"_token";s:40:"Si1bXTZxHZEYPPgSvnCdh8F6LBh01EBp2pMZqHxG";s:9:"_previous";a:1:{s:3:"url";s:99:"https://carquotations.com.sg/knowledge/individual-articles/understanding-how-coe-works-in-singapore";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
    
  3. 2
    
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php
    /**
     * {@inheritdoc}
     */
    public function read($sessionId)
    {
        if ($this->files->isFile($path = $this->path.'/'.$sessionId)) {
            if ($this->files->lastModified($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) {
                return $this->files->sharedGet($path);
            }
        }
 
        return '';
    }
 
    /**
     * {@inheritdoc}
     */
    public function write($sessionId, $data)
    {
        $this->files->put($this->path.'/'.$sessionId, $data, true);
 
        return true;
    }
 
    /**
     * {@inheritdoc}
     */
    public function destroy($sessionId)
    {
        $this->files->delete($this->path.'/'.$sessionId);
 
        return true;
    }
 
    /**
     * {@inheritdoc}
     */
    public function gc($lifetime)
    {
        $files = Finder::create()
Arguments
  1. "/home/carquota/carquotation/storage/framework/sessions/mE06CYHXkgddWoswK78bQ2Ja1k0DSwRnPDBHPDxd"
    
  2. "a:3:{s:6:"_token";s:40:"Si1bXTZxHZEYPPgSvnCdh8F6LBh01EBp2pMZqHxG";s:9:"_previous";a:1:{s:3:"url";s:99:"https://carquotations.com.sg/knowledge/individual-articles/understanding-how-coe-works-in-singapore";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
    
  3. true
    
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Session/Store.php
     *
     * @param  string  $data
     * @return string
     */
    protected function prepareForUnserialize($data)
    {
        return $data;
    }
 
    /**
     * Save the session data to storage.
     *
     * @return bool
     */
    public function save()
    {
        $this->ageFlashData();
 
        $this->handler->write($this->getId(), $this->prepareForStorage(
            serialize($this->attributes)
        ));
 
        $this->started = false;
    }
 
    /**
     * Prepare the serialized session data for storage.
     *
     * @param  string  $data
     * @return string
     */
    protected function prepareForStorage($data)
    {
        return $data;
    }
 
    /**
     * Age the flash data for the session.
     *
     * @return void
Arguments
  1. "mE06CYHXkgddWoswK78bQ2Ja1k0DSwRnPDBHPDxd"
    
  2. "a:3:{s:6:"_token";s:40:"Si1bXTZxHZEYPPgSvnCdh8F6LBh01EBp2pMZqHxG";s:9:"_previous";a:1:{s:3:"url";s:99:"https://carquotations.com.sg/knowledge/individual-articles/understanding-how-coe-works-in-singapore";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
    
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
        return $response;
    }
 
    /**
     * Perform any final actions for the request lifecycle.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        if ($this->sessionHandled && $this->sessionConfigured() && ! $this->usingCookieSessions()) {
            $this->manager->driver()->save();
        }
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Contracts\Session\Session
     */
    protected function startSession(Request $request)
    {
        return tap($this->getSession($request), function ($session) use ($request) {
            $session->setRequestOnHandler($request);
 
            $session->start();
        });
    }
 
    /**
     * Get the session implementation from the manager.
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
                continue;
            }
 
            [$name] = $this->parseMiddleware($middleware);
 
            $instance = $this->app->make($name);
 
            if (method_exists($instance, 'terminate')) {
                $instance->terminate($request, $response);
            }
        }
    }
 
    /**
     * Gather the route middleware for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    protected function gatherRouteMiddleware($request)
    {
        if ($route = $request->route()) {
            return $this->router->gatherRouteMiddleware($route);
        }
 
        return [];
    }
 
    /**
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#402 …5}
      #routeResolver: Closure() {#404 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
      #requestUri: "/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#458}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Response {#475}
    
/home/carquota/carquotation/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#402 …5}
      #routeResolver: Closure() {#404 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
      #requestUri: "/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#458}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Response {#475}
    
/home/carquota/public_html/index.php
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#402 …5}
      #routeResolver: Closure() {#404 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
      #requestUri: "/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#458}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Response {#475}
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
LSPHP_ENABLE_USER_INI
"on"
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
CONTENT_LENGTH
"0"
HTTP_HOST
"carquotations.com.sg"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_HTTPS
"1"
REDIRECT_UNIQUE_ID
"Z1ygl134vpwzaZsSeIEnsQABNRM"
REDIRECT_SCRIPT_URL
"/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
REDIRECT_SCRIPT_URI
"https://carquotations.com.sg/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"carquotations.com.sg"
REDIRECT_HTTP2
"on"
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"3"
REDIRECT_H2_STREAM_TAG
"3275489-305-3"
REDIRECT_STATUS
"200"
UNIQUE_ID
"Z1ygl134vpwzaZsSeIEnsQABNRM"
SCRIPT_URL
"/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
SCRIPT_URI
"https://carquotations.com.sg/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
HTTPS
"on"
SSL_TLS_SNI
"carquotations.com.sg"
HTTP2
"on"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"3"
H2_STREAM_TAG
"3275489-305-3"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"carquotations.com.sg"
SERVER_ADDR
"101.100.210.90"
SERVER_PORT
"443"
REMOTE_ADDR
"3.147.53.55"
DOCUMENT_ROOT
"/home/carquota/public_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/carquota/public_html"
SERVER_ADMIN
"webmaster@carquotations.com.sg"
SCRIPT_FILENAME
"/home/carquota/public_html/index.php"
REMOTE_PORT
"43307"
REDIRECT_URL
"/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
SERVER_PROTOCOL
"HTTP/2.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/knowledge/individual-articles/understanding-how-coe-works-in-singapore"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1734123671.9018
REQUEST_TIME
1734123671
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:a6Xiuw51hmj7pRmwhT1ZnuxHx2KrzC+DklyFHdANF3s="
APP_DEBUG
"true"
APP_URL
"https://carquotations.com.sg/"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"carquota_2019"
DB_USERNAME
"carquota_root"
DB_PASSWORD
"Ka+u3YaF@u=G"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"array"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.carquotations.com.sg"
MAIL_PORT
"587"
MAIL_USERNAME
"noreply01@carquotations.com.sg"
MAIL_PASSWORD
"UctCuJc?9Avq"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
CAPTCHA_SITE_KEY
"6LeYTbMUAAAAANRSjU_ewilGTqYAOLRWmLcSUK5h"
CAPTCHA_SITE_SECRET
"6LeYTbMUAAAAAMeLciHNInq3BPB7oLE-K31JNTfb"
Key Value
LSPHP_ENABLE_USER_INI
"on"
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:a6Xiuw51hmj7pRmwhT1ZnuxHx2KrzC+DklyFHdANF3s="
APP_DEBUG
"true"
APP_URL
"https://carquotations.com.sg/"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"carquota_2019"
DB_USERNAME
"carquota_root"
DB_PASSWORD
"Ka+u3YaF@u=G"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"array"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.carquotations.com.sg"
MAIL_PORT
"587"
MAIL_USERNAME
"noreply01@carquotations.com.sg"
MAIL_PASSWORD
"UctCuJc?9Avq"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
CAPTCHA_SITE_KEY
"6LeYTbMUAAAAANRSjU_ewilGTqYAOLRWmLcSUK5h"
CAPTCHA_SITE_SECRET
"6LeYTbMUAAAAAMeLciHNInq3BPB7oLE-K31JNTfb"
0. Whoops\Handler\PrettyPageHandler