ليس لديك حساب؟ قم بعمل حساب من هنا
"fwrite(): write of 1647 bytes failed with errno=122 Disk quota exceeded"
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)) {
$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);
}
$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;
*
* @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)
{
}
$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
* @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.
* @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);
}
/**
*
* @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
*
* @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.
*/
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;
}
$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
*/
/**
* 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);
}
}
}
/**
* 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);
Key | Value |
XSRF-TOKEN | "eyJpdiI6IjBsbEhERjVqMjV5ek9ucEl4VVA3dlE9PSIsInZhbHVlIjoiM045U1BoXC9QdGFCdjRoSW05UFRRdlZ0OHA1YzB3WSsxU3ptXC8xcXZtbjE5MFB6Tkk0Qk1qOEcwVEk2T3BVS003IiwibWFjIjoiMzI3ZDBkNDZiZjAyYTQ1MjI0NThkYzQ0YjgzMzMyMzgwYWIzMDU4ZWNhYTc2NDk5MzA5MjI5MTcwNDAwZTEzZCJ9 ◀"
|
almahrosa_session | "eyJpdiI6Ilp1dTJwQjJZeE04cmhlMWJmQ0o3b3c9PSIsInZhbHVlIjoidVhPZmQ1QVV4M1dYNlhpeWZrVW5QWmZ5ZGhHSHk1UXhibnV2QUE5d3orR2JYaWgxYmpiY3lnamJYekJnRld1NSIsIm1hYyI6IjlkZjRlOGRlYTUxN2E0YjA3YTVlNDQ2NWE0NmM2YmU2MGQyNTc2ZjQyYzZhZWJlNTE3Zjc3ZmQzYmFmNGE4MTMifQ== ◀"
|
Key | Value |
PHP_INI_SCAN_DIR | "/etc/opt/remi/php74/php.d:/home/mahrousaeg/public_html"
|
PATH | "/bin:/usr/bin"
|
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_ACCEPT_ENCODING | "gzip, deflate, br, zstd"
|
HTTP_COOKIE | "XSRF-TOKEN=eyJpdiI6IjBsbEhERjVqMjV5ek9ucEl4VVA3dlE9PSIsInZhbHVlIjoiM045U1BoXC9QdGFCdjRoSW05UFRRdlZ0OHA1YzB3WSsxU3ptXC8xcXZtbjE5MFB6Tkk0Qk1qOEcwVEk2T3BVS003IiwibWFjIjoiMzI3ZDBkNDZiZjAyYTQ1MjI0NThkYzQ0YjgzMzMyMzgwYWIzMDU4ZWNhYTc2NDk5MzA5MjI5MTcwNDAwZTEzZCJ9; almahrosa_session=eyJpdiI6Ilp1dTJwQjJZeE04cmhlMWJmQ0o3b3c9PSIsInZhbHVlIjoidVhPZmQ1QVV4M1dYNlhpeWZrVW5QWmZ5ZGhHSHk1UXhibnV2QUE5d3orR2JYaWgxYmpiY3lnamJYekJnRld1NSIsIm1hYyI6IjlkZjRlOGRlYTUxN2E0YjA3YTVlNDQ2NWE0NmM2YmU2MGQyNTc2ZjQyYzZhZWJlNTE3Zjc3ZmQzYmFmNGE4MTMifQ%3D%3D ◀"
|
HTTP_HOST | "mahrousaeg.com"
|
HTTP_PRAGMA | "no-cache"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_CACHE_CONTROL | "no-cache"
|
HTTP_SEC_CH_UA | ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129""
|
HTTP_SEC_CH_UA_MOBILE | "?0"
|
HTTP_SEC_CH_UA_PLATFORM | ""Windows""
|
HTTP_UPGRADE_INSECURE_REQUESTS | "1"
|
HTTP_SEC_FETCH_SITE | "none"
|
HTTP_SEC_FETCH_MODE | "navigate"
|
HTTP_SEC_FETCH_USER | "?1"
|
HTTP_SEC_FETCH_DEST | "document"
|
HTTP_PRIORITY | "u=0, i"
|
DOCUMENT_ROOT | "/home/mahrousaeg/public_html"
|
REMOTE_ADDR | "3.144.237.37"
|
REMOTE_PORT | "7762"
|
SERVER_ADDR | "78.128.43.192"
|
SERVER_NAME | "mahrousaeg.com"
|
SERVER_ADMIN | "" |
SERVER_PORT | "443"
|
REQUEST_URI | "/login"
|
REDIRECT_URL | "/almahrosa/server.php"
|
HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
X_SPDY | "HTTP2"
|
SSL_PROTOCOL | "TLSv1.3"
|
SSL_CIPHER | "TLS_AES_128_GCM_SHA256"
|
SSL_CIPHER_USEKEYSIZE | "128"
|
SSL_CIPHER_ALGKEYSIZE | "128"
|
LSWS_EDITION | "Openlitespeed 1.8.2"
|
X-LSCACHE | "on,crawler"
|
SCRIPT_FILENAME | "/home/mahrousaeg/public_html/almahrosa/server.php"
|
QUERY_STRING | "" |
SCRIPT_NAME | "/almahrosa/server.php"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
SERVER_SOFTWARE | "LiteSpeed"
|
REQUEST_METHOD | "GET"
|
PHP_SELF | "/almahrosa/server.php"
|
REQUEST_TIME_FLOAT | 1736240390.7042
|
REQUEST_TIME | 1736240390
|
APP_NAME | "Almahrosa"
|
APP_ENV | "production"
|
APP_KEY | "base64:VV78lsqIC30HRJTiM53uSpz8L3z5TcHT88iJ2oaAQcM="
|
APP_DEBUG | "true"
|
APP_URL | "http://test3.aceviral.me"
|
LOG_CHANNEL | "stack"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "localhost"
|
DB_PORT | "3306"
|
DB_DATABASE | "mahrousaeg_almahrosa"
|
DB_USERNAME | "mahrousaeg_almahrosa"
|
DB_PASSWORD | "mahrousaeg_almahrosa"
|
SCOUT_DRIVER | "tntsearch"
|
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.gmail.com"
|
MAIL_PORT | "587"
|
MAIL_USERNAME | "marketingmahrouseag@gmail.com"
|
MAIL_PASSWORD | "kyoortuzmupzbnac"
|
MAIL_ENCRYPTION | "tls"
|
MAIL_FROM_NAME | "Al Mahrosa"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1"
|
MIX_PUSHER_APP_KEY | "" |
MIX_PUSHER_APP_CLUSTER | "mt1"
|
Key | Value |
APP_NAME | "Almahrosa"
|
APP_ENV | "production"
|
APP_KEY | "base64:VV78lsqIC30HRJTiM53uSpz8L3z5TcHT88iJ2oaAQcM="
|
APP_DEBUG | "true"
|
APP_URL | "http://test3.aceviral.me"
|
LOG_CHANNEL | "stack"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "localhost"
|
DB_PORT | "3306"
|
DB_DATABASE | "mahrousaeg_almahrosa"
|
DB_USERNAME | "mahrousaeg_almahrosa"
|
DB_PASSWORD | "mahrousaeg_almahrosa"
|
SCOUT_DRIVER | "tntsearch"
|
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.gmail.com"
|
MAIL_PORT | "587"
|
MAIL_USERNAME | "marketingmahrouseag@gmail.com"
|
MAIL_PASSWORD | "kyoortuzmupzbnac"
|
MAIL_ENCRYPTION | "tls"
|
MAIL_FROM_NAME | "Al Mahrosa"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1"
|
MIX_PUSHER_APP_KEY | "" |
MIX_PUSHER_APP_CLUSTER | "mt1"
|