Skip to main content
Filters

150 different beers at the Berlin Beer Festival from 4-6 May 2018

Continue reading

17th Long Night of Wines in the Arminius Market Hall - 31 October 2019

Continue reading

2 Tickets zum Preis von 1: Blue Man Group – die Show in Berlin

Continue reading

Warning: file_put_contents(/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/logs/com_jchoptimize.logs.php): Failed to open stream: Disk quota exceeded in /mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Filesystem/File.php on line 445 Cannot write to log file. (500 Whoops, looks like something went wrong.)

RuntimeException

HTTP 500 Whoops, looks like something went wrong.

Cannot write to log file.

Exception

RuntimeException

  1.         // Build the log file header.
  2.         $head $this->generateFileHeader();
  3.         if (!File::write($this->path$head)) {
  4.             throw new \RuntimeException('Cannot write to log file.');
  5.         }
  6.     }
  7.     /**
  8.      * Method to parse the format string into an array of fields.
  1.         if ($this->defer) {
  2.             $this->deferredEntries[] = $entry;
  3.         } else {
  4.             // Write it immediately.
  5.             // Initialise the file if not already done.
  6.             $this->initFile();
  7.             // Write the new entry to the file.
  8.             $line $this->formatLine($entry);
  9.             $line .= "\n";
FormattedtextLogger->addEntry() in /mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Log/Log.php (line 351)
  1.                 $this->loggers[$signature] = new $class($this->configurations[$signature]);
  2.             }
  3.             // Add the entry to the logger.
  4.             $this->loggers[$signature]->addEntry(clone $entry);
  5.         }
  6.     }
  7.     /**
  8.      * Method to find the loggers to use based on priority and category values.
  1.         // If the entry object isn't a LogEntry object let's make one.
  2.         if (!($entry instanceof LogEntry)) {
  3.             $entry = new LogEntry((string) $entry$priority$category$date$context);
  4.         }
  5.         static::$instance->addLogEntry($entry);
  6.     }
  7.     /**
  8.      * Add a logger to the Log instance.  Loggers route log entries to the correct files/systems to be logged.
  9.      *
  1.         }
  2.         $priority $this->psrToJoomlaPriorityMap[$level];
  3.         $date = @$context['date'] ?? null;
  4.         Log::add((string) $message$priority$this->category$date$context);
  5.     }
  6. }
  1.      *
  2.      * @return void
  3.      */
  4.     public function error($message, array $context = array())
  5.     {
  6.         $this->log(LogLevel::ERROR$message$context);
  7.     }
  8.     /**
  9.      * Exceptional occurrences that are not errors.
  10.      *
  11.      * Example: Use of deprecated APIs, poor use of an API, undesirable things
  1.     public static function logException(Exception $e): void
  2.     {
  3.         $container ContainerFactory::getContainer();
  4.         /** @var LoggerInterface $logger */
  5.         $logger $container->get(LoggerInterface::class);
  6.         $logger->error((string)$e);
  7.     }
  8. }
  1.     public function onException(ExceptionEvent $event)
  2.     {
  3.         $options $this->getOptions();
  4.         $callback $options->getExceptionCallback();
  5.         if ($callback) {
  6.             call_user_func($callback$event->getException());
  7.         }
  8.         $event->setThrowException($options->getThrowExceptions());
  9.     }
  10. }
  1.         // Execute listeners
  2.         $responses = new ResponseCollection();
  3.         foreach ($listOfListenersByPriority as $listOfListeners) {
  4.             foreach ($listOfListeners as $listeners) {
  5.                 foreach ($listeners as $listener) {
  6.                     $response $listener($event);
  7.                     $responses->push($response);
  8.                     // If the event was asked to stop propagating, do so
  9.                     if ($event->propagationIsStopped()) {
  10.                         $responses->setStopped(\true);
  11.                         return $responses;
  1.     /**
  2.      * @inheritDoc
  3.      */
  4.     public function triggerEvent(EventInterface $event)
  5.     {
  6.         return $this->triggerListeners($event);
  7.     }
  8.     /**
  9.      * @inheritDoc
  10.      */
  11.     public function triggerEventUntil(callable $callbackEventInterface $event)
  1.      * @return mixed
  2.      */
  3.     protected function triggerException($eventNameArrayObject $args, &$result\Exception $exception)
  4.     {
  5.         $exceptionEvent = new ExceptionEvent($eventName '.exception'$this$args$result$exception);
  6.         $eventRs $this->getEventManager()->triggerEvent($exceptionEvent);
  7.         if ($exceptionEvent->getThrowException()) {
  8.             throw $exceptionEvent->getException();
  9.         }
  10.         return $eventRs->stopped() ? $eventRs->last() : $exceptionEvent->getResult();
  11.     }
  1.             $eventRs $this->triggerPre(__FUNCTION__$args);
  2.             $result $eventRs->stopped() ? $eventRs->last() : $this->internalSetItem($args['key'], $args['value']);
  3.             return $this->triggerPost(__FUNCTION__$args$result);
  4.         } catch (\Exception $e) {
  5.             $result \false;
  6.             return $this->triggerException(__FUNCTION__$args$result$e);
  7.         }
  8.     }
  9.     /**
  10.      * Internal method to store an item.
  11.      *
  1.     {
  2.         $options $this->getOptions();
  3.         if ($options->getWritable() && $options->getClearStatCache()) {
  4.             $this->filesystem->clearStatCache();
  5.         }
  6.         return parent::setItem($key$value);
  7.     }
  8.     /**
  9.      * Store multiple items.
  10.      *
  11.      * @param  array $keyValuePairs
  1.                 'headers' => $this->utility->getHeaders()
  2.             ];
  3.             try {
  4.                 //Save an empty page using the same id then tag it
  5.                 $this->taggableCache->setItem(
  6.                     $this->cacheId,
  7.                     '<html lang><head><title></title></head><body></body></html>'
  8.                 );
  9.                 $this->taggableCache->setTags(
  10.                     $this->cacheId,
  1.         //Page cache could be disabled at runtime so check again here
  2.         if ($this->enabled && $this->app instanceof CMSApplication && $this->pageCache->getCachingEnabled()) {
  3.             $body $this->app->getBody();
  4.             //Still need to validate the HTMl here. We may be on a redirect.
  5.             if (Helper::validateHtml($body)) {
  6.                 $this->pageCache->store($this->addUpdateHitScript($this->addUpdateFormTokenAjax($body)));
  7.             }
  8.         }
  9.     }
  10.     /**
  1.             foreach ($this->listeners[$event->getName()] as $listener) {
  2.                 if ($event->isStopped()) {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
  1.             $dispatcher $this->getDispatcher();
  2.         } catch (\UnexpectedValueException $exception) {
  3.             return null;
  4.         }
  5.         return $dispatcher->dispatch($eventName$event ?: new ApplicationEvent($eventName$this));
  6.     }
  7.     /**
  8.      * Method to run the application routines.
  9.      *
  1.         // Send the application response.
  2.         $this->respond();
  3.         // Trigger the onAfterRespond event.
  4.         $this->dispatchEvent(
  5.             'onAfterRespond',
  6.             new AfterRespondEvent('onAfterRespond', ['subject' => $this])
  7.         );
  8.     }
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/mnt/web614/b0/69/511984669/htdocs/joomla/includes/app.php') in /mnt/web614/b0/69/511984669/htdocs/joomla/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

RuntimeException
RuntimeException:
Cannot write to log file.

  at /mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Log/Logger/FormattedtextLogger.php:273
  at Joomla\CMS\Log\Logger\FormattedtextLogger->initFile()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Log/Logger/FormattedtextLogger.php:162)
  at Joomla\CMS\Log\Logger\FormattedtextLogger->addEntry()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Log/Log.php:351)
  at Joomla\CMS\Log\Log->addLogEntry()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Log/Log.php:176)
  at Joomla\CMS\Log\Log::add()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/src/Joomla/Log/JoomlaLogger.php:63)
  at CodeAlfa\Component\JchOptimize\Administrator\Joomla\Log\JoomlaLogger->log()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/psr/log/Psr/Log/AbstractLogger.php:66)
  at _JchOptimizeVendor\Psr\Log\AbstractLogger->error()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/src/Laminas/Plugins/ExceptionHandler.php:27)
  at JchOptimize\Core\Laminas\Plugins\ExceptionHandler::logException()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-cache/src/Storage/Plugin/ExceptionHandler.php:55)
  at _JchOptimizeVendor\Laminas\Cache\Storage\Plugin\ExceptionHandler->onException()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-eventmanager/src/EventManager.php:270)
  at _JchOptimizeVendor\Laminas\EventManager\EventManager->triggerListeners()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-eventmanager/src/EventManager.php:148)
  at _JchOptimizeVendor\Laminas\EventManager\EventManager->triggerEvent()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-cache/src/Storage/Adapter/AbstractAdapter.php:224)
  at _JchOptimizeVendor\Laminas\Cache\Storage\Adapter\AbstractAdapter->triggerException()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-cache/src/Storage/Adapter/AbstractAdapter.php:566)
  at _JchOptimizeVendor\Laminas\Cache\Storage\Adapter\AbstractAdapter->setItem()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-cache-storage-adapter-filesystem/src/Filesystem.php:716)
  at _JchOptimizeVendor\Laminas\Cache\Storage\Adapter\Filesystem->setItem()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/administrator/components/com_jchoptimize/lib/src/PageCache/PageCache.php:222)
  at JchOptimize\Core\PageCache\PageCache->store()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/plugins/system/jchpagecache/src/Extension/JchPageCache.php:178)
  at CodeAlfa\Plugin\System\JchPageCache\Extension\JchPageCache->onAfterRespond()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/libraries/src/Application/CMSApplication.php:349)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/mnt/web614/b0/69/511984669/htdocs/joomla/includes/app.php:58)
  at require_once('/mnt/web614/b0/69/511984669/htdocs/joomla/includes/app.php')
     (/mnt/web614/b0/69/511984669/htdocs/joomla/index.php:32)