www.esgcs.co.mz Open in urlscan Pro
92.204.146.225  Public Scan

Submitted URL: http://esgcs.co.mz/
Effective URL: https://www.esgcs.co.mz/
Submission Tags: falconsandbox
Submission: On August 28 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

ErrorException (E_NOTICE)
fwrite(): write of 2182 bytes failed with errno=28 No space left on device
 * 
 * 
 * 

ErrorException thrown with message "fwrite(): write of 2182 bytes failed with
errno=28 No space left on device" Stacktrace: #13 ErrorException in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:133
#12 fwrite in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:133
#11 Monolog\Handler\StreamHandler:streamWrite in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:119
#10 Monolog\Handler\StreamHandler:write in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:120
#9 Monolog\Handler\RotatingFileHandler:write in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39
#8 Monolog\Handler\AbstractProcessingHandler:handle in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7
Monolog\Logger:addRecord in
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Logger.php:712 #6
Monolog\Logger:error in
/var/www/esgcs.co.mz/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176
#5 Illuminate\Log\Logger:writeLog in
/var/www/esgcs.co.mz/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87
#4 Illuminate\Log\Logger:error in
/var/www/esgcs.co.mz/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:500
#3 Illuminate\Log\LogManager:error in
/var/www/esgcs.co.mz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:118
#2 Illuminate\Foundation\Exceptions\Handler:report in
/var/www/esgcs.co.mz/app/Exceptions/Handler.php:37 #1
App\Exceptions\Handler:report in
/var/www/esgcs.co.mz/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:92
#0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in
[internal]:0 COPY HIDE
Application frames (1) All frames (14)
13
ErrorException
…/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php133
12
fwrite
…/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php133
11
Monolog\Handler\StreamHandler streamWrite
…/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php119
10
Monolog\Handler\StreamHandler write
…/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php120
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.php712
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.php118
2
Illuminate\Foundation\Exceptions\Handler report
…/app/Exceptions/Handler.php37
1
App\Exceptions\Handler report
…/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php92
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleException
[internal]0
/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php

        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
     */
    protected function streamWrite($stream, array $record)
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler($code, $msg)
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
    }
 
    /**
     * @param string $stream
     *
     * @return null|string
     */
    private function getDirFromStream($stream)
    {
        $pos = strpos($stream, '://');
        if ($pos === false) {
            return dirname($stream);
        }
 
        if ('file://' === substr($stream, 0, 7)) {


Arguments

 1. "fwrite(): write of 2182 bytes failed with errno=28 No space left on device"
    


/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php

        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
     */
    protected function streamWrite($stream, array $record)
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler($code, $msg)
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
    }
 
    /**
     * @param string $stream
     *
     * @return null|string
     */
    private function getDirFromStream($stream)
    {
        $pos = strpos($stream, '://');
        if ($pos === false) {
            return dirname($stream);
        }
 
        if ('file://' === substr($stream, 0, 7)) {



/var/www/esgcs.co.mz/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php

            $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 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);
        }
 
        $this->streamWrite($this->stream, $record);
 
        if ($this->useLocking) {
            flock($this->stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array $record
     */
    protected function streamWrite($stream, array $record)
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler($code, $msg)
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
    }



/var/www/esgcs.co.mz/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;



/var/www/esgcs.co.mz/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)
    {



/var/www/esgcs.co.mz/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



/var/www/esgcs.co.mz/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.



/var/www/esgcs.co.mz/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);
    }
 
    /**



/var/www/esgcs.co.mz/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



/var/www/esgcs.co.mz/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.



/var/www/esgcs.co.mz/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
     */



/var/www/esgcs.co.mz/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);
    }
}
 



/var/www/esgcs.co.mz/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 {
            self::$reservedMemory = null;
 
            $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:

GET Data empty
POST Data empty
Files empty
Cookies empty
Session empty
Server/Request Data

Key Value USER

"www-data"


HOME

"/var/www"


SCRIPT_NAME

"/index.php"


REQUEST_URI

"/"


QUERY_STRING

""


REQUEST_METHOD

"GET"


SERVER_PROTOCOL

"HTTP/1.1"


GATEWAY_INTERFACE

"CGI/1.1"


REMOTE_PORT

"47898"


SCRIPT_FILENAME

"/var/www/esgcs.co.mz/index.php"


SERVER_ADMIN

"geral@suselearning.com"


CONTEXT_DOCUMENT_ROOT

"/var/www/esgcs.co.mz"


CONTEXT_PREFIX

""


REQUEST_SCHEME

"https"


DOCUMENT_ROOT

"/var/www/esgcs.co.mz"


REMOTE_ADDR

"84.19.175.183"


SERVER_PORT

"443"


SERVER_ADDR

"92.204.146.225"


SERVER_NAME

"www.esgcs.co.mz"


SERVER_SOFTWARE

"Apache/2.4.52 (Ubuntu)"


SERVER_SIGNATURE

"<address>Apache/2.4.52 (Ubuntu) Server at www.esgcs.co.mz Port 443</address>\n"


PATH

"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"


HTTP_ACCEPT_LANGUAGE

"de-DE,de;q=0.9"


HTTP_ACCEPT_ENCODING

"gzip, deflate, br, zstd"


HTTP_SEC_FETCH_DEST

"document"


HTTP_SEC_FETCH_USER

"?1"


HTTP_SEC_FETCH_MODE

"navigate"


HTTP_SEC_FETCH_SITE

"none"


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.7"


HTTP_USER_AGENT

"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"


HTTP_UPGRADE_INSECURE_REQUESTS

"1"


HTTP_CONNECTION

"keep-alive"


HTTP_HOST

"www.esgcs.co.mz"


proxy-nokeepalive

"1"


SSL_TLS_SNI

"www.esgcs.co.mz"


HTTPS

"on"


SCRIPT_URI

"https://www.esgcs.co.mz/"


SCRIPT_URL

"/"


FCGI_ROLE

"RESPONDER"


PHP_SELF

"/index.php"


REQUEST_TIME_FLOAT

1724827553.161


REQUEST_TIME

1724827553


APP_NAME

"Laravel"


APP_ENV

"local"


APP_KEY

"base64:9kYDpOSqSwawAkOwZco1tc7pexycNaZsNIi++1Jxin0="


APP_DEBUG

"true"


APP_URL

"http://localhost"


LOG_CHANNEL

"stack"


DB_CONNECTION

"mysql"


DB_HOST

"127.0.0.1"


DB_PORT

"3306"


DB_DATABASE

"cbs_website"


DB_USERNAME

"root"


DB_PASSWORD

"T08c?T6h3HHu"


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:9kYDpOSqSwawAkOwZco1tc7pexycNaZsNIi++1Jxin0="


APP_DEBUG

"true"


APP_URL

"http://localhost"


LOG_CHANNEL

"stack"


DB_CONNECTION

"mysql"


DB_HOST

"127.0.0.1"


DB_PORT

"3306"


DB_DATABASE

"cbs_website"


DB_USERNAME

"root"


DB_PASSWORD

"T08c?T6h3HHu"


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