Mensaje de error
Warning: file_put_contents(sites/centros/citic/public/php/twig/68fc424c1f45f_eu_cookie_compliance_popu_ghZy4UglSda9Af5b4Gwq1womy//.htaccess): failed to open stream: Permission denied in
Drupal\Component\FileSecurity\FileSecurity::writeFile() (line
155 of
core/lib/Drupal/Component/FileSecurity/FileSecurity.php).
Drupal\Component\FileSecurity\FileSecurity::writeFile('sites/centros/citic/public/php/twig/68fc424c1f45f_eu_cookie_compliance_popu_ghZy4UglSda9Af5b4Gwq1womy', '/.htaccess', '# Deny all requests from Apache 2.4+.
Require all denied
# Deny all requests from Apache 2.0-2.2.
Deny from all
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off
', ) (Line: 29)
Drupal\Component\FileSecurity\FileSecurity::writeHtaccess('sites/centros/citic/public/php/twig/68fc424c1f45f_eu_cookie_compliance_popu_ghZy4UglSda9Af5b4Gwq1womy') (Line: 96)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/centros/citic/public/php/twig/68fc424c1f45f_eu_cookie_compliance_popu_ghZy4UglSda9Af5b4Gwq1womy') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('68fc424c1f45f_eu_cookie_compliance_popu_ghZy4UglSda9Af5b4Gwq1womy', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig */
class __TwigTemplate_5adf94b3c9e0ed2ebf008330238db0e0970fe4980695c6b8ffa92195688e50db extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["if" => 27];
$filters = ["escape" => 23];
$functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 19
echo "
";
// line 23
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["message"] ?? null)), "html", null, true);
echo "
";
// line 26
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["hide_button"] ?? null)), "html", null, true);
echo "
";
// line 27
if (($context["find_more_button"] ?? null)) {
// line 28
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["find_more_button"] ?? null)), "html", null, true);
echo "
";
}
// line 30
echo "
";
}
public function getTemplateName()
{
return "modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 79 => 30, 73 => 28, 71 => 27, 67 => 26, 61 => 23, 55 => 19,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig", "/var/www/centros/src/web/modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('68fc424c1f45f_eu_cookie_compliance_popu_ghZy4UglSda9Af5b4Gwq1womy', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig */
class __TwigTemplate_5adf94b3c9e0ed2ebf008330238db0e0970fe4980695c6b8ffa92195688e50db extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["if" => 27];
$filters = ["escape" => 23];
$functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 19
echo "
";
// line 23
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["message"] ?? null)), "html", null, true);
echo "
";
// line 26
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["hide_button"] ?? null)), "html", null, true);
echo "
";
// line 27
if (($context["find_more_button"] ?? null)) {
// line 28
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["find_more_button"] ?? null)), "html", null, true);
echo "
";
}
// line 30
echo "
";
}
public function getTemplateName()
{
return "modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 79 => 30, 73 => 28, 71 => 27, 67 => 26, 61 => 23, 55 => 19,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig", "/var/www/centros/src/web/modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_5adf94b3c9e0ed2ebf008330238db0e0970fe4980695c6b8ffa92195688e50db', 'modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig') (Line: 64)
twig_render_template('modules/contrib/eu_cookie_compliance/templates/eu_cookie_compliance_popup_agreed.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('eu_cookie_compliance_popup_agreed', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 144)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 145)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 273)
eu_cookie_compliance_page_attachments(Array) (Line: 297)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 273)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)