sandbox.meteo-services.com Open in urlscan Pro
2a01:4f8:140:31c9::2  Public Scan

URL: https://sandbox.meteo-services.com/
Submission: On April 22 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("ERROR: CSS
Compilation on file 'clarity.scss' failed on fatal error:
file_put_contents(/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/scss/source/scssphp_53a68c3dfee403214ed5ac5301ec4aebe95580c8.parse.scsscache):
failed to open stream: No such file or directory").
Previous exceptions
 * ERROR: CSS Compilation on file 'clarity.scss' failed on fatal error:
   file_put_contents(/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/scss/source/scssphp_53a68c3dfee403214ed5ac5301ec4aebe95580c8.parse.scsscache):
   failed to open stream: No such file or directory (500)
 * file_put_contents(/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/scss/source/scssphp_53a68c3dfee403214ed5ac5301ec4aebe95580c8.parse.scsscache):
   failed to open stream: No such file or directory (2)

 * 
 * 
 * 

Twig\Error\RuntimeError thrown with message "An exception has been thrown during
the rendering of a template ("ERROR: CSS Compilation on file 'clarity.scss'
failed on fatal error:
file_put_contents(/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/scss/source/scssphp_53a68c3dfee403214ed5ac5301ec4aebe95580c8.parse.scsscache):
failed to open stream: No such file or directory")." Stacktrace: #38
Twig\Error\RuntimeError in
/data/virtual/meteo-servicesj4.com/htdocs/media/gantry5/engines/nucleus/templates/page.html.twig:73
#37 RuntimeException in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Stylesheet/ScssCompiler.php:194
#36 Whoops\Exception\ErrorException in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Cache.php:165
#35 file_put_contents in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Cache.php:165
#34 ScssPhp\ScssPhp\Cache:setCache in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Parser.php:294
#33 ScssPhp\ScssPhp\Parser:parse in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Compiler.php:484
#32 ScssPhp\ScssPhp\Compiler:compileString in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Stylesheet/ScssCompiler.php:181
#31 Gantry\Component\Stylesheet\ScssCompiler:compileFile in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:271
#30 Gantry\Framework\Theme:css in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Content/Block/HtmlBlock.php:86
#29 Gantry\Component\Content\Block\HtmlBlock:getStyles in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Document.php:131
#28 Gantry\Framework\Document:registerStyles in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Document.php:76
#27 Gantry\Framework\Document:registerAssets in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Base/Platform.php:277
#26 Gantry\Framework\Base\Platform:finalize in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:700
#25 Twig\Template:getAttribute in
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/98/983febda1511bb912a0432db9ed30f4d7c960beefc1385a15e0cd875d7fbdc97.php:256
#24
__TwigTemplate_4b7af794afd2b9e8b995b4e8dcde3d3692d9c8b346435486f5a02b01af8745cb:block_page_footer
in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:214
#23 Twig\Template:displayBlock in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:175
#22 Twig\Template:displayParentBlock in
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/c5/c5527c41a6a0904b6479437d00fbc09806f969d8feec73942328e0f6328e6560.php:43
#21
__TwigTemplate_c34a64284d748f580762a1d06799b2d95c4f7cc5f61e9d6e1e467a5535ad4f01:block_page_footer
in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:214
#20 Twig\Template:displayBlock in
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/98/983febda1511bb912a0432db9ed30f4d7c960beefc1385a15e0cd875d7fbdc97.php:150
#19
__TwigTemplate_4b7af794afd2b9e8b995b4e8dcde3d3692d9c8b346435486f5a02b01af8745cb:doDisplay
in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453
#18 Twig\Template:displayWithErrorHandling in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420
#17 Twig\Template:display in
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/c5/c5527c41a6a0904b6479437d00fbc09806f969d8feec73942328e0f6328e6560.php:35
#16
__TwigTemplate_c34a64284d748f580762a1d06799b2d95c4f7cc5f61e9d6e1e467a5535ad4f01:doDisplay
in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453
#15 Twig\Template:displayWithErrorHandling in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420
#14 Twig\Template:display in
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/25/25fd429887bcc45f038d1bd9cc3af0c963c4a06541c30d67d20849fde4f41973.php:35
#13
__TwigTemplate_cb5f5e966d608143897004838caceb766084ced80c4adc2a0da9d343757e3142:doDisplay
in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453
#12 Twig\Template:displayWithErrorHandling in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420
#11 Twig\Template:display in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:432
#10 Twig\Template:render in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/TemplateWrapper.php:47
#9 Twig\TemplateWrapper:render in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Environment.php:384
#8 Twig\Environment:render in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php:176
#7 Gantry\Component\Theme\AbstractTheme:render in
/data/virtual/meteo-servicesj4.com/htdocs/templates/rt_clarity/index.php:30 #6
require in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php:678
#5 Joomla\CMS\Document\HtmlDocument:_loadTemplate in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php:740
#4 Joomla\CMS\Document\HtmlDocument:_fetchTemplate in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php:555
#3 Joomla\CMS\Document\HtmlDocument:parse in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/CMSApplication.php:1126
#2 Joomla\CMS\Application\CMSApplication:render in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/SiteApplication.php:778
#1 Joomla\CMS\Application\SiteApplication:render in
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/CMSApplication.php:231
#0 Joomla\CMS\Application\CMSApplication:execute in
/data/virtual/meteo-servicesj4.com/htdocs/index.php:49 COPY HIDE
Stack frames (39)
38
Twig\Error\RuntimeError
/data/virtual/meteo-servicesj4.com/htdocs/media/gantry5/engines/nucleus/templates/page.html.twig73
37
RuntimeException
…/src/classes/Gantry/Component/Stylesheet/ScssCompiler.php194
36
Whoops\Exception\ErrorException
…/vendor/scssphp/scssphp/src/Cache.php165
35
file_put_contents
…/vendor/scssphp/scssphp/src/Cache.php165
34
ScssPhp\ScssPhp\Cache setCache
…/vendor/scssphp/scssphp/src/Parser.php294
33
ScssPhp\ScssPhp\Parser parse
…/vendor/scssphp/scssphp/src/Compiler.php484
32
ScssPhp\ScssPhp\Compiler compileString
…/src/classes/Gantry/Component/Stylesheet/ScssCompiler.php181
31
Gantry\Component\Stylesheet\ScssCompiler compileFile
…/src/classes/Gantry/Component/Theme/ThemeTrait.php271
30
Gantry\Framework\Theme css
…/src/classes/Gantry/Component/Content/Block/HtmlBlock.php86
29
Gantry\Component\Content\Block\HtmlBlock getStyles
…/src/classes/Gantry/Framework/Document.php131
28
Gantry\Framework\Document registerStyles
…/src/classes/Gantry/Framework/Document.php76
27
Gantry\Framework\Document registerAssets
…/src/classes/Gantry/Framework/Base/Platform.php277
26
Gantry\Framework\Base\Platform finalize
…/compat/vendor/twig/twig/src/Template.php700
25
Twig\Template getAttribute
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/98/983febda1511bb912a0432db9ed30f4d7c960beefc1385a15e0cd875d7fbdc97.php256
24
__TwigTemplate_4b7af794afd2b9e8b995b4e8dcde3d3692d9c8b346435486f5a02b01af8745cb
block_page_footer
…/compat/vendor/twig/twig/src/Template.php214
23
Twig\Template displayBlock
…/compat/vendor/twig/twig/src/Template.php175
22
Twig\Template displayParentBlock
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/c5/c5527c41a6a0904b6479437d00fbc09806f969d8feec73942328e0f6328e6560.php43
21
__TwigTemplate_c34a64284d748f580762a1d06799b2d95c4f7cc5f61e9d6e1e467a5535ad4f01
block_page_footer
…/compat/vendor/twig/twig/src/Template.php214
20
Twig\Template displayBlock
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/98/983febda1511bb912a0432db9ed30f4d7c960beefc1385a15e0cd875d7fbdc97.php150
19
__TwigTemplate_4b7af794afd2b9e8b995b4e8dcde3d3692d9c8b346435486f5a02b01af8745cb
doDisplay
…/compat/vendor/twig/twig/src/Template.php453
18
Twig\Template displayWithErrorHandling
…/compat/vendor/twig/twig/src/Template.php420
17
Twig\Template display
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/c5/c5527c41a6a0904b6479437d00fbc09806f969d8feec73942328e0f6328e6560.php35
16
__TwigTemplate_c34a64284d748f580762a1d06799b2d95c4f7cc5f61e9d6e1e467a5535ad4f01
doDisplay
…/compat/vendor/twig/twig/src/Template.php453
15
Twig\Template displayWithErrorHandling
…/compat/vendor/twig/twig/src/Template.php420
14
Twig\Template display
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/25/25fd429887bcc45f038d1bd9cc3af0c963c4a06541c30d67d20849fde4f41973.php35
13
__TwigTemplate_cb5f5e966d608143897004838caceb766084ced80c4adc2a0da9d343757e3142
doDisplay
…/compat/vendor/twig/twig/src/Template.php453
12
Twig\Template displayWithErrorHandling
…/compat/vendor/twig/twig/src/Template.php420
11
Twig\Template display
…/compat/vendor/twig/twig/src/Template.php432
10
Twig\Template render
…/compat/vendor/twig/twig/src/TemplateWrapper.php47
9
Twig\TemplateWrapper render
…/compat/vendor/twig/twig/src/Environment.php384
8
Twig\Environment render
…/src/classes/Gantry/Component/Theme/AbstractTheme.php176
7
Gantry\Component\Theme\AbstractTheme render
/data/virtual/meteo-servicesj4.com/htdocs/templates/rt_clarity/index.php30
6
require
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php678
5
Joomla\CMS\Document\HtmlDocument _loadTemplate
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php740
4
Joomla\CMS\Document\HtmlDocument _fetchTemplate
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php555
3
Joomla\CMS\Document\HtmlDocument parse
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/CMSApplication.php1126
2
Joomla\CMS\Application\CMSApplication render
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/SiteApplication.php778
1
Joomla\CMS\Application\SiteApplication render
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/CMSApplication.php231
0
Joomla\CMS\Application\CMSApplication execute
/data/virtual/meteo-servicesj4.com/htdocs/index.php49
Open:
/data/virtual/meteo-servicesj4.com/htdocs/media/gantry5/engines/nucleus/templates/page.html.twig

 
{%- set body_bottom %}
    {% block body_bottom %}
    {% endblock %}
    {{ gantry.document.getHtml('body_bottom')|join("\n    ")|raw }}
{% endset -%}
 
{%- do gantry.document.addScript(url('gantry-assets://js/main.js'), 11, 'footer') -%}
 
{# Head and footer needs to come last because of any of the above blocks may have CSS or JavaScript in them #}
 
{%- set page_head %}
    {% block page_head -%}
        {% include 'partials/page_head.html.twig' %}
    {%- endblock %}
{% endset -%}
 
{%- set page_footer %}
    {% block page_footer %}
        {% do gantry.platform.finalize() -%}
        {{ gantry.scripts('footer')|join("\n    ")|raw -}}
    {% endblock %}
 
    {{ gantry.debugger.render()|raw }}
{% endset -%}
 
{%- block page -%}
<!DOCTYPE {{ gantry.config.page.doctype|default('html')|raw }}>
<html{{ gantry.page.htmlAttributes|raw }}>
    {{ page_head|raw }}
    {% block page_body -%}
    <body{{ gantry.page.bodyAttributes({'class': [offcanvas_position, gantry.page.preset, 'g-style-' ~ gantry.theme.preset]})|raw }}>
        {{ gantry.config.page.body.body_top|raw }}
        {{ body_top|raw }}
        {{ page_offcanvas|raw }}
        <div id="g-page-surround">
            {% if page_offcanvas|trim -%}
            <div class="g-offcanvas-hide g-offcanvas-toggle" role="navigation" data-offcanvas-toggle aria-controls="g-offcanvas" aria-expanded="false"><i class="fa fa-fw fa-bars"></i></div>
            {%- endif %}
            {{ page_top|raw }}



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Stylesheet/ScssCompiler.php

        $compiler->setImportPaths([[$this, 'findImport']]);
 
        // Run the compiler.
        $compiler->addVariables($this->getVariables(true));
        $scss = '$output-bourbon-deprecation-warnings: false;' . "\n" . '@import "' . $in . '.scss"';
        try {
            $this->result = $compiler->compileString($scss);
            $css = $this->result->getCss();
        } catch (CompilerException $e) {
            if (version_compare(static::$options['compatibility'], '5.5', '<')) {
                static::$options['legacy'][$in] = true;
                $this->warnings['__TITLE__'] = 'Please update your theme!';
                $this->warnings[$in] = ['WARNING: ' . $e->getMessage()];
 
                return $this->compileLegacyFile($in);
            }
 
            throw new \RuntimeException("ERROR: CSS Compilation on file '{$in}.scss' failed on error: {$e->getMessage()}", 500, $e);
        } catch (\Exception $e) {
            throw new \RuntimeException("ERROR: CSS Compilation on file '{$in}.scss' failed on fatal error: {$e->getMessage()}", 500, $e);
        }
        if (strpos($css, $scss) === 0) {
            $css = '/* ' . $scss . ' */';
        }
 
        // Extract map from css and save it as separate file.
        $pos = strrpos($css, '/*# sourceMappingURL=');
        if ($pos !== false) {
            $map = json_decode(urldecode(substr($css, $pos + 43, -3)), true);
 
            /** @var Document $document */
            $document = $gantry['document'];
 
            foreach ($map['sources'] as &$source) {
                $source = $document::url($source, false, -1);
            }
            unset($source);
 
            $mapFile = JsonFile::instance($path . '.map');
            $mapFile->save($map);


Exception message: ERROR: CSS Compilation on file 'clarity.scss' failed on fatal
error:
file_put_contents(/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/scss/source/scssphp_53a68c3dfee403214ed5ac5301ec4aebe95580c8.parse.scsscache):
failed to open stream: No such file or directory
Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Cache.php

 
    /**
     * Put in cache the result of $operation on $what,
     * which is known as dependant from the content of $options
     *
     * @param string $operation
     * @param mixed  $what
     * @param mixed  $value
     * @param array  $options
     *
     * @return void
     */
    public function setCache($operation, $what, $value, $options = [])
    {
        $fileCache = self::$cacheDir . self::cacheName($operation, $what, $options);
 
        $c = ['value' => $value];
        $c = serialize($c);
 
        file_put_contents($fileCache, $c);
 
        if (self::$forceRefresh === 'once') {
            self::$refreshed[$fileCache] = true;
        }
    }
 
    /**
     * Get the cache name for the caching of $operation on $what,
     * which is known as dependant from the content of $options
     *
     * @param string $operation
     * @param mixed  $what
     * @param array  $options
     *
     * @return string
     */
    private static function cacheName($operation, $what, $options = [])
    {
        $t = [
          'version' => self::CACHE_VERSION,


Exception message:
file_put_contents(/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/scss/source/scssphp_53a68c3dfee403214ed5ac5301ec4aebe95580c8.parse.scsscache):
failed to open stream: No such file or directory
Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Cache.php

 
    /**
     * Put in cache the result of $operation on $what,
     * which is known as dependant from the content of $options
     *
     * @param string $operation
     * @param mixed  $what
     * @param mixed  $value
     * @param array  $options
     *
     * @return void
     */
    public function setCache($operation, $what, $value, $options = [])
    {
        $fileCache = self::$cacheDir . self::cacheName($operation, $what, $options);
 
        $c = ['value' => $value];
        $c = serialize($c);
 
        file_put_contents($fileCache, $c);
 
        if (self::$forceRefresh === 'once') {
            self::$refreshed[$fileCache] = true;
        }
    }
 
    /**
     * Get the cache name for the caching of $operation on $what,
     * which is known as dependant from the content of $options
     *
     * @param string $operation
     * @param mixed  $what
     * @param array  $options
     *
     * @return string
     */
    private static function cacheName($operation, $what, $options = [])
    {
        $t = [
          'version' => self::CACHE_VERSION,



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Parser.php

        while ($this->parseChunk()) {
            ;
        }
 
        if ($this->count !== \strlen($this->buffer)) {
            throw $this->parseError();
        }
 
        if (! empty($this->env->parent)) {
            throw $this->parseError('unclosed block');
        }
 
        if ($this->charset) {
            array_unshift($this->env->children, $this->charset);
        }
 
        $this->restoreEncoding();
 
        if ($this->cache) {
            $this->cache->setCache('parse', $cacheKey, $this->env, $parseOptions);
        }
 
        return $this->env;
    }
 
    /**
     * Parse a value or value list
     *
     * @api
     *
     * @param string       $buffer
     * @param string|array $out
     *
     * @return boolean
     */
    public function parseValue($buffer, &$out)
    {
        $this->count           = 0;
        $this->env             = null;
        $this->inParens        = false;



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/vendor/scssphp/scssphp/src/Compiler.php

        $this->storeEnv       = null;
        $this->charsetSeen    = null;
        $this->shouldEvaluate = null;
        $this->ignoreCallStackMessage = false;
        $this->parsedFiles = [];
        $this->importedFiles = [];
        $this->resolvedImports = [];
 
        if (!\is_null($path) && is_file($path)) {
            $path = realpath($path) ?: $path;
            $this->currentDirectory = dirname($path);
            $this->rootDirectory = $this->currentDirectory;
        } else {
            $this->currentDirectory = null;
            $this->rootDirectory = getcwd();
        }
 
        try {
            $this->parser = $this->parserFactory($path);
            $tree         = $this->parser->parse($source);
            $this->parser = null;
 
            $this->formatter = new $this->formatter();
            $this->rootBlock = null;
            $this->rootEnv   = $this->pushEnv($tree);
 
            $warnCallback = function ($message, $deprecation) {
                $this->logger->warn($message, $deprecation);
            };
            $previousWarnCallback = Warn::setCallback($warnCallback);
 
            try {
                $this->injectVariables($this->registeredVars);
                $this->compileRoot($tree);
                $this->popEnv();
            } finally {
                Warn::setCallback($previousWarnCallback);
            }
 
            $sourceMapGenerator = null;



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Stylesheet/ScssCompiler.php

        if ($file->locked() === false) {
            // File was already locked by another process, lets avoid compiling the same file twice.
            return false;
        }
 
        $logfile = fopen('php://memory', 'rb+');
        $logger = new StreamLogger($logfile, true);
 
        $compiler = $this->getCompiler();
        $compiler->setLogger($logger);
 
        // Set the lookup paths.
        $this->functions->setBasePath($path);
        $compiler->setImportPaths([[$this, 'findImport']]);
 
        // Run the compiler.
        $compiler->addVariables($this->getVariables(true));
        $scss = '$output-bourbon-deprecation-warnings: false;' . "\n" . '@import "' . $in . '.scss"';
        try {
            $this->result = $compiler->compileString($scss);
            $css = $this->result->getCss();
        } catch (CompilerException $e) {
            if (version_compare(static::$options['compatibility'], '5.5', '<')) {
                static::$options['legacy'][$in] = true;
                $this->warnings['__TITLE__'] = 'Please update your theme!';
                $this->warnings[$in] = ['WARNING: ' . $e->getMessage()];
 
                return $this->compileLegacyFile($in);
            }
 
            throw new \RuntimeException("ERROR: CSS Compilation on file '{$in}.scss' failed on error: {$e->getMessage()}", 500, $e);
        } catch (\Exception $e) {
            throw new \RuntimeException("ERROR: CSS Compilation on file '{$in}.scss' failed on fatal error: {$e->getMessage()}", 500, $e);
        }
        if (strpos($css, $scss) === 0) {
            $css = '/* ' . $scss . ' */';
        }
 
        // Extract map from css and save it as separate file.
        $pos = strrpos($css, '/*# sourceMappingURL=');



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php

    /**
     * Returns URL to CSS file.
     *
     * If file does not exist, it will be created by using CSS compiler.
     *
     * @param string $name
     * @return string
     */
    public function css($name)
    {
        if (!isset($this->cssCache[$name])) {
            $compiler = $this->compiler();
 
            if ($compiler->needsCompile($name, [$this, 'getCssVariables'])) {
                if (\GANTRY_DEBUGGER) {
                    Debugger::startTimer("css-{$name}", "Compiling CSS: {$name}");
                    Debugger::addMessage("Compiling CSS: {$name}");
                }
 
                $compiler->compileFile($name);
 
                if (\GANTRY_DEBUGGER) {
                    Debugger::stopTimer("css-{$name}");
                }
            }
 
            $this->cssCache[$name] = $compiler->getCssUrl($name);
        }
 
        return $this->cssCache[$name];
    }
 
    /**
     * @return array
     */
    public function getCssVariables()
    {
        if ($this->preset) {
            $variables = $this->presets()->flatten($this->preset . '.styles', '-');
        } else {



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Content/Block/HtmlBlock.php

        $styles = $this->getAssetsInLocation('styles', $location);
 
        if (!$styles) {
            return [];
        }
 
        $gantry = Gantry::instance();
 
        /** @var Theme|null $theme */
        $theme = isset($gantry['theme']) ? $gantry['theme'] : null;
 
        /** @var Document $document */
        $document = $gantry['document'];
 
        foreach ($styles as $key => $style) {
            if (isset($style['href'])) {
                $url = $style['href'];
                if ($theme && preg_match('|\.scss$|', $url)) {
                    // Compile SCSS files.
                    $url = $theme->css(Gantry::basename($url, '.scss'));
                }
                // Deal with streams and relative paths.
                $url = $document::url($url, false, null, false);
 
                $styles[$key]['href'] = $url;
            }
        }
 
        return $styles;
    }
 
    /**
     * @param string $location
     * @return array
     * @since 5.4.3
     */
    public function getScripts($location = 'head')
    {
        $scripts = $this->getAssetsInLocation('scripts', $location);
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Document.php

        static $error = false;
 
        if (isset($new)) {
            $error = (bool) $new;
        }
 
        return $error;
    }
 
    protected static function registerStyles()
    {
        if (static::errorPage()) {
            return;
        }
 
        /** @var CMSApplication $application */
        $application = Factory::getApplication();
        $doc = $application->getDocument();
 
        $styles = static::$stack[0]->getStyles();
 
        foreach ($styles as $style) {
            switch ($style[':type']) {
                case 'file':
                    $attribs = array_replace(['type' => $style['type'], 'media' => $style['media']], $style['element']);
                    $attribs = array_filter($attribs, static function($arg) { return null !== $arg; });
                    $doc->addStyleSheet($style['href'], [], $attribs);
                    break;
                case 'inline':
                    $doc->addStyleDeclaration($style['content'], $style['type']);
                    break;
            }
        }
    }
 
    protected static function registerScripts()
    {
        if (static::errorPage()) {
            return;
        }



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Document.php

        if (
            $framework === 'bootstrap'
            || ($framework === 'bootstrap.2' && JVersion::MAJOR_VERSION === 3)
            || ($framework === 'bootstrap.5' && JVersion::MAJOR_VERSION >= 4)
        ) {
            /** @var Theme $theme */
            $theme = Gantry::instance()['theme'];
            $theme->joomla = true;
        }
 
        return true;
    }
 
    /**
     *
     */
    public static function registerAssets()
    {
        static::registerFrameworks();
        static::registerStyles();
        static::registerScripts();
    }
 
    /**
     * NOTE: In PHP this function can be called either from Gantry DI container or statically.
     *
     * @param bool $addDomain
     * @return string
     */
    public static function domain($addDomain = false)
    {
        if (!$addDomain) {
            return '';
        }
 
        $absolute = Uri::root(false);
        $relative = Uri::root(true);
 
        return substr($absolute, 0, -strlen($relative));
    }



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Base/Platform.php

    {
        return null;
    }
 
    /**
     * @param string $text
     * @return string
     */
    public function filter($text)
    {
        return $text;
    }
 
    public function finalize()
    {
        $gantry = Gantry::instance();
        /** @var Document $document */
        $document = $gantry['document'];
 
        $document::registerAssets();
    }
 
    /**
     * @return mixed|null
     */
    public function call()
    {
        $args = func_get_args();
        $callable = array_shift($args);
        return is_callable($callable) ? call_user_func_array($callable, $args) : null;
    }
 
    /**
     * @param string $action
     * @param int|string|null $id
     * @return bool
     */
    public function authorize($action, $id = null)
    {
        return true;



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

            if ($ignoreStrictCheck || !$this->env->isStrictVariables()) {
                return;
            }
 
            throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, $class), -1, $this->getSourceContext());
        }
 
        if ($isDefinedTest) {
            return true;
        }
 
        if ($this->env->hasExtension('\Twig\Extension\SandboxExtension')) {
            $this->env->getExtension('\Twig\Extension\SandboxExtension')->checkMethodAllowed($object, $method);
        }
 
        // Some objects throw exceptions when they have __call, and the method we try
        // to call is not supported. If ignoreStrictCheck is true, we should return null.
        try {
            if (!$arguments) {
                $ret = $object->$method();
            } else {
                $ret = \call_user_func_array([$object, $method], $arguments);
            }
        } catch (\BadMethodCallException $e) {
            if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) {
                return;
            }
            throw $e;
        }
 
        // @deprecated in 1.28
        if ($object instanceof \Twig_TemplateInterface) {
            $self = $object->getTemplateName() === $this->getTemplateName();
            $message = sprintf('Calling "%s" on template "%s" from template "%s" is deprecated since version 1.28 and won\'t be supported anymore in 2.0.', $item, $object->getTemplateName(), $this->getTemplateName());
            if ('renderBlock' === $method || 'displayBlock' === $method) {
                $message .= sprintf(' Use block("%s"%s) instead).', $arguments[0], $self ? '' : ', template');
            } elseif ('hasBlock' === $method) {
                $message .= sprintf(' Use "block("%s"%s) is defined" instead).', $arguments[0], $self ? '' : ', template');
            } elseif ('render' === $method || 'display' === $method) {
                $message .= sprintf(' Use include("%s") instead).', $object->getTemplateName());



Open:
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/98/983febda1511bb912a0432db9ed30f4d7c960beefc1385a15e0cd875d7fbdc97.php

Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

 
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

    }
 
    /**
     * Displays a parent block.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name    The block name to display from the parent
     * @param array  $context The context
     * @param array  $blocks  The current set of blocks
     */
    public function displayParentBlock($name, array $context, array $blocks = [])
    {
        $name = (string) $name;
 
        if (isset($this->traits[$name])) {
            $this->traits[$name][0]->displayBlock($name, $context, $blocks, false);
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, $blocks, false);
        } else {
            throw new RuntimeError(sprintf('The template has no parent and no traits defining the "%s" block.', $name), -1, $this->getSourceContext());
        }
    }
 
    /**
     * Displays a block.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name      The block name to display
     * @param array  $context   The context
     * @param array  $blocks    The current set of blocks
     * @param bool   $useBlocks Whether to use the current set of blocks
     */
    public function displayBlock($name, array $context, array $blocks = [], $useBlocks = true)
    {
        $name = (string) $name;
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/c5/c5527c41a6a0904b6479437d00fbc09806f969d8feec73942328e0f6328e6560.php

Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

 
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);



Open:
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/98/983febda1511bb912a0432db9ed30f4d7c960beefc1385a15e0cd875d7fbdc97.php

Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {



Open:
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/c5/c5527c41a6a0904b6479437d00fbc09806f969d8feec73942328e0f6328e6560.php

Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {



Open:
/data/virtual/meteo-servicesj4.com/htdocs/cache/gantry5/rt_clarity/twig/25/25fd429887bcc45f038d1bd9cc3af0c963c4a06541c30d67d20849fde4f41973.php

Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Template.php

    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/TemplateWrapper.php

     * @internal
     */
    public function __construct(Environment $env, Template $template)
    {
        $this->env = $env;
        $this->template = $template;
    }
 
    /**
     * Renders the template.
     *
     * @param array $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     */
    public function render($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Displays the template.
     *
     * @param array $context An array of parameters to pass to the template
     */
    public function display($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        $this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Checks if a block is defined.
     *
     * @param string $name    The block name
     * @param array  $context An array of parameters to pass to the template
     *



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Environment.php

        @trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), \E_USER_DEPRECATED);
 
        return $this->templateClassPrefix;
    }
 
    /**
     * Renders a template.
     *
     * @param string|TemplateWrapper $name    The template name
     * @param array                  $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function render($name, array $context = [])
    {
        return $this->load($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string|TemplateWrapper $name    The template name
     * @param array                  $context An array of parameters to pass to the template
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function display($name, array $context = [])
    {
        $this->load($name)->display($context);
    }
 
    /**
     * Loads a template.
     *



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php

 
            $this->renderer = $this->extendTwig($twig, $loader);
        }
 
        return $this->renderer;
    }
 
    /**
     * Render a template file by using given context.
     *
     * @param string $file
     * @param array $context
     * @return string
     */
    public function render($file, array $context = [])
    {
        // Include Gantry specific things to the context.
        $context = $this->getContext($context);
 
        return $this->renderer()->render($file, $context);
    }
 
    /**
     * Compile and render twig string.
     *
     * @param string $string
     * @param array $context
     * @return string
     */
    public function compile($string, array $context = [])
    {
        $renderer = $this->renderer();
        $template = $renderer->createTemplate($string);
 
        // Include Gantry specific things to the context.
        $context = $this->getContext($context);
 
        return $template->render($context);
    }
 



Open: /data/virtual/meteo-servicesj4.com/htdocs/templates/rt_clarity/index.php

 
defined('_JEXEC') or die;
 
use Gantry\Framework\Theme;
 
// Bootstrap Gantry framework or fail gracefully (inside included file).
$className = __DIR__ . '/custom/includes/gantry.php';
if (!is_file($className)) {
    $className = __DIR__ . '/includes/gantry.php';
}
$gantry = include $className;
 
/** @var Theme $theme */
$theme = $gantry['theme'];
 
// All the custom twig variables can be defined in here:
$context = array();
 
// Render the page.
echo $theme->render('index.html.twig', $context);
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php

     * @param   string  $directory  The name of the template
     * @param   string  $filename   The actual filename
     *
     * @return  string  The contents of the template
     *
     * @since   1.7.0
     */
    protected function _loadTemplate($directory, $filename)
    {
        $contents = '';
 
        // Check to see if we have a valid template file
        if (file_exists($directory . '/' . $filename))
        {
            // Store the file path
            $this->_file = $directory . '/' . $filename;
 
            // Get the file content
            ob_start();
            require $directory . '/' . $filename;
            $contents = ob_get_contents();
            ob_end_clean();
        }
 
        // Try to find a favicon by checking the template and root folder
        $icon = '/favicon.ico';
 
        foreach (array($directory, JPATH_BASE) as $dir)
        {
            if (file_exists($dir . $icon))
            {
                $path = str_replace(JPATH_BASE, '', $dir);
                $path = str_replace('\\', '/', $path);
                $this->addFavicon(Uri::base(true) . $path . $icon);
                break;
            }
        }
 
        return $contents;
    }



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php

 
        if (!file_exists($directory . '/' . $template . '/' . $file))
        {
            $file = 'index.php';
        }
 
        // Load the language file for the template
        $lang = \JFactory::getLanguage();
 
        // 1.5 or core then 1.6
        $lang->load('tpl_' . $template, JPATH_BASE, null, false, true)
        || $lang->load('tpl_' . $template, $directory . '/' . $template, null, false, true);
 
        // Assign the variables
        $this->template = $template;
        $this->baseurl = Uri::base(true);
        $this->params = isset($params['params']) ? $params['params'] : new Registry;
 
        // Load
        $this->_template = $this->_loadTemplate($directory . '/' . $template, $file);
 
        return $this;
    }
 
    /**
     * Parse a document template
     *
     * @return  HtmlDocument  instance of $this to allow chaining
     *
     * @since   1.7.0
     */
    protected function _parseTemplate()
    {
        $matches = array();
 
        if (preg_match_all('#<jdoc:include\ type="([^"]+)"(.*)\/>#iU', $this->_template, $matches))
        {
            $template_tags_first = array();
            $template_tags_last = array();
 



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Document/HtmlDocument.php

            $options['title'] = (isset($args[3])) ? $args[3] : null;
        }
 
        parent::$_buffer[$options['type']][$options['name']][$options['title']] = $content;
 
        return $this;
    }
 
    /**
     * Parses the template and populates the buffer
     *
     * @param   array  $params  Parameters for fetching the template
     *
     * @return  HtmlDocument instance of $this to allow chaining
     *
     * @since   1.7.0
     */
    public function parse($params = array())
    {
        return $this->_fetchTemplate($params)->_parseTemplate();
    }
 
    /**
     * Outputs the template to the browser.
     *
     * @param   boolean  $caching  If true, cache the output
     * @param   array    $params   Associative array of attributes
     *
     * @return  string The rendered data
     *
     * @since   1.7.0
     */
    public function render($caching = false, $params = array())
    {
        $this->_caching = $caching;
 
        if (empty($this->_template))
        {
            $this->parse($params);
        }



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/CMSApplication.php

     */
    protected function render()
    {
        // Setup the document options.
        $this->docOptions['template'] = $this->get('theme');
        $this->docOptions['file']     = $this->get('themeFile', 'index.php');
        $this->docOptions['params']   = $this->get('themeParams');
 
        if ($this->get('themes.base'))
        {
            $this->docOptions['directory'] = $this->get('themes.base');
        }
        // Fall back to constants.
        else
        {
            $this->docOptions['directory'] = defined('JPATH_THEMES') ? JPATH_THEMES : (defined('JPATH_BASE') ? JPATH_BASE : __DIR__) . '/themes';
        }
 
        // Parse the document.
        $this->document->parse($this->docOptions);
 
        // Trigger the onBeforeRender event.
        \JPluginHelper::importPlugin('system');
        $this->triggerEvent('onBeforeRender');
 
        $caching = false;
 
        if ($this->isClient('site') && $this->get('caching') && $this->get('caching', 2) == 2 && !\JFactory::getUser()->get('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->triggerEvent('onAfterRender');



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/SiteApplication.php

                    $this->setUserState('users.login.form.data', array('return' => \JUri::getInstance()->toString()));
                    $this->set('themeFile', 'offline.php');
                    $this->setHeader('Status', '503 Service Temporarily Unavailable', 'true');
                }
 
                if (!is_dir(JPATH_THEMES . '/' . $template->template) && !$this->get('offline'))
                {
                    $this->set('themeFile', 'component.php');
                }
 
                // Ensure themeFile is set by now
                if ($this->get('themeFile') == '')
                {
                    $this->set('themeFile', $file . '.php');
                }
 
                break;
        }
 
        parent::render();
    }
 
    /**
     * Route the application.
     *
     * Routing is the process of examining the request environment to determine which
     * component should receive the request. The component optional parameters
     * are then set in the request object to be processed when the application is being
     * dispatched.
     *
     * @return  void
     *
     * @since   3.2
     */
    protected function route()
    {
        // Execute the parent method
        parent::route();
 
        $Itemid = $this->input->getInt('Itemid', null);



Open:
/data/virtual/meteo-servicesj4.com/htdocs/libraries/src/Application/CMSApplication.php

        // Unset invalid system variables
        foreach ($invalidInputVariables as $systemVariable)
        {
            $input->set($systemVariable, null);
        }
 
        // Abort when there are invalid variables
        if ($invalidInputVariables)
        {
            throw new \RuntimeException('Invalid input, aborting application.');
        }
 
        // Perform application routines.
        $this->doExecute();
 
        // If we have an application document object, render it.
        if ($this->document instanceof \JDocument)
        {
            // Render the application output.
            $this->render();
        }
 
        if ($this->get('block_floc', 1))
        {
            $headers = $this->getHeaders();
 
            $notPresent = true;
 
            foreach ($headers as $header)
            {
                if (strtolower($header['name']) === 'permissions-policy')
                {
                    // Append interest-cohort if the Permissions-Policy is not set
                    if (strpos($header['value'], 'interest-cohort') === false)
                    {
                        $this->setHeader('Permissions-Policy', $header['value'] . ', interest-cohort=()', true);
                    }
 
                    $notPresent = false;
 



Open: /data/virtual/meteo-servicesj4.com/htdocs/index.php

{
    include_once __DIR__ . '/defines.php';
}
 
if (!defined('_JDEFINES'))
{
    define('JPATH_BASE', __DIR__);
    require_once JPATH_BASE . '/includes/defines.php';
}
 
require_once JPATH_BASE . '/includes/framework.php';
 
// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
 
// Instantiate the application.
$app = JFactory::getApplication('site');
 
// Execute the application.
$app->execute();
 





ENVIRONMENT & DETAILS:

GET Data empty
POST Data empty
Files empty
Cookies empty
Session empty
Server/Request Data

Key Value TEMP /tmp TMPDIR /tmp TMP /tmp PATH /usr/local/bin:/usr/bin:/bin
HOSTNAME USER nginx HOME /var/lib/nginx HTTP_ACCEPT_ENCODING gzip, deflate, br
HTTP_SEC_FETCH_DEST document HTTP_SEC_FETCH_USER ?1 HTTP_SEC_FETCH_MODE navigate
HTTP_SEC_FETCH_SITE none 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.9
HTTP_ACCEPT_LANGUAGE de-DE,de;q=0.9 HTTP_USER_AGENT Mozilla/5.0 (Windows NT
10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127
Safari/537.36 HTTP_UPGRADE_INSECURE_REQUESTS 1 HTTP_CACHE_CONTROL no-cache
HTTP_PRAGMA no-cache HTTP_CONNECTION keep-alive HTTP_HOST
sandbox.meteo-services.com SCRIPT_FILENAME
/data/virtual/meteo-servicesj4.com/htdocs/index.php REDIRECT_STATUS 200
SERVER_NAME sandbox.meteo-services.com SERVER_PORT 443 SERVER_ADDR
2a01:4f8:140:31c9::2 REMOTE_PORT 46234 REMOTE_ADDR 2a03:1b20:6:f011::5e
SERVER_SOFTWARE nginx/1.20.1 GATEWAY_INTERFACE CGI/1.1 HTTPS on REQUEST_SCHEME
https SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT
/data/virtual/meteo-servicesj4.com/htdocs DOCUMENT_URI /index.php REQUEST_URI /
SCRIPT_NAME /index.php CONTENT_LENGTH CONTENT_TYPE REQUEST_METHOD GET
QUERY_STRING FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT
1650632642.4308 REQUEST_TIME 1650632642

Environment Variables empty
Registered Handlers
0. Whoops\Handler\PrettyPageHandler