PDOException (23000)
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '127-2025-04-05' for key 'bff_listings_items_views.item_id' PDOException thrown with message "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '127-2025-04-05' for key 'bff_listings_items_views.item_id'" Stacktrace: #32 PDOException in /var/www/cocolisting.com/bff/db/Database.php:844 #31 PDOStatement:execute in /var/www/cocolisting.com/bff/db/Database.php:844 #30 bff\db\Database:exec in /var/www/cocolisting.com/bff/db/Database.php:933 #29 bff\db\Database:insert in /var/www/cocolisting.com/modules/listings/model.php:2867 #28 ListingsModel_:itemViewsIncrement in /var/www/cocolisting.com/plugins/coco_p00dba1/extensions/modules/listings/views/ItemPage.php:368 #27 plugins\coco\extensions\modules\listings\views\ItemPage:data in /var/www/cocolisting.com/bff/view/Block.php:895 #26 bff\view\Block:gatherData in /var/www/cocolisting.com/bff/view/Block.php:748 #25 bff\view\Block:renderContent in /var/www/cocolisting.com/bff/view/Page.php:129 #24 bff\view\Page:renderContent in /var/www/cocolisting.com/bff/view/Block.php:696 #23 bff\view\Block:render in /var/www/cocolisting.com/bff/base/Router.php:678 #22 bff\base\Router:runRoute in /var/www/cocolisting.com/bff/base/Application.php:0 #21 bff\base\Application:bff\base\{closure} in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:149 #20 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/StartSession.php:134 #19 bff\middleware\StartSession:handleStatefulRequest in /var/www/cocolisting.com/bff/middleware/StartSession.php:76 #18 bff\middleware\StartSession:handle in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:167 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/UserLastActivity.php:23 #16 bff\middleware\UserLastActivity:__invoke in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:168 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/LoginAuto.php:49 #14 bff\middleware\LoginAuto:__invoke in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:168 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/Offline.php:0 #12 bff\middleware\Offline:__invoke in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:168 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/app/middleware/SubdomainsValidation.php:46 #10 app\middleware\SubdomainsValidation:__invoke in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:168 #9 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/Cors.php:77 #8 bff\middleware\Cors:handle in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:167 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/FrameGuard.php:20 #6 bff\middleware\FrameGuard:__invoke in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:168 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/middleware/TrustedProxies.php:21 #4 bff\middleware\TrustedProxies:__invoke in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:168 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php:103 #2 Illuminate\Pipeline\Pipeline:then in /var/www/cocolisting.com/bff/base/Application.php:0 #1 bff\base\Application:middlewareRun in /var/www/cocolisting.com/bff/base/Application.php:0 #0 bff\base\Application:run in /var/www/cocolisting.com/public_html/index.php:0
Stack frames (33)
32
PDOException
/db/Database.php844
31
PDOStatement execute
/db/Database.php844
30
bff\db\Database exec
/db/Database.php933
29
bff\db\Database insert
/var/www/cocolisting.com/modules/listings/model.php2867
28
ListingsModel_ itemViewsIncrement
/var/www/cocolisting.com/plugins/coco_p00dba1/extensions/modules/listings/views/ItemPage.php368
27
plugins\coco\extensions\modules\listings\views\ItemPage data
/view/Block.php895
26
bff\view\Block gatherData
/view/Block.php748
25
bff\view\Block renderContent
/view/Page.php129
24
bff\view\Page renderContent
/view/Block.php696
23
bff\view\Block render
/base/Router.php678
22
bff\base\Router runRoute
/base/Application.php0
21
bff\base\Application bff\base\{closure}
/vendor/illuminate/pipeline/Pipeline.php149
20
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/StartSession.php134
19
bff\middleware\StartSession handleStatefulRequest
/middleware/StartSession.php76
18
bff\middleware\StartSession handle
/vendor/illuminate/pipeline/Pipeline.php167
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/UserLastActivity.php23
16
bff\middleware\UserLastActivity __invoke
/vendor/illuminate/pipeline/Pipeline.php168
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/LoginAuto.php49
14
bff\middleware\LoginAuto __invoke
/vendor/illuminate/pipeline/Pipeline.php168
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/Offline.php0
12
bff\middleware\Offline __invoke
/vendor/illuminate/pipeline/Pipeline.php168
11
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/var/www/cocolisting.com/app/middleware/SubdomainsValidation.php46
10
app\middleware\SubdomainsValidation __invoke
/vendor/illuminate/pipeline/Pipeline.php168
9
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/Cors.php77
8
bff\middleware\Cors handle
/vendor/illuminate/pipeline/Pipeline.php167
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/FrameGuard.php20
6
bff\middleware\FrameGuard __invoke
/vendor/illuminate/pipeline/Pipeline.php168
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/middleware/TrustedProxies.php21
4
bff\middleware\TrustedProxies __invoke
/vendor/illuminate/pipeline/Pipeline.php168
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/illuminate/pipeline/Pipeline.php103
2
Illuminate\Pipeline\Pipeline then
/base/Application.php0
1
bff\base\Application middlewareRun
/base/Application.php0
0
bff\base\Application run
/var/www/cocolisting.com/public_html/index.php0
/var/www/cocolisting.com/bff/db/Database.php
                    }
                }
            }
 
            if (is_null($arg)) {
                $query = $this->pdo->query($cmd);
            } else {
                $query = $this->pdo->prepare($cmd, $prepareOptions);
                if (is_object($query)) {
                    foreach ($arg as $key => $value) {
                        if (
                            !(is_array($value) ?
                                $query->bindValue($key, $value[0], $value[1]) :
                                $query->bindValue($key, $value, $this->type($value))
                            )
                        ) {
                            break;
                        }
                    }
                    $query->execute();
                }
            }
            # Проверяем SQLSTATE
            if (!$this->errorCheck($query, ['query' => $cmd, 'bind' => $arg])) {
                if ($this->tag !== false) {
                    $this->tag = false;
                }
                return false;
            }
 
            if ($fetchType !== false || preg_match('/^\s*(?:SELECT|PRAGMA|SHOW|EXPLAIN)\s/i', (string) $cmd)) {
                if ($fetchFunc !== false) {
                    $this->result = $query->$fetchFunc($fetchType);
                    $this->rows = $query->rowCount();
                    $query = null;
                } else {
                    $this->result = $query;
                }
            } else {
                $this->rows = $this->result = $query->rowCount();
/var/www/cocolisting.com/bff/db/Database.php
                    }
                }
            }
 
            if (is_null($arg)) {
                $query = $this->pdo->query($cmd);
            } else {
                $query = $this->pdo->prepare($cmd, $prepareOptions);
                if (is_object($query)) {
                    foreach ($arg as $key => $value) {
                        if (
                            !(is_array($value) ?
                                $query->bindValue($key, $value[0], $value[1]) :
                                $query->bindValue($key, $value, $this->type($value))
                            )
                        ) {
                            break;
                        }
                    }
                    $query->execute();
                }
            }
            # Проверяем SQLSTATE
            if (!$this->errorCheck($query, ['query' => $cmd, 'bind' => $arg])) {
                if ($this->tag !== false) {
                    $this->tag = false;
                }
                return false;
            }
 
            if ($fetchType !== false || preg_match('/^\s*(?:SELECT|PRAGMA|SHOW|EXPLAIN)\s/i', (string) $cmd)) {
                if ($fetchFunc !== false) {
                    $this->result = $query->$fetchFunc($fetchType);
                    $this->rows = $query->rowCount();
                    $query = null;
                } else {
                    $this->result = $query;
                }
            } else {
                $this->rows = $this->result = $query->rowCount();
/var/www/cocolisting.com/bff/db/Database.php
        if ($returnID !== false) {
            if ($this->isPgSQL()) {
                # RETURNING expression (pgsql)
                if (is_string($returnID)) {
                    $query .= ' RETURNING ' . $this->wrapColumn($returnID);
                    list($fetchType, $fetchFunc) = [0, 'fetchColumn']; // one_data
                } elseif (is_array($returnID)) {
                    $query .= ' RETURNING ' . join(', ', $this->wrapColumn($returnID));
                    list($fetchType, $fetchFunc) = [PDO::FETCH_ASSOC, 'fetch']; // one_array
                }
 
                return $this->exec($query, $bind, 0, $fetchType, $fetchFunc);
            } else {
                # lastInsertId (mysql, ...)
                $this->exec($query, $bind);
 
                return $this->insert_id($table, $returnID);
            }
        } else {
            return $this->exec($query, $bind);
        }
    }
 
    /**
     * Получаем ID последней добавленной записи
     * @param string $table название таблицы
     * @param string $columnName название поля ID
     * @param string $sequencePostfix окончание в названии последовательности(sequence) (tableName_FieldName)
     * @return int
     */
    public function insert_id($table = '', $columnName = 'id', $sequencePostfix = '_seq')
    {
        $result = (int)$this->pdo->lastInsertId($table . ($columnName ? '_' . $columnName : '') . $sequencePostfix);
 
        return (empty($result) ? 0 : $result);
    }
 
    /**
     * Выполняем UPDATE запрос
     * @param string $table название таблицы
/var/www/cocolisting.com/modules/listings/model.php
        $res = $this->db->update(
            static::TABLE_ITEMS_VIEWS,
            [$field . ' = ' . $field . ' + ' . $increment],
            ['item_id' => $itemID, 'period' => $date]
        );
 
        # update failed
        if (empty($res) && $res !== false) {
            # 2. start counting statistics for today
            if (! empty($viewsToday)) {
                $this->db->update(static::TABLE_ITEMS, [
                    'views_today' => 0,
                ], ['id' => $itemID]);
                $opts['views_today'] = 0;
            }
            $res = $this->db->insert(static::TABLE_ITEMS_VIEWS, [
                'item_id' => $itemID,
                $field    => $increment,
                'period'  => $date,
            ], false);
        }
 
        # static::TABLE_ITEMS:
        # 3. wind up counter of items views / Contacts for today (+ total)
        if (!empty($res)) {
            $this->db->update(
                static::TABLE_ITEMS,
                [
                    'views_total = views_total + ' . $increment,
                    'views_today = views_today + ' . $increment,
                    'views_' . $viewType . '_total = views_' . $viewType . '_total + ' . $increment,
                ],
                ['id' => $itemID]
            );
            isset($opts['views_today']) && $opts['views_today'] += $increment;
            isset($opts['views_total']) && $opts['views_total'] += $increment;
        }
 
        return !empty($res);
    }
/var/www/cocolisting.com/plugins/coco_p00dba1/extensions/modules/listings/views/ItemPage.php
        $this->item['video'] = Listings::itemVideo()->viewIframe($this->item['video_embed']);

        # Dynprops
        $data['dynprops'] = Listings::dp()->onView($this->item['cat_id'], $this->item, ['dataOnly' => -1]);

        # Is favorite
        $data['fav'] = Listings::favorites()->isFavorite($this->itemId, $this->userId);

        # Increment views if not:
        # - owner
        # - redirect from admin panel
        # - page refresh
        if (!$this->item['owner'] && $this->from != 'adm' && !$this->request->isRefresh()) {
            Listings::model()->itemViewsIncrement(
                $this->itemId,
                'item',
                $this->item['views_today'],
                [
                    'views_total' => & $this->item['views_total'],
                    'views_today' => & $this->item['views_today'],
                ]
            );
        }

        # Free top up
        if ($this->input->get('up_free', TYPE_UINT) == 1 && $this->item['owner']) {
            $up = Listings::itemServices('up');
            if ($up) {
                $msg = $up->upFree($this->itemId);
                if ($this->errors->no()) {
                    $data['msg_success'] = $msg;
                } else {
                    $data['msg_error'] = join('<br />', $this->errors->get());
                }
            }
        }

        $data['premoderation'] = Listings::premoderation();

        # Share code
/var/www/cocolisting.com/bff/view/Block.php
 
        foreach ($this->fillable as $key) {
            # Do not override data keys
            if (array_key_exists($key, $this->data)) {
                continue;
            }
            $this->data[$key] = &$this->$key;
        }
    }
 
    /**
     * Gather data before render
     * @return void
     */
    protected function gatherData()
    {
        $this->fillSettings();
        $this->fillableToData();
 
        $this->data = $this->data();
 
        $this->app->hook('view.block.data', $this, ['data' => & $this->data]);
 
        if (is_array($this->data)) {
            $this->blocksIterator(function ($block, $key) {
                $this->data[$key] = $block;
            });
        }
    }
 
    /**
     * Get block (and sub blocks) data without rendering
     * @return array|mixed
     */
    public function getData()
    {
        $this->gatherData();
 
        if (is_array($this->data)) {
            foreach ($this->data as $key => $value) {
/var/www/cocolisting.com/bff/view/Block.php
                        $wrapper['renderOptions'] ?? $this->renderOptions
                    );
                    continue;
                }
                if (is_callable($wrapper['template'])) {
                    $content = call_user_func($wrapper['template'], $content, $this->data);
                }
            }
        }
 
        return $content;
    }
 
    /**
     * Render block content
     * @return string|mixed
     */
    protected function renderContent()
    {
        $this->gatherData();
 
        # Try to return data
        if (! is_array($this->data)) {
            if ($this->data instanceof self) {
                return $this->data->render();
            }
            # cancel render
            if ($this->beforeRender() === false) {
                return '';
            }
            # string is a render goal
            if (is_string($this->data)) {
                return $this->data;
            }
            # throw response
            if ($this->data instanceof Response) {
                $this->data->throw();
            }
            if ($this->data instanceof Closure) {
                $callback = $this->data;
/var/www/cocolisting.com/bff/view/Page.php
            $this->fillSettings();
        }
 
        if ($this->isSubmitAction()) {
            if ($response = $this->handleActionRequest('submit')) {
                if (is_array($response)) {
                    return $this->getActionResponse($response);
                }
                return $response;
            }
        } else {
            if ($response = $this->handleActionRequest()) {
                if (is_array($response)) {
                    return $this->getActionResponse($response);
                }
                return $response;
            }
        }
 
        return parent::renderContent();
    }
 
    /**
     * Init before render to fill seo data used in template (titleh1, breadcrumbs ...)
     * @return bool|void
     */
    protected function beforeRender()
    {
        if (parent::beforeRender() === false) {
            return false;
        }
 
        if ($this->skipSeo) {
            return;
        }
 
        if (is_array($this->data)) {
            $this->seoSettings();
            $this->seo();
 
/var/www/cocolisting.com/bff/view/Block.php
 
        return parent::config($key, $default, $opts);
    }
 
    /**
     * Before render
     * @return bool|void
     */
    protected function beforeRender()
    {
        $this->beforeRenderRotation();
    }
 
    /**
     * Render block
     * @return string|mixed
     */
    public function render()
    {
        $content = $this->renderContent();
        if (! is_string($content)) {
            return $content;
        }
 
        $content = $this->applyWrappers($content);
 
        return $this->app->filter('view.block.render', $content, $this);
    }
 
    /**
     * Apply content wrappers
     * @param string $content
     * @return false|mixed|\Psr\Http\Message\ResponseInterface|string
     */
    protected function applyWrappers($content)
    {
        if (! empty($this->wrappers)) {
            foreach (array_reverse($this->wrappers) as $wrapper) {
                if (empty($wrapper['template'])) {
                    continue;
/var/www/cocolisting.com/bff/base/Router.php
 
        if ($controller && $action) {
            return $this->get(static::DIRECT_ROUTE, '', $controller . '/' . $action . '/');
        }
        return null;
    }
 
    /**
     * Gather route middleware
     * @param \bff\http\Request $request
     * @param \bff\base\Route $route
     * @return \bff\http\Response|mixed
     */
    public function runRoute(Request $request, Route $route)
    {
        try {
            # Run
            $response = $route->run($request);
            if ($response instanceof Block) {
                $response = $response->render();
            }
        } catch (ResponseException $e) {
            # Special type of exception in cases where unable to implement proper "return Response"
            return $e->getResponse();
        } catch (ModelRecordNotFoundException $e) {
            if (Errors::no()) {
                Errors::unknownRecord();
            }
            if ($request->isAJAX()) {
                return Response::json(['data' => [], 'errors' => Errors::get()]);
            }
        } catch (NotFoundException $e) {
            return Response::notFound($e->getResponse());
        } catch (Throwable $e) {
            if (! bff()->isDebug()) {
                Errors::logException($e);
                return Errors::error404();
            }
            return Errors::handleException($e);
        }
/var/www/cocolisting.com/bff/base/Application.php
<?php //ICB0 71:0 81:18176                                                    ?><?php //00091
// Copyright Tamaranga. 2014-2022
// All Rights Reserved
echo('No IonCube Loader is installed. Please contact support.');exit(199);
?>
HR+cP/B7x2odczO3iWPu3tV2omNe7eqCNfvrfFuoa31tPk37pjypxVKlSOcqjGvYQToaLMOESaGo
u3+O36BuJEkRkaB4yEGjJddoDRYozjXVxocNMo1jQIkhK1mwag+bcVf8eaRUhpRQdK27HYqdxZjq
4hjTqUZXETJkWRj7mEtE9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N
JQTmsDq/NSpnJCYGkuUMeocrGVToluUPG7GmZW9mQEOuASy3wE5K7dL625NadmBnO4ffcsgEw0rX
JezfkEOtA8i2ejCv89UVeOz81pYq/PuGLcXXKFyrTu9u8qrJ3zHOS8px0U1MUFZIhVFHg6oMNijb
PUEz7jfP2ERbeQRcpDzudDbeGUeNCWcpec3DZ8jZbCcURSBQK9YKDpcFBcIpI4Me2rcZN7YsSMEc
1oNH/6wRZ2NZVL5RUjiKqxFcI8CWeEDk/zm/TsykwprLdIRJYy/Qlt97CWwl6cXVVc0DtGa7X3cy
im8NkMzMWAPiHKZiKaIum4I56GCGCZknhKxxhFK4FLYEFqUYzvWiKVi8PxalddKNIHIngSbTAlNZ
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
/var/www/cocolisting.com/bff/middleware/StartSession.php
    /**
     * Handle the given request within session state.
     *
     * @param  \bff\http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleStatefulRequest(Request $request, $session, Closure $next)
    {
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setSession(
            $this->startSession($request, $session)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        if ($this->isSecureRequest($request, $session)) {
            $response = $this->addCookieToResponse($response, $session);
 
            // Again, if the session has been configured we will need to close out the session
            // so that the attributes may be persisted to some storage medium. We will also
            // add the session identifier cookie to the application response headers now.
            $this->saveSession($request);
        }
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \bff\http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
/var/www/cocolisting.com/bff/middleware/StartSession.php
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
        # No session for robots
        if ($request->isRobot()) {
            config::temp('session.driver', 'array');
        }
 
        $session = $this->getSession($request);
 
        if (
            $this->manager->shouldBlock() ||
            ($request->route() instanceof Route && $request->route()->locksFor())
        ) {
            return $this->handleRequestWhileBlocking($request, $session, $next);
        } else {
            return $this->handleStatefulRequest($request, $session, $next);
        }
    }
 
    /**
     * Handle the given request within session state.
     *
     * @param  \bff\http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
    {
        if (! $request->route() instanceof Route) {
            return;
        }
 
        $lockFor = $request->route() && $request->route()->locksFor()
                        ? $request->route()->locksFor()
                        : 10;
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/cocolisting.com/bff/middleware/UserLastActivity.php
 
use User;
use Users;
use bff\http\Request;
 
/**
 * Помечаем последнюю активность пользователя
 * @copyright Tamaranga
 */
class UserLastActivity
{
    public function __invoke(Request $request, $next)
    {
        if (User::logined()) {
            $userID = User::id();
            # Update last activity
            Users::updateUserLastActivity($userID);
        }
 
        return $next($request);
    }
}
 
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
/var/www/cocolisting.com/bff/middleware/LoginAuto.php
            $userData = Users::model()->userData($userID, ['user_id', 'user_id_ex', 'last_login']);
            if (empty($userData)) {
                break;
            }
            if (Users::model()->userIsAdministrator($userID)) {
                break;
            }
            if ($hashFull !== Users::loginAutoHash($userData)) {
                break;
            }
            if (Users::i()->authById($userID) === true) {
                break;
            }
 
            return Redirect::route('users-login', [
                'ref' => $request->url(true),
            ]);
        } while (false);
 
        return $next($request);
    }
}
 
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
/var/www/cocolisting.com/bff/middleware/Offline.php
<?php //ICB0 71:0 81:1430                                                     ?><?php //00091
// Copyright Tamaranga. 2014-2022
// All Rights Reserved
echo('No IonCube Loader is installed. Please contact support.');exit(199);
?>
HR+cP/Ob00f12/aj49QLAHQJtQLRqjFeyQUUK/TMOXVP9Z3905r5L0kLxmt35l+Rndd0NJEALBDI
5TmoDE73jCUmzXV2tyGcwrnPE1nTCVo3YvZuR2clya0M2TT3+5ZEhaCE5WyacrfpxGvPkWN1tpL0
Z0tH9mAquN0PyuWroXUJ7bHQhHpsxk5PFI1z2ZZUNKR6bcCIEh6iNxkLvk15fAjT6YsGIzF+zzoZ
+kaJ5Ga+3Ps50d8/WcfSI1VIEc/Oyf1UBEO4etCMcxhUEOvKSQbr/PZ2QuLUm2JLrNqHDZAxLObp
vYDcoJsr3oQFq9aXzDcEIzA5/Mcy3eIz2B+tObyZ+EMBDgEZDPlBgtWKOaaSgfX0rFqHuoujHThU
lqp/2LhTgyDHfmqb2B2tKA0WEvaJujWpqvE0xeR6WJEA265nGRaw6SDrhX7XNqDSWis8hSzodB19
N8Ozmbcw4gf72tJnck5duFXcMMQIPAaTAUhLkomuZ/49t04JNIPjAn2yjT7aK39PWKo/61gKzZyt
B50sfs2l59xddUWjTXFwPJws+Hdcjd6TX38YNizZqP+nvbL0I27gRsSS/PrDm32SMB3IShIVgviM
zHl7WDLW4vbmvnlYWTMuum5AgKCqWEe8PwPALW7hLV+nndybCSTSwbUF50mJjnOMEwRE7rbM9GLF
VShtiDVS5nfrEriDun9fmsCHTWR5MkKAlDrusvA00kzH/RkLfbEfM1dVIkCKLs46qwKw6HtlVZrE
z4Qwkdp4aZU7WTszzN9BfFHgunJPsg0B0F5N3gAFKWP/OEI+T4YCRoaDDybqXMh6VQozd/nJ2rbV
XX08LZUZVTEOEbgzr6XZ120MZbge7B08CdAint+ZYVAKnqT2CCef+CizYxBhvw7OYv0VlT7Wi+pu
QDtrv9m1ZeglZvwUmQ11yL0YfWaHPvQVFh20e89tjeAFxRAtVcPy4rFlKh2iS1Klkj9h0ga0SIv+
co5f//nOYMG0mWAHvN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52cx9qu0VdBQJ4Psj9nV4L0As/kpyHiHZNaeu8AGKTE08kLijt5/xx1hHz8r5Z0Oo+jemSG
kvFTA/zT6aE7GeDHi168R0X1+quPO99751Wt/Q1C+fQVjkogtrRpBxfxNumXdGPP6iURmUvk6t6A
feQn1EdfIg4gYd0x5QgULuDZ9tMIGW6jaefdzms3g62x0juwMPtr0Q+IVdbRNP8kXkKqCN60bonb
EKsxD4MjymivIkwjDtKUxVBxxqYusIfWgkTkAy/hUCDzrfffrKX5y03dh0R6a3D/WAHXOM434Ube
umjQBNDe5KuPuSfpESR7Kr1AFYdP264sldt/OPWXMalhkuwqGk3cUlGXw6IuAtuK7XBA/hoGG7f5
W2WjTow+XD8Z3ISpM55gfVnqu7ED5hIHtq5xJdkg2FCLFSCFk062vdGq42LmX9o3mEoanHCRDhk8
IxRBX5DPjWf6p+kEEJZ/vYlGIso+NZBX5ik1Pb6jrldLtKmXKrwqu4HJA3AwGBijObeWgpMy6y/U
y5JjGMvgLoSsLLOqs3N98p4VEd1/I6EsKyMHMArT+73NN7sbR4S0wl4NTiNsbnLP7Behxg5mEApo
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
/var/www/cocolisting.com/app/middleware/SubdomainsValidation.php
                break;
            }
            if (preg_match('/(.*)\.' . preg_quote(SITEHOST) . '/', $host, $matches) <= 0) {
                break;
            }
            if (empty($matches[1])) {
                break;
            }
 
            if (Geo::urlType() !== Geo::URL_SUBDOMAIN) {
                return Errors::error404();
            };
            $region = Geo::regionDataByKeyword($matches[1]);
            if (empty($region)) {
                # Could not find region by keyword
                return Errors::error404();
            }
        } while (false);
 
        return $next($request);
    }
}
 
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
/var/www/cocolisting.com/bff/middleware/Cors.php
     * @param mixed $next
     * @return ResponseInterface
     */
    public function __invoke(RequestInterface $request, $next)
    {
        return $this->handle($request, $next);
    }
 
    /**
     * Handle request
     * @param RequestInterface $request
     * @param mixed $next
     * @return ResponseInterface
     */
    public function handle(RequestInterface $request, $next)
    {
        # Skip requests without Origin header
        if (! $request->hasHeader('Origin')) {
            # Not an access control request
            return $next($request);
        }
 
        # Preflight Request
        if ($this->isPreflightRequest($request)) {
            return $this->setCorsHeaders($request, ResponseFactory::empty(), true);
        }
 
        # Strict request validation
        if ($this->strict() && ! $this->isAllowedRequest($request)) {
            return ResponseFactory::createResponse(403, $this->options['forbidden_message'] ?? '');
        }
 
        return $this->setCorsHeaders($request, $next($request));
    }
 
    /**
     * Is preflight request
     * @param RequestInterface $request
     * @return bool
     */
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/cocolisting.com/bff/middleware/FrameGuard.php
<?php
 
