Projekte
Wir möchten Ihnen hier einige abgeschlossene Projekte vorstellen.
Weitere Leistungen
Warning: unserialize(): Unexpected end of serialized data in /mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Cache/Controller/OutputController.php on line 71 Warning: unserialize(): Error at offset 2280667 of 2280668 bytes in /mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Cache/Controller/OutputController.php on line 71
if ($this->isActive()) { throw new \RuntimeException('Failed to start the session: already started by PHP.'); } if (ini_get('session.use_cookies') && headers_sent($file, $line)) { throw new \RuntimeException( sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line) ); } if (!session_start()) { $this->setId($session_clean); $cookie->set($session_name, '', ['expires' => time() - 3600 ]); } } parent::start(); // Try loading data from the session if (!empty($_SESSION['joomla'])) { $this->data = unserialize(base64_decode($_SESSION['joomla'])); } { if ($this->isStarted()) { return; } $this->store->start(); $this->setState(SessionState::ACTIVE); // Initialise the session $this->setCounter(); * @since 1.0 */ public function has($name) { if (!$this->isActive()) { $this->start(); } return $this->store->has($name); } $name = $args[2] . '.' . $name; } } if (parent::has($name)) { // Parent is used because of b/c, can be changed in Joomla 6 return parent::get($name, $default); } /* */ public function getMessageQueue($clear = false) { // For empty queue, if messages exists in the session, enqueue them. if (!\count($this->messageQueue)) { $sessionQueue = $this->getSession()->get('application.queue', []); if ($sessionQueue) { $this->messageQueue = $sessionQueue; $this->getSession()->set('application.queue', []); } // Boolean short–circuit evaluation means this returns fast false when $isSite is false. return $isSite && $isGET && $app->getIdentity()->guest && empty($app->getMessageQueue()); } /** * Get the cache controller * * * @since 1.5 */ public function onAfterRespond(AfterRespondEvent $event): void { if (!$this->appStateSupportsCaching() || $this->getCacheController()->getCaching() === false) { return; } // Saves current page in cache. $this->getCacheController()->store($this->getApplication()->getBody(), $this->getCacheKey()); foreach ($this->listeners[$event->getName()] as $listener) { if ($event->isStopped()) { return $event; } $listener($event); } } return $event; } $dispatcher = $this->getDispatcher(); } catch (\UnexpectedValueException $exception) { return null; } return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this)); } /** * Method to run the application routines. * // Send the application response. $this->respond(); // Trigger the onAfterRespond event. $this->dispatchEvent( 'onAfterRespond', new AfterRespondEvent('onAfterRespond', ['subject' => $this]) ); }// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application.$app->execute(); // ... die die();}// Run the application - All executable code should be triggered through this filerequire_once __DIR__ . '/includes/app.php';|
RuntimeException
|
|---|
RuntimeException:
Failed to start the session because headers have already been sent by "/mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Cache/Controller/OutputController.php" at line 71.
at /mnt/web312/d2/29/547229/htdocs/cms/libraries/vendor/joomla/session/src/Storage/NativeStorage.php:454
at Joomla\Session\Storage\NativeStorage->start()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Session/Storage/JoomlaStorage.php:313)
at Joomla\CMS\Session\Storage\JoomlaStorage->start()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/vendor/joomla/session/src/Session.php:396)
at Joomla\Session\Session->start()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/vendor/joomla/session/src/Session.php:327)
at Joomla\Session\Session->has()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Session/Session.php:194)
at Joomla\CMS\Session\Session->get()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Application/CMSApplication.php:611)
at Joomla\CMS\Application\CMSApplication->getMessageQueue()
(/mnt/web312/d2/29/547229/htdocs/cms/plugins/system/cache/src/Extension/Cache.php:238)
at Joomla\Plugin\System\Cache\Extension\Cache->appStateSupportsCaching()
(/mnt/web312/d2/29/547229/htdocs/cms/plugins/system/cache/src/Extension/Cache.php:382)
at Joomla\Plugin\System\Cache\Extension\Cache->onAfterRespond()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/vendor/joomla/event/src/Dispatcher.php:454)
at Joomla\Event\Dispatcher->dispatch()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
at Joomla\Application\AbstractApplication->dispatchEvent()
(/mnt/web312/d2/29/547229/htdocs/cms/libraries/src/Application/CMSApplication.php:347)
at Joomla\CMS\Application\CMSApplication->execute()
(/mnt/web312/d2/29/547229/htdocs/cms/includes/app.php:58)
at require_once('/mnt/web312/d2/29/547229/htdocs/cms/includes/app.php')
(/mnt/web312/d2/29/547229/htdocs/cms/index.php:51)
|