http://opendata.kedirikab.go.id/api/3571?p=api%2F3571

ErrorController

Request

GET Parameters

Key Value
p
"api/3571"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"88e1cc"
exception
Twig\Error\RuntimeError {#1413
  -lineno: 172
  -name: "frontend/javascript.html.twig"
  -rawMessage: "An exception has been thrown during the rendering of a template ("Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)")."
  -sourcePath: "/var/www/html/open_data/templates/frontend/javascript.html.twig"
  -sourceCode: """
    <script src="{{ asset('frontend/js/jquery.min.js') }}"></script>\n
    <script src="{{ asset('frontend/js/bootstrap.min.js') }}"></script>\n
    <script src="{{ asset('frontend/js/main.js') }}"></script>\n
    <script src="{{ asset('frontend/slick/slick.js') }}"></script>\n
    <script src="{{ asset('frontend/select2/select2.js') }}"></script>\n
    <script src="{{ asset('frontend/sweetalert2/sweetalert2.all.min.js') }}"></script>\n
    <script src="https://kit.fontawesome.com/8031cd8b80.js" crossorigin="anonymous"></script>\n
    \n
    <script>\n
        $(function (){\n
            Src.Init();\n
        })\n
    </script>\n
    <script>\n
        $('.slider').slick({\n
            slidesToShow: 3,\n
            slidesToScroll: 1,\n
            autoplay: true,\n
            autoplaySpeed: 2000,\n
        responsive: [\n
        {\n
            breakpoint: 768,\n
            settings: {\n
            arrows: false,\n
            centerMode: true,\n
            centerPadding: '40px',\n
            slidesToShow: 1\n
            }\n
        },\n
        {\n
            breakpoint: 480,\n
            settings: {\n
            arrows: false,\n
            centerMode: true,\n
            centerPadding: '40px',\n
            slidesToShow: 1\n
            }\n
        }],\n
    \n
        prevArrow:"<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>",\n
        nextArrow:"<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>"\n
        });\n
    </script>\n
    <script>\n
        $('.slider-notplay').slick({\n
            infinite: true,\n
            slidesToShow: 1,\n
            slidesToScroll: 1,\n
        responsive: [\n
        {\n
            breakpoint: 768,\n
            settings: {\n
            arrows: false,\n
            centerMode: true,\n
            centerPadding: '40px',\n
            slidesToShow: 1\n
            }\n
        },\n
        {\n
            breakpoint: 480,\n
            settings: {\n
            arrows: false,\n
            centerMode: true,\n
            centerPadding: '40px',\n
            slidesToShow: 1\n
            }\n
        }],\n
    \n
        prevArrow:"<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>",\n
        nextArrow:"<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>"\n
        });\n
    </script>\n
    <script>\n
        $('.slider-notplay3').slick({\n
            infinite: true,\n
            slidesToShow: 3,\n
            slidesToScroll: 1,\n
        responsive: [\n
        {\n
            breakpoint: 768,\n
            settings: {\n
            arrows: false,\n
            centerMode: true,\n
            centerPadding: '40px',\n
            slidesToShow: 1\n
            }\n
        },\n
        {\n
            breakpoint: 480,\n
            settings: {\n
            arrows: false,\n
            centerMode: true,\n
            centerPadding: '40px',\n
            slidesToShow: 1\n
            }\n
        }],\n
    \n
        prevArrow:"<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>",\n
        nextArrow:"<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>"\n
        });\n
    </script>\n
    <script>\n
        $(document).ready(function() {\t\t\t\n
        $(".select21").select2();\n
        });\n
    </script> \n
    \n
    <script>\n
        $(document).ready(function() {\t\t\t\n
            $(".select2").select2({\n
                allowClear: true,\n
                \n
            });\n
        });\n
    </script>\n
    \n
    <script type="text/javascript">\n
        $(function(){\n
            \n
            $('body').on('show.bs.modal', '.modal', function(event) {\n
                $(this).find(".modal-content").load(event.relatedTarget.href);\n
            });\n
            \n
            $('body').on('hidden.bs.modal', '.modal', function(event) { \n
                $(this).find(".modal-content").html('<div style="text-align: center"><img src="{{ asset('bundles/greenadmin/img/loading.gif') }}" style="width: 20px"/></div>');\n
            });\n
        });\n
    </script>\n
    \n
    <script>\n
        function openCity(evt, cityName) {\n
            var i, tabcontent, tablinks;\n
            tabcontent = document.getElementsByClassName("tabcontent");\n
            for (i = 0; i < tabcontent.length; i++) {\n
            tabcontent[i].style.display = "none";\n
            }\n
            tablinks = document.getElementsByClassName("tablinks");\n
            for (i = 0; i < tablinks.length; i++) {\n
            tablinks[i].className = tablinks[i].className.replace(" active", "");\n
            }\n
            document.getElementById(cityName).style.display = "block";\n
            evt.currentTarget.className += " active";\n
        }\n
        \n
        // Get the element with id="defaultOpen" and click on it\n
        // document.getElementById("defaultOpen").click();\n
    </script>\n
    \n
    <script>\n
        /* When the user clicks on the button, \n
        toggle between hiding and showing the dropdown content */\n
        function dropDown() {\n
            document.getElementById("myDropdown").classList.toggle("show");\n
        }\n
    \n
        // Close the dropdown if the user clicks outside of it\n
        window.onclick = function(event) {\n
        if (!event.target.matches('.dropbtn')) {\n
            var dropdowns = document.getElementsByClassName("dropdown-content");\n
            var i;\n
            for (i = 0; i < dropdowns.length; i++) {\n
                var openDropdown = dropdowns[i];\n
                if (openDropdown.classList.contains('show')) {\n
                    openDropdown.classList.remove('show');\n
                }\n
            }\n
        }\n
        }\n
    </script>\n
    \n
    <script>\n
    \t{% for message in app.flashes('notice') %}\n
    \t\t$( document ).ready(function() {\n
    \t\t\tSwal.fire({\n
    \t\t\t\ticon: 'success',\n
    \t\t\t\ttitle: 'Berhasil Dikirim',\n
    \t\t\t\ttext: 'Terima Kasih',\n
    \t\t\t\tshowConfirmButton: false,\n
    \t\t\t\ttimer: 2000\n
    \t\t\t});\n
    \t\t});\n
    \t{% endfor %}\n
    </script>
    """
  #message: "An exception has been thrown during the rendering of a template ("Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)")."
  #code: 0
  #file: "/var/www/html/open_data/templates/frontend/javascript.html.twig"
  #line: 172
  -previous: ErrorException {#115 …}
  trace: {
    /var/www/html/open_data/templates/frontend/javascript.html.twig:172 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › <script>\t{% for message in app.flashes('notice') %}\t\t$( document ).ready(function() {
    }
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/html/open_data/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /var/www/html/open_data/vendor/twig/twig/src/Extension/CoreExtension.php:1349 {
      twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) …
      › 
      ›     return $loaded ? $loaded->render($variables) : '';} finally {
    }
    /var/www/html/open_data/templates/api/base.html.twig:18 {
      __TwigTemplate_95b771f7fb5e7aaadca02b9370a6bf7b712d859f80421270a2fe156ef824fb8b->doDisplay(array $context, array $blocks = []) …
      › 
      › {{ include ('frontend/javascript.html.twig') }}{% block javascripts %} {% endblock %}
    }
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/html/open_data/var/cache/dev/twig/fe/feda0add5dc5468c28877fd456efdea6f5c43d4940960b257db0ba51ad1bc941.php:49 {
      __TwigTemplate_4a804a3abf86dfe03b1a541f3b78e3b90f6c07100d684d237d67c8dc3f95af4a->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("api/base.html.twig", "api/index.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/html/open_data/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/html/open_data/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /var/www/html/open_data/vendor/twig/twig/src/Environment.php:280 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/html/open_data/vendor/symfony/framework-bundle/Controller/AbstractController.php:258 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /var/www/html/open_data/vendor/symfony/framework-bundle/Controller/AbstractController.php:266 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);}
    /var/www/html/open_data/src/Controller/ApiController.php:26 {
      App\Controller\ApiController->index(?string $id, Request $request, TPublikasiRepository $tPublikasiRepo) …
      ›     'publikasi' => $publikasi,    'url' => $url,]);
    }
    /var/www/html/open_data/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/open_data/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/html/open_data/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/open_data/public/index.php:20 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
null

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
authorization
""
connection
"close"
host
"opendata.kedirikab.go.id"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-forwarded-for
"192.168.60.9"
x-forwarded-proto
"https"
x-forwarded-scheme
"https"
x-php-ob-level
"1"
x-real-ip
"192.168.60.9"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 23 Nov 2024 12:51:59 GMT"
x-debug-exception
"An%20exception%20has%20been%20thrown%20during%20the%20rendering%20of%20a%20template%20%28%22Notice%3A%20SessionHandler%3A%3Agc%28%29%3A%20ps_files_cleanup_dir%3A%20opendir%28%2Fvar%2Flib%2Fphp%2Fsessions%29%20failed%3A%20Permission%20denied%20%2813%29%22%29."
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fopen_data%2Ftemplates%2Ffrontend%2Fjavascript.html.twig:172"
x-debug-token
"d443d0"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
API_TOKEN
"4a81432adf56aeb6aadfffa65ab70ab1"
API_URL
"http://172.16.16.68/api_/opendata.php"
APP_CLIENT_ADDRESS
"Jl. Sekartaji No.2, Sumber, Doko, Kec. Ngasem, Kabupaten Kediri, Jawa Timur"
APP_CLIENT_CONTACT
"Telp. (0354) 682152"
APP_CLIENT_EMAIL
""
APP_CLIENT_NAME
"Kabupaten Kediri"
APP_CLIENT_SHORTNAME
"Kabupaten Kediri"
APP_ENV
"dev"
APP_ICON
"assets/logo/logo_masbup.png"
APP_ICON_LOGO
"assets/logo/kota_kediri.png"
APP_NAME
"Open Data Kediri"
APP_SECRET
"302717838b52f3d1699a25e8e3ef6a9d"
COLOR_DANGER
"#b20238;"
COLOR_INFO
"#e8d21d;"
COLOR_PRIMARY
"#039fbe;"
COLOR_WARNING
"#cf1578;"
DATABASE_URL
"postgresql://postgres:opendata2022!@127.0.0.1:5432/open_data_kediri?serverVersion=13&charset=utf8"
OPEN_DATA_ICON
"assets/logo/logo_masbup_merah.png"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/open_data/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/open_data/public/"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_AUTHORIZATION
""
HTTP_CONNECTION
"close"
HTTP_HOST
"opendata.kedirikab.go.id"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_FOR
"192.168.60.9"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SCHEME
"https"
HTTP_X_REAL_IP
"192.168.60.9"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"p=api/3571"
REDIRECT_QUERY_STRING
"p=api/3571"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/3571"
REMOTE_ADDR
"172.16.25.100"
REMOTE_PORT
"53960"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1732366319
REQUEST_TIME_FLOAT
1732366319.5223
REQUEST_URI
"/api/3571"
SCRIPT_FILENAME
"/var/www/html/open_data/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.16.16.52"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"opendata.kedirikab.go.id"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,API_URL,API_TOKEN,APP_NAME,OPEN_DATA_ICON,APP_ICON,APP_ICON_LOGO,APP_CLIENT_NAME,APP_CLIENT_SHORTNAME,APP_CLIENT_ADDRESS,APP_CLIENT_CONTACT,APP_CLIENT_EMAIL,COLOR_PRIMARY,COLOR_WARNING,COLOR_INFO,COLOR_DANGER"

Parent Request

Return to parent request (token = 619728)

Key Value
_controller
"App\Controller\ApiController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"api"
_route_params
[
  "id" => "3571"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"251d4d"
id
"3571"