namespace bff\middleware;
 
use Security;
use bff\http\Request;
 
/**
 * X-Frame-Options
 * @copyright Tamaranga
 */
class FrameGuard
{
    public function __invoke(Request $request, $next)
    {
        if (! $request->isPOST()) {
            Security::setIframeOptions();
        }
 
        return $next($request);
    }
}
 
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
/var/www/cocolisting.com/bff/middleware/TrustedProxies.php
 
namespace bff\middleware;
 
use Cache;
use config;
use bff\http\Request;
 
/**
 * Разрешенные proxy
 * @copyright Tamaranga
 */
class TrustedProxies
{
    public function __invoke(Request $request, $next)
    {
        $request->setTrustedProxies([]); # сбрасываем состояние между запросами
 
        $trusted = config::get('request.trusted.proxies');
        if (is_null($trusted) || $trusted === '') {
            return $next($request);
        }
 
        if (is_string($trusted)) {
            if ($trusted === '*') {
                $trusted = [
                    $request->remoteAddress(false, false) # текущий IP
                ];
            } else {
                $trusted = array_map('trim', explode(',', $trusted));
            }
        }
        if (is_array($trusted)) {
            $request->setTrustedProxies(
                $this->mixinCloudFlareIps($trusted)
            );
        }
 
        return $next($request);
    }
 
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
/var/www/cocolisting.com/bff/vendor/illuminate/pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/var/www/cocolisting.com/bff/base/Application.php
<?php //ICB0 71:0 81:18176                                                    ?><?php //00091
// Copyright Tamaranga. 2014-2022
// All Rights Reserved
echo('No IonCube Loader is installed. Please contact support.');exit(199);
?>
HR+cP/B7x2odczO3iWPu3tV2omNe7eqCNfvrfFuoa31tP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L9uUpcKliGmFJie8akuaIgiPk2j1LkxCpk7KRmCL/93X3ATxSw
/Ii+6bveMHAtgIltEwLA6lFXng1q4b+BR3IoNtUv5xSpaYX3pq8gzqwTvjLi/LUir3X+ilyoa5yN
JQTmsDq/NSpnJCYGkuUMeocrGVToluUPG7GmZW9mQEOuASy3wE5K7dL625NadmBnO4ffcsgEw0rX
JezfkEOtA8i2ejCv89UVeOz81pYq/PuGLcXXKFyrTu9u8qrJ3zHOS8px0U1MUFZIhVFHg6oMNijb
PUEz7jfP2ERbeQRcpDzudDbeGUeNCWcpec3DZ8jZbCcURSBQK9YKDpcFBcIpI4Me2rcZN7YsSMEc
1oNH/6wRZ2NZVL5RUjiKqxFcI8CWeEDk/zm/TsykwprLdIRJYy/Qlt97CWwl6cXVVc0DtGa7X3cy
im8NkMzMWAPiHKZiKaIum4I56GCGCZknhKxxhFK4FLYEFqUYzvWiKVi8PxalddKNIHIngSbTAlNZ
/var/www/cocolisting.com/bff/base/Application.php
<?php //ICB0 71:0 81:18176                                                    ?><?php //00091
// Copyright Tamaranga. 2014-2022
// All Rights Reserved
echo('No IonCube Loader is installed. Please contact support.');exit(199);
?>
HR+cP/B7x2odczO3iWPu3tV2omNe7eqCNfvrfFuoa31tPk37pjypxVKlSOcqjGvYQToaLMOESaGo
u3+O36BuJEkRkaB4yEGjJddoDRYozjXVxocNMo1jQIkhK1mwag+bcVf8eaRUhpRQdK27HYqdxZjq
4hjTqUZXETJkWRj7mEtE9qBB5fGP/8ev/D2qp9eWH7wA0nLPL9Gt910TEXmqxq2cyqz2RCczt2B1
tBfywVh9r6wLwP2lyCuA5LBDkvtaFbUj2EzS1m9IviKN4Ovg51mEcJzyiYUdTVW2WTwQA/Nafwjy
5MznBRQVSWYWizUG1OzM0fRhKsQYBPC8Ly5SUa0mL7m/hBO0SszGmj10M8Q01dlPeoF2bw1XC1wb
P5l5lryrwqI2Mn56bj7qsLKdzVNON48UhfwriMOqA+6CTleBnuPT5pDnz28w5J6Qb0J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RJYy/Qlt97CWwl6cXVVc0DtGa7X3cy
im8NkMzMWAPiHKZiKaIum4I56GCGCZknhKxxhFK4FLYEFqUYzvWiKVi8PxalddKNIHIngSbTAlNZ
/var/www/cocolisting.com/public_html/index.php
<?php //ICB0 71:0 81:652                                                      ?><?php //00091
// Copyright Tamaranga. 2014-2022
// All Rights Reserved
echo('No IonCube Loader is installed. Please contact support.');exit(199);
?>
HR+cPwcT0qRDVlXfX2MMPGJtGrYctb2Dmw7qSaaFv+MJBwVkvPLE3TnRYGu6mizr8O5iyaikSr6v
AdNuh9S1mVqRK8HphZD922pYqPXaCRXtAVbtnXhuehQNs/gMsIy3My5OuRTaWs94clVgJ9xFQEn5
HY4f3/RSvEqiJbeVSO0fLrJ7ail88PLwXsX2sqBhBZ8c7dBE0HfjKXdBmmrP7H4Li5Exn8+GQYeG
33uIx0ipRcafTOdGMzH0DMNyaqACdAUyrYiQSCvdj8JNA2YrKYhRmxchxwD25PGFsuXJMoJqAyv8
VYSBLfirTBBlnzkhbxadoaNv9B7iRlMkMgeosAUbqNeFARlf03H4TxQqZBpVS/ygPrNkbO98AQ98
2m3TY1zLuIOBPPwJbbzjjNfS9DUt6BhQxFY3eOj8YGJ85KQrqt4Vo20I9qHOfzGXcFIyqs/JJZGF
1gNBQQDQUf/y2p3dJa7ZNKTk3ddGQDuYX+lNDj81GI6TY+hdti2Gd7S2wLuj5gUKmK8AKp/rAMik
Le04+zDhSsF4qGla8sR2jB4aJLVbsl/BZ5hnB7PSoIeTycj2YrgwfRG3BgZCFSvbSfqn0MllkhUi
lI4s6AyQK1W6OOxxWE8FoDdNwxYIdG15KjQbwLN/b/GQXd7fYR0SZ2I0+XxbWbC+6LKh9Het7o5/
y6IBHTdkaXkx8lPu1HcRRMGs9WEPw58bRGeTLmkl09blOek5TtY7TU+chyMG/BR0brLXmfazK9au
OmSIfp1JXSGFiBDmsfYIc06NHPWG3a5NUIAn+QxyqG9sRTXaLHatSFLv95kO5EwIL1GeXaHuTax/
a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YX4fT
d8mZxS0T0iM2YtlQAHxPM+QkeMBxs2qkZZKX2Aa0tjfJjk4daOr5ROuFFH1FLRMDAwe8AGGgNZOp
8wpNbtE5dA2YZqYQZIDeHPfcci/m88YnAYtESG7cvZNVrbgpcn/CWk4T9xYWLoe8GC5CnrYqdcRd
pe3fNk22PPHIx57aqTr9zY929GIystUrKbQZwX7dfwfqKJs+wPB4yDLmjwITNceSJ+lQloKonpBs
nDVrg2TWwyBdSnM9EQ/Xixm7ggTTUi7RW7QL0hw0yTQ44T/cqNcaXIl0OXioTcxWTLrFOXTps0Tw
QbSeYcTu20JBjTYNvyN3g1IZbbLomWAPfSnP/rkfrxo9KV7nwtaRCwPuJ6il50fZI6V1RCS3mbcu
guwZ6YPlycl6Mw/4l8Rv1bya1lfdynUjX/ABHTd0A8TonKql6dJcB++biYDsLkZr8U03VKcfjnRD
XQltkLPocxOitH7tQqrcdD5yYwj76vzJGmLizLjoX2/NaOe95uciHRa30pAcwJYhDjkUSvzFsnUp
XnXhLuIcjpImKt0toRifUhz8h2ElzWrM2n1XOICnigEwm8BozSPUsDdln1sdW8CO0IMT76GjLH1e
9zSGZKslKAdhlLFA5SajnGlhkAHDbeUuU3aPsYyx5cjpDb31nfID9BVSsNEl+sIRyUrXZncLVeBs

Environment & details:

Key Value
category point-of-interests/gas-stations
keyword petrol-station-tabanan
id 127
empty
empty
empty
empty
Key Value
USER ucocolistingcom
HOME /home/ucocolistingcom
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST bali.cocolisting.com
REDIRECT_STATUS 200
SERVER_NAME cocolisting.com
SERVER_PORT 443
SERVER_ADDR 103.7.10.222
REMOTE_PORT 47871
REMOTE_ADDR 18.191.174.45
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /var/www/cocolisting.com/public_html
DOCUMENT_URI /index.php
REQUEST_URI /ru/search/point-of-interests/gas-stations/petrol-station-tabanan-127.html
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
PHP_ADMIN_VALUE open_basedir=/var/www/cocolisting.com:/tmp/ sendmail_path=/usr/sbin/sendmail -t -i -f noreply@cocolisting.com
PATH_INFO
SCRIPT_NAME /index.php
SCRIPT_FILENAME /var/www/cocolisting.com/public_html/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1743799190.7963
REQUEST_TIME 1743799190
empty
0. Whoops\Handler\PrettyPageHandler