Warning: file_put_contents(/mnt/web201/a0/78/57812878/htdocs/t3-assets/dev/templates.t3_bs3_blank.less.custom.less.css): Failed to open stream: Permission denied in /mnt/web201/a0/78/57812878/htdocs/libraries/src/Filesystem/File.php on line 445
$returning = new \stdClass(); $returning->locklooped = false; $looptime = $locktime * 10; $path = $this->_getFilePath($id, $group); $_fileopen = @fopen($path, 'c+b'); if (!$_fileopen) { $returning->locked = false; return $returning; $returning = new \stdClass(); $returning->locklooped = false; $looptime = $locktime * 10; $path = $this->_getFilePath($id, $group); $_fileopen = @fopen($path, 'c+b'); if (!$_fileopen) { $returning->locked = false; return $returning; * NOTE drivers with lock need also unlock or unlocking will fail because of false $id */ $handler = $this->_getStorage(); if ($this->_options['locking']) { $locked = $handler->lock($id, $group, $locktime); if ($locked !== false) { return $locked; } } $data = $this->cache->get($id); $locktest = (object) ['locked' => null, 'locklooped' => null]; if ($data === false) { $locktest = $this->cache->lock($id); // If locklooped is true try to get the cached data again; it could exist now. if ($locktest->locked === true && $locktest->locklooped === true) { $data = $this->cache->get($id); } $cache = Factory::getContainer()->get(CacheControllerFactory::class) ->createCacheController('Callback', ['lifetime' => $app->get('cachetime'), 'caching' => $enableCache, 'defaultgroup' => 'schemaorg']); // Add article data if ($view == 'article' && $id > 0) { $additionalSchemas = $cache->get(function ($id) use ($component, $baseId) { $model = $component->createModel('Article', 'Site'); $article = $model->getItem($id); if (empty($article->id)) { $schema = $event->getSchema(); [$extension, $view, $id] = explode('.', $context); if ($extension === 'com_content' && $this->params->get('schema_content', 1)) { $this->injectContentSchema($context, $schema); } elseif ($extension === 'com_contact' && $this->params->get('schema_contact', 1)) { $this->injectContactSchema($context, $schema); } } foreach ($this->listeners[$event->getName()] as $listener) { if ($event->isStopped()) { return $event; } $listener($event); } } return $event; } 'subject' => $schema, 'context' => $context . '.' . $itemId, ]); PluginHelper::importPlugin('schemaorg', null, true, $dispatcher); $dispatcher->dispatch('onSchemaBeforeCompileHead', $event); $data = $schema->get('@graph'); foreach ($data as $key => $entry) { $data[$key] = $this->cleanupSchema($entry); foreach ($this->listeners[$event->getName()] as $listener) { if ($event->isStopped()) { return $event; } $listener($event); } } return $event; } // Check for AttachBehavior $onAttachCallCache = WebAssetManager::callOnAttachCallback($wa->getAssets('script', true), $this->_doc); // Trigger the onBeforeCompileHead event $app->getDispatcher()->dispatch( 'onBeforeCompileHead', new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app, 'document' => $this->_doc]) ); // Re-Check for AttachBehavior for newly added assets $cbuffer[$hash] = $tmpdata; $cache->store($cbuffer, 'cbuffer_' . $type); } else { $this->setBuffer($renderer->render($name, $attribs, null), $type, $name, $title); } return parent::$_buffer[$type][$name][$title]; } $replace = []; $with = []; foreach ($this->_template_tags as $jdoc => $args) { $replace[] = $jdoc; $with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']); } return str_replace($replace, $with, $this->_template); }} if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) { $this->cspNonce = $params['csp_nonce']; } $data = $this->_renderTemplate(); parent::render($caching, $params); return $data; } $this->debug = $params['debug'] ?? false; $this->error = $this->_error; $params['file'] = 'error.php'; return parent::render($cache, $params); } /** * Render the backtrace * ob_end_clean(); } $this->getDocument()->setTitle(Text::_('Error') . ': ' . $error->getCode()); return $this->getDocument()->render( false, [ 'template' => $template->template, 'directory' => JPATH_THEMES, 'debug' => JDEBUG, 'subject' => $app, 'document' => $renderer->getDocument(), ]) ); $data = $renderer->render($error); // If nothing was rendered, just use the message from the Exception if (empty($data)) { $data = $error->getMessage(); } * @since 3.10.0 */ public static function handleException(\Throwable $error) { static::logException($error); static::render($error); } /** * Render the error page based on an exception. * ); // Trigger the onError event. $this->dispatchEvent('onError', $event); ExceptionHandler::handleException($event->getError()); } // Trigger the onBeforeRespond event. $this->dispatchEvent( 'onBeforeRespond',// 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'; $returning = new \stdClass(); $returning->locklooped = false; $looptime = $locktime * 10; $path = $this->_getFilePath($id, $group); $_fileopen = @fopen($path, 'c+b'); if (!$_fileopen) { $returning->locked = false; return $returning; $returning = new \stdClass(); $returning->locklooped = false; $looptime = $locktime * 10; $path = $this->_getFilePath($id, $group); $_fileopen = @fopen($path, 'c+b'); if (!$_fileopen) { $returning->locked = false; return $returning; * NOTE drivers with lock need also unlock or unlocking will fail because of false $id */ $handler = $this->_getStorage(); if ($this->_options['locking']) { $locked = $handler->lock($id, $group, $locktime); if ($locked !== false) { return $locked; } } $data = $this->cache->get($id); $locktest = (object) ['locked' => null, 'locklooped' => null]; if ($data === false) { $locktest = $this->cache->lock($id); // If locklooped is true try to get the cached data again; it could exist now. if ($locktest->locked === true && $locktest->locklooped === true) { $data = $this->cache->get($id); } $cache = Factory::getContainer()->get(CacheControllerFactory::class) ->createCacheController('Callback', ['lifetime' => $app->get('cachetime'), 'caching' => $enableCache, 'defaultgroup' => 'schemaorg']); // Add article data if ($view == 'article' && $id > 0) { $additionalSchemas = $cache->get(function ($id) use ($component, $baseId) { $model = $component->createModel('Article', 'Site'); $article = $model->getItem($id); if (empty($article->id)) { $schema = $event->getSchema(); [$extension, $view, $id] = explode('.', $context); if ($extension === 'com_content' && $this->params->get('schema_content', 1)) { $this->injectContentSchema($context, $schema); } elseif ($extension === 'com_contact' && $this->params->get('schema_contact', 1)) { $this->injectContactSchema($context, $schema); } } foreach ($this->listeners[$event->getName()] as $listener) { if ($event->isStopped()) { return $event; } $listener($event); } } return $event; } 'subject' => $schema, 'context' => $context . '.' . $itemId, ]); PluginHelper::importPlugin('schemaorg', null, true, $dispatcher); $dispatcher->dispatch('onSchemaBeforeCompileHead', $event); $data = $schema->get('@graph'); foreach ($data as $key => $entry) { $data[$key] = $this->cleanupSchema($entry); foreach ($this->listeners[$event->getName()] as $listener) { if ($event->isStopped()) { return $event; } $listener($event); } } return $event; } // Check for AttachBehavior $onAttachCallCache = WebAssetManager::callOnAttachCallback($wa->getAssets('script', true), $this->_doc); // Trigger the onBeforeCompileHead event $app->getDispatcher()->dispatch( 'onBeforeCompileHead', new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app, 'document' => $this->_doc]) ); // Re-Check for AttachBehavior for newly added assets * * @since 3.5 */ public function render($head, $params = [], $content = null) { return $this->_doc->loadRenderer('metas')->render($head, $params, $content) . $this->_doc->loadRenderer('styles')->render($head, $params, $content) . $this->_doc->loadRenderer('scripts')->render($head, $params, $content); }} $cbuffer[$hash] = $tmpdata; $cache->store($cbuffer, 'cbuffer_' . $type); } else { $this->setBuffer($renderer->render($name, $attribs, null), $type, $name, $title); } return parent::$_buffer[$type][$name][$title]; } $replace = []; $with = []; foreach ($this->_template_tags as $jdoc => $args) { $replace[] = $jdoc; $with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']); } return str_replace($replace, $with, $this->_template); }} if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) { $this->cspNonce = $params['csp_nonce']; } $data = $this->_renderTemplate(); parent::render($caching, $params); return $data; } if ($this->isClient('site') && $this->get('caching') && $this->get('caching', 2) == 2 && !$this->getIdentity()->id) { $caching = true; } // Render the document. $data = $this->document->render($caching, $this->docOptions); // Set the application output data. $this->setBody($data); // Trigger the onAfterRender event. $this->set('themeInherits', $template->parent); break; } parent::render(); } /** * Route the application. * $this->doExecute(); // If we have an application document object, render it. if ($this->document instanceof \Joomla\CMS\Document\Document) { // Render the application output. $this->render(); } // If gzip compression is enabled in configuration and the server is compliant, compress the output. if ($this->get('gzip') && !\ini_get('zlib.output_compression') && \ini_get('output_handler') !== 'ob_gzhandler') { $this->compress();// 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';|
[2/2]
ValueError
|
|---|
ValueError:
Path must not be empty
at /mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332
at fopen()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332)
at Joomla\CMS\Cache\Storage\FileStorage->lock()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Cache.php:384)
at Joomla\CMS\Cache\Cache->lock()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Controller/CallbackController.php:64)
at Joomla\CMS\Cache\Controller\CallbackController->get()
(/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:336)
at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
(/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:285)
at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
(/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
at Joomla\Event\Dispatcher->dispatch()
(/mnt/web201/a0/78/57812878/htdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:460)
at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
(/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
at Joomla\Event\Dispatcher->dispatch()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:578)
at Joomla\CMS\Document\HtmlDocument->getBuffer()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:897)
at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:650)
at Joomla\CMS\Document\HtmlDocument->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/ErrorDocument.php:139)
at Joomla\CMS\Document\ErrorDocument->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Error/Renderer/HtmlRenderer.php:70)
at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Exception/ExceptionHandler.php:142)
at Joomla\CMS\Exception\ExceptionHandler::render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Exception/ExceptionHandler.php:76)
at Joomla\CMS\Exception\ExceptionHandler::handleException()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/CMSApplication.php:334)
at Joomla\CMS\Application\CMSApplication->execute()
(/mnt/web201/a0/78/57812878/htdocs/includes/app.php:58)
at require_once('/mnt/web201/a0/78/57812878/htdocs/includes/app.php')
(/mnt/web201/a0/78/57812878/htdocs/index.php:51)
|
|
[1/2]
ValueError
|
|---|
ValueError:
Path must not be empty
at /mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332
at fopen()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332)
at Joomla\CMS\Cache\Storage\FileStorage->lock()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Cache.php:384)
at Joomla\CMS\Cache\Cache->lock()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Controller/CallbackController.php:64)
at Joomla\CMS\Cache\Controller\CallbackController->get()
(/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:336)
at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
(/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:285)
at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
(/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
at Joomla\Event\Dispatcher->dispatch()
(/mnt/web201/a0/78/57812878/htdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:460)
at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
(/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
at Joomla\Event\Dispatcher->dispatch()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/Renderer/Html/HeadRenderer.php:38)
at Joomla\CMS\Document\Renderer\Html\HeadRenderer->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:578)
at Joomla\CMS\Document\HtmlDocument->getBuffer()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:897)
at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:650)
at Joomla\CMS\Document\HtmlDocument->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/CMSApplication.php:1120)
at Joomla\CMS\Application\CMSApplication->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/SiteApplication.php:745)
at Joomla\CMS\Application\SiteApplication->render()
(/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/CMSApplication.php:309)
at Joomla\CMS\Application\CMSApplication->execute()
(/mnt/web201/a0/78/57812878/htdocs/includes/app.php:58)
at require_once('/mnt/web201/a0/78/57812878/htdocs/includes/app.php')
(/mnt/web201/a0/78/57812878/htdocs/index.php:51)
|