VuFind \ Exception \ ILS
HTTP error VuFind\Exception\ILS thrown with message "HTTP error" Stacktrace: #16 VuFind\Exception\ILS in /mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/ILS/Driver/Aleph.php:924 #15 VuFind\ILS\Driver\Aleph:doHTTPRequest in /mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/ILS/Driver/Aleph.php:964 #14 VuFind\ILS\Driver\Aleph:doOAIRequest in /mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/ILS/Driver/Aleph.php:3076 #13 VuFind\ILS\Driver\Aleph:getMARCXMLString in /mnt/monguz/vufind-instances/6.1.2/themes/bootstrap3elte/templates/RecordTab/staffviewmarc.phtml:5 #12 include in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php:506 #11 Zend\View\Renderer\PhpRenderer:render in /mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/View/Helper/Root/Record.php:353 #10 VuFind\View\Helper\Root\Record:getTab in /mnt/monguz/vufind-instances/6.1.2/themes/bootstrap3elte/templates/record/view.phtml:64 #9 include in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php:506 #8 Zend\View\Renderer\PhpRenderer:render in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/View.php:207 #7 Zend\View\View:render in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/View.php:236 #6 Zend\View\View:renderChildren in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/View.php:200 #5 Zend\View\View:render in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php:105 #4 Zend\Mvc\View\Http\DefaultRenderingStrategy:render in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-eventmanager/src/EventManager.php:322 #3 Zend\EventManager\EventManager:triggerListeners in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-eventmanager/src/EventManager.php:171 #2 Zend\EventManager\EventManager:triggerEvent in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-mvc/src/Application.php:367 #1 Zend\Mvc\Application:completeRequest in /mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-mvc/src/Application.php:348 #0 Zend\Mvc\Application:run in /mnt/monguz/vufind-instances/eles/public/index.php:83
Stack frames (17)
16
VuFind\Exception\ILS
/module/VuFind/src/VuFind/ILS/Driver/Aleph.php924
15
VuFind\ILS\Driver\Aleph doHTTPRequest
/module/VuFind/src/VuFind/ILS/Driver/Aleph.php964
14
VuFind\ILS\Driver\Aleph doOAIRequest
/module/VuFind/src/VuFind/ILS/Driver/Aleph.php3076
13
VuFind\ILS\Driver\Aleph getMARCXMLString
/themes/bootstrap3elte/templates/RecordTab/staffviewmarc.phtml5
12
include
/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php506
11
Zend\View\Renderer\PhpRenderer render
/module/VuFind/src/VuFind/View/Helper/Root/Record.php353
10
VuFind\View\Helper\Root\Record getTab
/themes/bootstrap3elte/templates/record/view.phtml64
9
include
/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php506
8
Zend\View\Renderer\PhpRenderer render
/vendor/zendframework/zend-view/src/View.php207
7
Zend\View\View render
/vendor/zendframework/zend-view/src/View.php236
6
Zend\View\View renderChildren
/vendor/zendframework/zend-view/src/View.php200
5
Zend\View\View render
/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php105
4
Zend\Mvc\View\Http\DefaultRenderingStrategy render
/vendor/zendframework/zend-eventmanager/src/EventManager.php322
3
Zend\EventManager\EventManager triggerListeners
/vendor/zendframework/zend-eventmanager/src/EventManager.php171
2
Zend\EventManager\EventManager triggerEvent
/vendor/zendframework/zend-mvc/src/Application.php367
1
Zend\Mvc\Application completeRequest
/vendor/zendframework/zend-mvc/src/Application.php348
0
Zend\Mvc\Application run
/mnt/monguz/vufind-instances/eles/public/index.php83
/mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/ILS/Driver/Aleph.php
    {
        if ($this->debug_enabled) {
            $this->debug("URL: '$url'");
        }
 
        $result = null;
        try {
            $client = $this->httpService->createClient($url);
            $client->setOptions(['timeout' => $this->config['Catalog']['timeout']
                ?? 30]); // to avoid timeout in original getMyFines
            $client->setMethod($method);
            if ($body != null) {
                $client->setRawBody($body);
            }
            $result = $client->send();
        } catch (\Exception $e) {
            throw new ILSException($e->getMessage());
        }
        if (!$result->isSuccess()) {
            throw new ILSException('HTTP error');
        }
        $answer = $result->getBody();
        if ($this->debug_enabled) {
            $this->debug("url: $url response: $answer");
        }
        $answer = str_replace('xmlns=', 'ns=', $answer);
        if (strpos($answer, '<') !== false) {
            $result = simplexml_load_string($answer);
        }
        if (!$result) {
            if ($this->debug_enabled) {
                $this->debug("XML is not valid, URL: $url");
            }
            throw new ILSException(
                "XML is not valid, URL: $url method: $method answer: $answer."
            );
        }
        return $result;
    }
 
/mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/ILS/Driver/Aleph.php
    /**
     * Perform an OAI request.
     *
     * @param string $id     The record id
     * @param string $prefix OAI metadata prefix ('marc21' / 'oai_dc')
     *
     * @return SimpleXMLElement
     */
    public function doOAIRequest($id, $prefix = 'marc21')
    {
        $result = "";
        if (isset($this->config['util']['oai_getrecord_url'])) {
            if (strpos($id, 'opac') !== false) {
                $url = $this->config['util']['oai_getrecord_url'];
                $url = preg_replace('/[0-9]{9}/', strpos($url, 'OAI-script')
                    ? preg_replace('/^[0]+/', '', preg_replace('/^.*([0-9]{9})$/',
                    '$1', $id)) : preg_replace('/^.*([0-9]{9})$/', '$1', $id), $url);
                if (is_bool(strpos($url, 'metadataPrefix='.$prefix)))
                    $url = preg_replace('/(metadataPrefix=)[^&]+/', '$1'.$prefix, $url);
                $result = $this->doHTTPRequest($url);
                $replyCode = (string) $result->{'reply-code'};
                if ($replyCode != "0000") {
                    $replyText = (string) $result->{'reply-text'};
                    if (isset($result->{'error'})) {
                        $errorMsg = (string) $result->{'error'};
                        $result = $errorMsg;
                    }
                    else if ($result->xpath("//header[@status='deleted']")) {
                        $errorMsg = 'Deleted';
                        $result = $errorMsg;
                    }
                    $this->logError(
                        "OAI request failed", [
                            'url' => $url, 'reply-code' => $replyCode,
                            'reply-message' => $replyText,
                            'error-message' => isset($errorMsg) ? $errorMsg : ""
                        ]
                    );
//                    $ex = new AlephRestfulException($replyText, $replyCode);
//                    $ex->setXmlResponse($result);
/mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/ILS/Driver/Aleph.php
                $userLang = $tls[0];
            }
        }
        else {
            $userLang = 'eng';
        }
 
        return $userLang;
    }
 
    /**
     * Get the XML representation of a record.
     *
     * @param string $id     The record id
     *
     * @return string
     */
    public function getMARCXMLString($id)
    {
        $result = $this->doOAIRequest($id);
        if ((is_object($result)) && (get_class($result) === 'SimpleXMLElement')
         && (!isset($result->error))) {
            $result->registerXPathNamespace("marc", "http://www.loc.gov/MARC21/slim");
            $result = $result->xpath('//GetRecord/record/metadata/marc:record');
            if (is_array($result) && count($result) < 1)
                $result = new \SimpleXMLElement('<record></record>');
            else { 
                if (isset($this->config['Catalog']['hidden_marc_fields'])) {
                    foreach ($this->config['Catalog']['hidden_marc_fields'] as $fxpath) {
                        $hmfs = $result[0]->xpath($fxpath);
                        if (count($hmfs) > 0) {
                            foreach ($hmfs as $hmf) {
                                $dom = dom_import_simplexml($hmf);
                                $dom->parentNode->removeChild($dom);
                            }
                        }
                    }
                }
            }
        }
/mnt/monguz/vufind-instances/6.1.2/themes/bootstrap3elte/templates/RecordTab/staffviewmarc.phtml
<?php
    // Set page title.
    $this->headTitle($this->translate('MARC View') . ': ' . $this->driver->getBreadcrumb());
?>
<?php if ($this->ils()): ?><?=\VuFind\XSLT\Processor::process('record-marc.xsl', $this->ils()->getDriver()->getMARCXMLString($this->driver->getUniqueID()))?><? endif; ?>
 
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php
        $__vars = $this->vars()->getArrayCopy();
        if (array_key_exists('this', $__vars)) {
            unset($__vars['this']);
        }
        extract($__vars);
        unset($__vars); // remove $__vars from local scope
 
        $this->__content = '';
        while ($this->__template = array_pop($this->__templates)) {
            $this->__file = $this->resolver($this->__template);
            if (! $this->__file) {
                throw new Exception\RuntimeException(sprintf(
                    '%s: Unable to render template "%s"; resolver could not resolve to a file',
                    __METHOD__,
                    $this->__template
                ));
            }
            try {
                ob_start();
                $includeReturn = include $this->__file;
                $this->__content = ob_get_clean();
            } catch (\Throwable $ex) {
                ob_end_clean();
                throw $ex;
            } catch (\Exception $ex) { // @TODO clean up once PHP 7 requirement is enforced
                ob_end_clean();
                throw $ex;
            }
            if ($includeReturn === false && empty($this->__content)) {
                throw new Exception\UnexpectedValueException(sprintf(
                    '%s: Unable to render template "%s"; file include failed',
                    __METHOD__,
                    $this->__file
                ));
            }
        }
 
        $this->setVars(array_pop($this->__varsCache));
 
        if ($this->__filterChain instanceof FilterChain) {
/mnt/monguz/vufind-instances/6.1.2/module/VuFind/src/VuFind/View/Helper/Root/Record.php
        );
        $link .= $this->getView()->plugin('searchTabs')
            ->getCurrentHiddenFilterParams($this->driver->getSourceIdentifier());
        return $link;
    }
 
    /**
     * Render the contents of the specified record tab.
     *
     * @param \VuFind\RecordTab\TabInterface $tab Tab to display
     *
     * @return string
     */
    public function getTab(\VuFind\RecordTab\TabInterface $tab)
    {
        $context = ['driver' => $this->driver, 'tab' => $tab];
        $classParts = explode('\\', get_class($tab));
        $template = 'RecordTab/' . strtolower(array_pop($classParts)) . '.phtml';
        $oldContext = $this->contextHelper->apply($context);
        $html = $this->view->render($template);
        $this->contextHelper->restore($oldContext);
        return $html;
    }
 
    /**
     * Render a toolbar for use on the record view.
     *
     * @return string
     */
    public function getToolbar()
    {
        return $this->renderTemplate('toolbar.phtml');
    }
 
    /**
     * Render a search result for the specified view mode.
     *
     * @param string $view View mode to use.
     *
     * @return string
/mnt/monguz/vufind-instances/6.1.2/themes/bootstrap3elte/templates/record/view.phtml
                if (!$this->loadInitialTabWithAjax || !$obj->supportsAjax()) {
                  $tabClasses[] = 'active';
                }
                $tabClasses[] = 'initiallyActive';
                $this->layout()->breadcrumbs .= '<li class="active">' . $this->transEsc($desc) . '</li>';
                $activeTabObj = $obj;
              }
              if (!$obj->isVisible()) { $tabClasses[] = 'hidden'; }
              if (!$obj->supportsAjax()) { $tabClasses[] = 'noajax'; }
            ?>
            <li class="<?=implode(' ', $tabClasses)?>" data-tab="<?=$tabName?>"<?php if ($obj->supportsAjax() && in_array($tab, $this->backgroundTabs)):?> data-background<?php endif ?>>
              <a href="<?=$this->recordLink()->getTabUrl($this->driver, $tab)?>#tabnav"><?=$this->transEsc($desc)?></a>
            </li>
          <?php endforeach; ?>
        </ul>
 
        <div class="tab-content">
          <?php if (!$this->loadInitialTabWithAjax || !isset($activeTabObj) || !$activeTabObj->supportsAjax()): ?>
            <div class="tab-pane active <?=$this->escapeHtmlAttr($this->activeTab) ?>-tab">
              <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?>
            </div>
          <?php endif; ?>
        </div>
      </div>
    <?php endif; ?>
 
    <?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="' . $this->escapeHtmlAttr($this->driver->getCoinsOpenURL()) . '"></span>':''?>
  </div>
 
  <div class="<?=$this->layoutClass('sidebar')?>">
    <?php foreach ($sidebarList as $current): ?>
      <?=$this->related()->render($current)?>
    <?php endforeach; ?>
  </div>
</div>
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, '$(document).ready(recordDocReady);', 'SET'); ?>
 
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php
        $__vars = $this->vars()->getArrayCopy();
        if (array_key_exists('this', $__vars)) {
            unset($__vars['this']);
        }
        extract($__vars);
        unset($__vars); // remove $__vars from local scope
 
        $this->__content = '';
        while ($this->__template = array_pop($this->__templates)) {
            $this->__file = $this->resolver($this->__template);
            if (! $this->__file) {
                throw new Exception\RuntimeException(sprintf(
                    '%s: Unable to render template "%s"; resolver could not resolve to a file',
                    __METHOD__,
                    $this->__template
                ));
            }
            try {
                ob_start();
                $includeReturn = include $this->__file;
                $this->__content = ob_get_clean();
            } catch (\Throwable $ex) {
                ob_end_clean();
                throw $ex;
            } catch (\Exception $ex) { // @TODO clean up once PHP 7 requirement is enforced
                ob_end_clean();
                throw $ex;
            }
            if ($includeReturn === false && empty($this->__content)) {
                throw new Exception\UnexpectedValueException(sprintf(
                    '%s: Unable to render template "%s"; file include failed',
                    __METHOD__,
                    $this->__file
                ));
            }
        }
 
        $this->setVars(array_pop($this->__varsCache));
 
        if ($this->__filterChain instanceof FilterChain) {
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/View.php
 
        // If EVENT_RENDERER or EVENT_RENDERER_POST changed the model, make sure
        // we use this new model instead of the current $model
        $model   = $event->getModel();
 
        // If we have children, render them first, but only if:
        // a) the renderer does not implement TreeRendererInterface, or
        // b) it does, but canRenderTrees() returns false
        if ($model->hasChildren()
            && (! $renderer instanceof TreeRendererInterface
                || ! $renderer->canRenderTrees())
        ) {
            $this->renderChildren($model);
        }
 
        // Reset the model, in case it has changed, and set the renderer
        $event->setModel($model);
        $event->setRenderer($renderer);
 
        $rendered = $renderer->render($model);
 
        // If this is a child model, return the rendered content; do not
        // invoke the response strategy.
        $options = $model->getOptions();
        if (array_key_exists('has_parent', $options) && $options['has_parent']) {
            return $rendered;
        }
 
        $event->setResult($rendered);
        $event->setName(ViewEvent::EVENT_RESPONSE);
 
        $events->triggerEvent($event);
    }
 
    /**
     * Loop through children, rendering each
     *
     * @param  Model $model
     * @throws Exception\DomainException
     * @return void
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/View.php
        $event->setName(ViewEvent::EVENT_RESPONSE);
 
        $events->triggerEvent($event);
    }
 
    /**
     * Loop through children, rendering each
     *
     * @param  Model $model
     * @throws Exception\DomainException
     * @return void
     */
    protected function renderChildren(Model $model)
    {
        foreach ($model as $child) {
            if ($child->terminate()) {
                throw new Exception\DomainException('Inconsistent state; child view model is marked as terminal');
            }
            $child->setOption('has_parent', true);
            $result  = $this->render($child);
            $child->setOption('has_parent', null);
            $capture = $child->captureTo();
            if (! empty($capture)) {
                if ($child->isAppend()) {
                    $oldResult = $model->{$capture};
                    $model->setVariable($capture, $oldResult . $result);
                } else {
                    $model->setVariable($capture, $result);
                }
            }
        }
    }
 
    /**
     * Create and return ViewEvent used by render()
     *
     * @return ViewEvent
     */
    protected function getEvent()
    {
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-view/src/View.php
                __METHOD__
            ));
        }
 
        $event->setRenderer($renderer);
        $event->setName(ViewEvent::EVENT_RENDERER_POST);
        $events->triggerEvent($event);
 
        // If EVENT_RENDERER or EVENT_RENDERER_POST changed the model, make sure
        // we use this new model instead of the current $model
        $model   = $event->getModel();
 
        // If we have children, render them first, but only if:
        // a) the renderer does not implement TreeRendererInterface, or
        // b) it does, but canRenderTrees() returns false
        if ($model->hasChildren()
            && (! $renderer instanceof TreeRendererInterface
                || ! $renderer->canRenderTrees())
        ) {
            $this->renderChildren($model);
        }
 
        // Reset the model, in case it has changed, and set the renderer
        $event->setModel($model);
        $event->setRenderer($renderer);
 
        $rendered = $renderer->render($model);
 
        // If this is a child model, return the rendered content; do not
        // invoke the response strategy.
        $options = $model->getOptions();
        if (array_key_exists('has_parent', $options) && $options['has_parent']) {
            return $rendered;
        }
 
        $event->setResult($rendered);
        $event->setName(ViewEvent::EVENT_RESPONSE);
 
        $events->triggerEvent($event);
    }
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php
        if ($result instanceof Response) {
            return $result;
        }
 
        // Martial arguments
        $request   = $e->getRequest();
        $response  = $e->getResponse();
        $viewModel = $e->getViewModel();
        if (! $viewModel instanceof ViewModel) {
            return;
        }
 
        $view = $this->view;
        $view->setRequest($request);
        $view->setResponse($response);
 
        $caughtException = null;
 
        try {
            $view->render($viewModel);
        } catch (\Throwable $ex) {
            $caughtException = $ex;
        } catch (\Exception $ex) {  // @TODO clean up once PHP 7 requirement is enforced
            $caughtException = $ex;
        }
 
        if ($caughtException !== null) {
            if ($e->getName() === MvcEvent::EVENT_RENDER_ERROR) {
                throw $caughtException;
            }
 
            $application = $e->getApplication();
            $events      = $application->getEventManager();
 
            $e->setError(Application::ERROR_EXCEPTION);
            $e->setParam('exception', $caughtException);
            $e->setName(MvcEvent::EVENT_RENDER_ERROR);
            $events->triggerEvent($e);
        }
 
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-eventmanager/src/EventManager.php
        }
 
        if ($this->sharedManager) {
            foreach ($this->sharedManager->getListeners($this->identifiers, $name) as $priority => $listeners) {
                $listOfListenersByPriority[$priority][] = $listeners;
            }
        }
 
        // Sort by priority in reverse order
        krsort($listOfListenersByPriority);
 
        // Initial value of stop propagation flag should be false
        $event->stopPropagation(false);
 
        // Execute listeners
        $responses = new ResponseCollection();
        foreach ($listOfListenersByPriority as $listOfListeners) {
            foreach ($listOfListeners as $listeners) {
                foreach ($listeners as $listener) {
                    $response = $listener($event);
                    $responses->push($response);
 
                    // If the event was asked to stop propagating, do so
                    if ($event->propagationIsStopped()) {
                        $responses->setStopped(true);
                        return $responses;
                    }
 
                    // If the result causes our validation callback to return true,
                    // stop propagation
                    if ($callback && $callback($response)) {
                        $responses->setStopped(true);
                        return $responses;
                    }
                }
            }
        }
 
        return $responses;
    }
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-eventmanager/src/EventManager.php
        $event = clone $this->eventPrototype;
        $event->setName($eventName);
 
        if ($target !== null) {
            $event->setTarget($target);
        }
 
        if ($argv) {
            $event->setParams($argv);
        }
 
        return $this->triggerListeners($event, $callback);
    }
 
    /**
     * @inheritDoc
     */
    public function triggerEvent(EventInterface $event)
    {
        return $this->triggerListeners($event);
    }
 
    /**
     * @inheritDoc
     */
    public function triggerEventUntil(callable $callback, EventInterface $event)
    {
        return $this->triggerListeners($event, $callback);
    }
 
    /**
     * @inheritDoc
     */
    public function attach($eventName, callable $listener, $priority = 1)
    {
        if (! is_string($eventName)) {
            throw new Exception\InvalidArgumentException(sprintf(
                '%s expects a string for the event; received %s',
                __METHOD__,
                (is_object($eventName) ? get_class($eventName) : gettype($eventName))
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-mvc/src/Application.php
        return $this->completeRequest($event);
    }
 
    /**
     * Complete the request
     *
     * Triggers "render" and "finish" events, and returns response from
     * event object.
     *
     * @param  MvcEvent $event
     * @return Application
     */
    protected function completeRequest(MvcEvent $event)
    {
        $events = $this->events;
        $event->setTarget($this);
 
        $event->setName(MvcEvent::EVENT_RENDER);
        $event->stopPropagation(false); // Clear before triggering
        $events->triggerEvent($event);
 
        $event->setName(MvcEvent::EVENT_FINISH);
        $event->stopPropagation(false); // Clear before triggering
        $events->triggerEvent($event);
 
        return $this;
    }
}
 
/mnt/monguz/vufind-instances/6.1.2/vendor/zendframework/zend-mvc/src/Application.php
        // Trigger dispatch event
        $event->setName(MvcEvent::EVENT_DISPATCH);
        $event->stopPropagation(false); // Clear before triggering
        $result = $events->triggerEventUntil($shortCircuit, $event);
 
        // Complete response
        $response = $result->last();
        if ($response instanceof ResponseInterface) {
            $event->setName(MvcEvent::EVENT_FINISH);
            $event->setTarget($this);
            $event->setResponse($response);
            $event->stopPropagation(false); // Clear before triggering
            $events->triggerEvent($event);
            $this->response = $response;
            return $this;
        }
 
        $response = $this->response;
        $event->setResponse($response);
        return $this->completeRequest($event);
    }
 
    /**
     * Complete the request
     *
     * Triggers "render" and "finish" events, and returns response from
     * event object.
     *
     * @param  MvcEvent $event
     * @return Application
     */
    protected function completeRequest(MvcEvent $event)
    {
        $events = $this->events;
        $event->setTarget($this);
 
        $event->setName(MvcEvent::EVENT_RENDER);
        $event->stopPropagation(false); // Clear before triggering
        $events->triggerEvent($event);
 
/mnt/monguz/vufind-instances/eles/public/index.php
 
// Ensure vendor/ is on include_path; some PEAR components may not load correctly
// otherwise (i.e. File_MARC may cause a "Cannot redeclare class" error by pulling
// from the shared PEAR directory instead of the local copy):
$pathParts = [];
$pathParts[] = APPLICATION_PATH . '/vendor';
$pathParts[] = get_include_path();
set_include_path(implode(PATH_SEPARATOR, $pathParts));
 
// Composer autoloading
if (file_exists('vendor/autoload.php')) {
    $loader = include 'vendor/autoload.php';
}
 
if (!class_exists('Zend\Loader\AutoloaderFactory')) {
    throw new RuntimeException('Unable to load Zend Framework autoloader.');
}
 
// Run the application!
Zend\Mvc\Application::init(require 'config/application.config.php')->run();
 

Environment & details:

empty
empty
empty
empty
Key Value
__ZF Array ( [_REQUEST_ACCESS_TIME] => 1711673199,3003 [_VALID] => Array ( [Zend\Session\Validator\Id] => u03roscriff5t2co3082rgo1cj ) )
SessionState Zend\Stdlib\ArrayObject Object ( [storage:protected] => Array ( [cookiePath] => / ) [flag:protected] => 2 [iteratorClass:protected] => ArrayIterator [protectedProperties:protected] => Array ( [0] => storage [1] => flag [2] => iteratorClass [3] => protectedProperties ) )
FlashMessenger Zend\Stdlib\ArrayObject Object ( [storage:protected] => Array ( ) [flag:protected] => 2 [iteratorClass:protected] => ArrayIterator [protectedProperties:protected] => Array ( [0] => storage [1] => flag [2] => iteratorClass [3] => protectedProperties ) )
Aleph Zend\Stdlib\ArrayObject Object ( [storage:protected] => Array ( [iso639_1_codes] => Array ( [aa] => Afar [ab] => Abkhazian [ae] => Avestan [af] => Afrikaans [ak] => Akan [am] => Amharic [an] => Aragonese [ar] => Arabic [as] => Assamese [av] => Avaric [ay] => Aymara [az] => Azerbaijani [ba] => Bashkir [be] => Belarusian [bg] => Bulgarian [bh] => Bihari languages [bi] => Bislama [bm] => Bambara [bn] => Bengali [bo] => Tibetan [br] => Breton [bs] => Bosnian [ca] => Catalan [ce] => Chechen [ch] => Chamorro [co] => Corsican [cr] => Cree [cs] => Czech [cu] => Church Slavic [cv] => Chuvash [cy] => Welsh [da] => Danish [de] => German [dv] => Divehi [dz] => Dzongkha [ee] => Ewe [el] => Greek [en] => English [eo] => Esperanto [es] => Spanish [et] => Estonian [eu] => Basque [fa] => Persian [ff] => Fulah [fi] => Finnish [fj] => Fijian [fo] => Faroese [fr] => French [fy] => Western Frisian [ga] => Irish [gd] => Gaelic [gl] => Galician [gn] => Guarani [gu] => Gujarati [gv] => Manx [ha] => Hausa [he] => Hebrew [hi] => Hindi [hr] => Croatian [ht] => Haitian [hu] => Hungarian [hy] => Armenian [hz] => Herero [ia] => Interlingua [id] => Indonesian [ie] => Interlingue [ig] => Igbo [ii] => Sichuan Yi [ik] => Inupiaq [io] => Ido [is] => Icelandic [it] => Italian [iu] => Inuktitut [ja] => Japanese [jv] => Javanese [ka] => Georgian [kg] => Kongo [ki] => Kikuyu [kj] => Kuanyama [kk] => Kazakh [kl] => Kalaallisut [km] => Central Khmer [kn] => Kannada [ko] => Korean [kr] => Kanuri [ks] => Kashmiri [ku] => Kurdish [kv] => Komi [kw] => Cornish [ky] => Kirghiz [la] => Latin [lb] => Luxembourgish [lg] => Ganda [li] => Limburgan [ln] => Lingala [lo] => Lao [lt] => Lithuanian [lu] => Luba-Katanga [lv] => Latvian [mg] => Malagasy [mh] => Marshallese [mi] => Maori [mk] => Macedonian [ml] => Malayalam [mn] => Mongolian [mr] => Marathi [ms] => Malay [mt] => Maltese [my] => Burmese [na] => Nauru [nb] => Norwegian (Bokmål) [nd] => North Ndebele [ne] => Nepali [ng] => Ndonga [nl] => Dutch [nn] => Norwegian (Nynorsk) [no] => Norwegian [nr] => South Ndebele [nv] => Navajo [ny] => Chichewa [oc] => Occitan [oj] => Ojibwa [om] => Oromo [or] => Oriya [os] => Ossetian [pa] => Panjabi [pi] => Pali [pl] => Polish [ps] => Pushto [pt] => Portuguese [qu] => Quechua [rm] => Romansh [rn] => Rundi [ro] => Romanian [ru] => Russian [rw] => Kinyarwanda [sa] => Sanskrit [sc] => Sardinian [sd] => Sindhi [se] => Northern Sami [sg] => Sango [si] => Sinhala [sk] => Slovak [sl] => Slovenian [sm] => Samoan [sn] => Shona [so] => Somali [sq] => Albanian [sr] => Serbian [ss] => Swati [st] => Southern Sotho [su] => Sundanese [sv] => Swedish [sw] => Swahili [ta] => Tamil [te] => Telugu [tg] => Tajik [th] => Thai [ti] => Tigrinya [tk] => Turkmen [tl] => Tagalog [tn] => Tswana [to] => Tonga [tr] => Turkish [ts] => Tsonga [tt] => Tatar [tw] => Twi [ty] => Tahitian [ug] => Uighur [uk] => Ukrainian [ur] => Urdu [uz] => Uzbek [ve] => Venda [vi] => Vietnamese [vo] => Volapuk [wa] => Walloon [wo] => Wolof [xh] => Xhosa [yi] => Yiddish [yo] => Yoruba [za] => Zhuang [zh] => Chinese [zu] => Zulu ) [iso639_1_codes_mtime] => 1550671200 [iso639_2_codes] => Array ( [aar] => Afar [abk] => Abkhazian [ace] => Achinese [ach] => Acoli [ada] => Adangme [ady] => Adyghe [afa] => Afro-Asiatic languages [afh] => Afrihili [afr] => Afrikaans [ain] => Ainu [aka] => Akan [akk] => Akkadian [alb] => Albanian [ale] => Aleut [alg] => Algonquian languages [alt] => Southern Altai [amh] => Amharic [ang] => Old English [anp] => Angika [apa] => Apache languages [ara] => Arabic [arc] => Official Aramaic [arg] => Aragonese [arm] => Armenian [arn] => Mapudungun [arp] => Arapaho [art] => Artificial languages [arw] => Arawak [asm] => Assamese [ast] => Asturian [ath] => Athapascan languages [aus] => Australian languages [ava] => Avaric [ave] => Avestan [awa] => Awadhi [aym] => Aymara [aze] => Azerbaijani [bad] => Banda languages [bai] => Bamileke languages [bak] => Bashkir [bal] => Baluchi [bam] => Bambara [ban] => Balinese [baq] => Basque [bas] => Basa [bat] => Baltic languages [bej] => Beja [bel] => Belarusian [bem] => Bemba [ben] => Bengali [ber] => Berber languages [bho] => Bhojpuri [bih] => Bihari languages [bik] => Bikol [bin] => Bini [bis] => Bislama [bla] => Siksika [bnt] => Bantu languages [bos] => Bosnian [bra] => Braj [bre] => Breton [btk] => Batak languages [bua] => Buriat [bug] => Buginese [bul] => Bulgarian [bur] => Burmese [byn] => Blin [cad] => Caddo [cai] => Central American Indian languages [car] => Galibi Carib [cat] => Catalan [cau] => Caucasian languages [ceb] => Cebuano [cel] => Celtic languages [cha] => Chamorro [chb] => Chibcha [che] => Chechen [chg] => Chagatai [chi] => Chinese [chk] => Chuukese [chm] => Mari [chn] => Chinook jargon [cho] => Choctaw [chp] => Chipewyan [chr] => Cherokee [chu] => Church Slavic [chv] => Chuvash [chy] => Cheyenne [cmc] => Chamic languages [cnr] => Montenegrin [cop] => Coptic [cor] => Cornish [cos] => Corsican [cpe] => English based creoles and pidgins [cpf] => French-based creoles and pidgins [cpp] => Portuguese-based creoles and pidgins [cre] => Cree [crh] => Crimean Tatar [crp] => Creoles and pidgins [csb] => Kashubian [cus] => Cushitic languages [cze] => Czech [dak] => Dakota [dan] => Danish [dar] => Dargwa [day] => Land Dayak languages [del] => Delaware [den] => Slave (Athapascan) [dgr] => Dogrib [din] => Dinka [div] => Divehi [doi] => Dogri [dra] => Dravidian languages [dsb] => Lower Sorbian [dua] => Duala [dum] => Middle Dutch [dut] => Dutch [dyu] => Dyula [dzo] => Dzongkha [efi] => Efik [egy] => Ancient Egyptian [eka] => Ekajuk [elx] => Elamite [eng] => English [enm] => Middle English [epo] => Esperanto [est] => Estonian [ewe] => Ewe [ewo] => Ewondo [fan] => Fang [fao] => Faroese [fat] => Fanti [fij] => Fijian [fil] => Filipino [fin] => Finnish [fiu] => Finno-Ugrian languages [fon] => Fon [fre] => French [frm] => Middle French [fro] => Old French [frr] => Northern Frisian [frs] => Eastern Frisian [fry] => Western Frisian [ful] => Fulah [fur] => Friulian [gaa] => Ga [gay] => Gayo [gba] => Gbaya [gem] => Germanic languages [geo] => Georgian [ger] => German [gez] => Geez [gil] => Gilbertese [gla] => Gaelic [gle] => Irish [glg] => Galician [glv] => Manx [gmh] => Middle High German [goh] => Old High German [gon] => Gondi [gor] => Gorontalo [got] => Gothic [grb] => Grebo [grc] => Ancient Greek [gre] => Modern Greek [grn] => Guarani [gsw] => Swiss German [guj] => Gujarati [gwi] => Gwich'in [hai] => Haida [hat] => Haitian [hau] => Hausa [haw] => Hawaiian [heb] => Hebrew [her] => Herero [hil] => Hiligaynon [him] => Himachali languages [hin] => Hindi [hit] => Hittite [hmn] => Hmong [hmo] => Hiri Motu [hrv] => Croatian [hsb] => Upper Sorbian [hun] => Hungarian [hup] => Hupa [iba] => Iban [ibo] => Igbo [ice] => Icelandic [ido] => Ido [iii] => Sichuan Yi [ijo] => Ijo languages [iku] => Inuktitut [ile] => Interlingue [ilo] => Iloko [ina] => Interlingua [inc] => Indic languages [ind] => Indonesian [ine] => Indo-European languages [inh] => Ingush [ipk] => Inupiaq [ira] => Iranian languages [iro] => Iroquoian languages [ita] => Italian [jav] => Javanese [jbo] => Lojban [jpn] => Japanese [jpr] => Judeo-Persian [jrb] => Judeo-Arabic [kaa] => Kara-Kalpak [kab] => Kabyle [kac] => Kachin [kal] => Kalaallisut [kam] => Kamba [kan] => Kannada [kar] => Karen languages [kas] => Kashmiri [kau] => Kanuri [kaw] => Kawi [kaz] => Kazakh [kbd] => Kabardian [kha] => Khasi [khi] => Khoisan languages [khm] => Central Khmer [kho] => Khotanese [kik] => Kikuyu [kin] => Kinyarwanda [kir] => Kirghiz [kmb] => Kimbundu [kok] => Konkani [kom] => Komi [kon] => Kongo [kor] => Korean [kos] => Kosraean [kpe] => Kpelle [krc] => Karachay-Balkar [krl] => Karelian [kro] => Kru languages [kru] => Kurukh [kua] => Kuanyama [kum] => Kumyk [kur] => Kurdish [kut] => Kutenai [lad] => Ladino [lah] => Lahnda [lam] => Lamba [lao] => Lao [lat] => Latin [lav] => Latvian [lez] => Lezghian [lim] => Limburgan [lin] => Lingala [lit] => Lithuanian [lol] => Mongo [loz] => Lozi [ltz] => Luxembourgish [lua] => Luba-Lulua [lub] => Luba-Katanga [lug] => Ganda [lui] => Luiseno [lun] => Lunda [luo] => Luo [lus] => Lushai [mac] => Macedonian [mad] => Madurese [mag] => Magahi [mah] => Marshallese [mai] => Maithili [mak] => Makasar [mal] => Malayalam [man] => Mandingo [mao] => Maori [map] => Austronesian languages [mar] => Marathi [mas] => Masai [may] => Malay [mdf] => Moksha [mdr] => Mandar [men] => Mende [mga] => Middle Irish [mic] => Mi'kmaq [min] => Minangkabau [mkh] => Mon-Khmer languages [mlg] => Malagasy [mlt] => Maltese [mnc] => Manchu [mni] => Manipuri [mno] => Manobo languages [moh] => Mohawk [mon] => Mongolian [mos] => Mossi [mun] => Munda languages [mus] => Creek [mwl] => Mirandese [mwr] => Marwari [myn] => Mayan languages [myv] => Erzya [nah] => Nahuatl languages [nai] => North American Indian languages [nap] => Neapolitan [nau] => Nauru [nav] => Navajo [nbl] => South Ndebele [nde] => North Ndebele [ndo] => Ndonga [nds] => Low German [nep] => Nepali [new] => Nepal Bhasa [nia] => Nias [nic] => Niger-Kordofanian languages [niu] => Niuean [nno] => Norwegian (Nynorsk) [nob] => Norwegian (Bokmål) [nog] => Nogai [non] => Old Norse [nor] => Norwegian [nqo] => N'Ko [nso] => Pedi [nub] => Nubian languages [nwc] => Classical Newari [nya] => Chichewa [nym] => Nyamwezi [nyn] => Nyankole [nyo] => Nyoro [nzi] => Nzima [oci] => Occitan [oji] => Ojibwa [ori] => Oriya [orm] => Oromo [osa] => Osage [oss] => Ossetian [ota] => Ottoman Turkish [oto] => Otomian languages [paa] => Papuan languages [pag] => Pangasinan [pal] => Pahlavi [pam] => Pampanga [pan] => Panjabi [pap] => Papiamento [pau] => Palauan [peo] => Old Persian [per] => Persian [phi] => Philippine languages [phn] => Phoenician [pli] => Pali [pol] => Polish [pon] => Pohnpeian [por] => Portuguese [pra] => Prakrit languages [pro] => Old Provençal [pus] => Pushto [que] => Quechua [raj] => Rajasthani [rap] => Rapanui [rar] => Rarotongan [roa] => Romance languages [roh] => Romansh [rom] => Romany [rum] => Romanian [run] => Rundi [rup] => Aromanian [rus] => Russian [sad] => Sandawe [sag] => Sango [sah] => Yakut [sai] => South American Indian languages [sal] => Salishan languages [sam] => Samaritan Aramaic [san] => Sanskrit [sas] => Sasak [sat] => Santali [scn] => Sicilian [sco] => Scots [sel] => Selkup [sem] => Semitic languages [sga] => Old Irish [sgn] => Sign languages [shn] => Shan [sid] => Sidamo [sin] => Sinhala [sio] => Siouan languages [sit] => Sino-Tibetan languages [sla] => Slavic languages [slo] => Slovak [slv] => Slovenian [sma] => Southern Sami [sme] => Northern Sami [smi] => Sami languages [smj] => Lule Sami [smn] => Inari Sami [smo] => Samoan [sms] => Skolt Sami [sna] => Shona [snd] => Sindhi [snk] => Soninke [sog] => Sogdian [som] => Somali [son] => Songhai languages [sot] => Southern Sotho [spa] => Spanish [srd] => Sardinian [srn] => Sranan Tongo [srp] => Serbian [srr] => Serer [ssa] => Nilo-Saharan languages [ssw] => Swati [suk] => Sukuma [sun] => Sundanese [sus] => Susu [sux] => Sumerian [swa] => Swahili [swe] => Swedish [syc] => Classical Syriac [syr] => Syriac [tah] => Tahitian [tai] => Tai languages [tam] => Tamil [tat] => Tatar [tel] => Telugu [tem] => Timne [ter] => Tereno [tet] => Tetum [tgk] => Tajik [tgl] => Tagalog [tha] => Thai [tib] => Tibetan [tig] => Tigre [tir] => Tigrinya [tiv] => Tiv [tkl] => Tokelau [tlh] => Klingon [tli] => Tlingit [tmh] => Tamashek [tog] => Tonga (Nyasa) [ton] => Tonga (Tonga Islands) [tpi] => Tok Pisin [tsi] => Tsimshian [tsn] => Tswana [tso] => Tsonga [tuk] => Turkmen [tum] => Tumbuka [tup] => Tupi languages [tur] => Turkish [tut] => Altaic languages [tvl] => Tuvalu [twi] => Twi [tyv] => Tuvinian [udm] => Udmurt [uga] => Ugaritic [uig] => Uighur [ukr] => Ukrainian [umb] => Umbundu [und] => Undetermined [urd] => Urdu [uzb] => Uzbek [vai] => Vai [ven] => Venda [vie] => Vietnamese [vol] => Volapük [vot] => Votic [wak] => Wakashan languages [wal] => Wolaitta [war] => Waray [was] => Washo [wel] => Welsh [wen] => Sorbian languages [wln] => Walloon [wol] => Wolof [xal] => Kalmyk [xho] => Xhosa [yao] => Yao [yap] => Yapese [yid] => Yiddish [yor] => Yoruba [ypk] => Yupik languages [zap] => Zapotec [zbl] => Blissymbols [zen] => Zenaga [zgh] => Standard Moroccan Berber [zha] => Zhuang [znd] => Zande languages [zul] => Zulu [zun] => Zuni [zza] => Zaza [???] => Unknown [mis] => Unknown [mul] => Multiple languages [zxx] => No linguistic content ) [iso639_2_codes_mtime] => 1521454500 ) [flag:protected] => 2 [iteratorClass:protected] => ArrayIterator [protectedProperties:protected] => Array ( [0] => storage [1] => flag [2] => iteratorClass [3] => protectedProperties ) )
Key Value
REDIRECT_SCRIPT_URL /Record/opac-EUL01-000170347/Details
REDIRECT_SCRIPT_URI https://opac.elte.hu/Record/opac-EUL01-000170347/Details
REDIRECT_VUFIND_ENV development
REDIRECT_VUFIND_LOCAL_DIR /opt/vufind-instances/eles/local
REDIRECT_VUFIND_CACHE_DIR /opt/vufind-instances/eles/local/cache
REDIRECT_VUFIND_APPLICATION_PATH /opt/vufind-instances/eles
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI opac.elte.hu
REDIRECT_STATUS 200
SCRIPT_URL /Record/opac-EUL01-000170347/Details
SCRIPT_URI https://opac.elte.hu/Record/opac-EUL01-000170347/Details
VUFIND_ENV development
VUFIND_LOCAL_DIR /opt/vufind-instances/eles/local
VUFIND_CACHE_DIR /opt/vufind-instances/eles/local/cache
VUFIND_APPLICATION_PATH /opt/vufind-instances/eles
HTTPS on
SSL_TLS_SNI opac.elte.hu
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST opac.elte.hu
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.38 (Debian) Server at opac.elte.hu Port 443</address>
SERVER_SOFTWARE Apache/2.4.38 (Debian)
SERVER_NAME opac.elte.hu
SERVER_ADDR 157.181.151.97
SERVER_PORT 443
REMOTE_ADDR 35.175.236.44
DOCUMENT_ROOT /opt/vufind-instances/eles/public
REQUEST_SCHEME https
CONTEXT_PREFIX /
CONTEXT_DOCUMENT_ROOT /opt/vufind-instances/eles/public/
SERVER_ADMIN eltefind@lib.elte.hu
SCRIPT_FILENAME /opt/vufind-instances/eles/public/index.php
REMOTE_PORT 48730
REDIRECT_URL /Record/opac-EUL01-000170347/Details
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /Record/opac-EUL01-000170347/Details
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711673199,2534
REQUEST_TIME 1711673199
empty
0. Whoops\Handler\PrettyPageHandler