/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php
}
}
}
}
/**
* Called after an action is dispatched by Zend_Controller_Dispatcher.
*
* @param Zend_Controller_Request_Abstract $request
* @return void
*/
public function postDispatch(Zend_Controller_Request_Abstract $request)
{
foreach ($this->_plugins as $plugin) {
try {
$plugin->postDispatch($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
}
}
}
/**
* Called before Zend_Controller_Front exits its dispatch loop.
*
* @param Zend_Controller_Request_Abstract $request
* @return void
*/
public function dispatchLoopShutdown()
{
foreach ($this->_plugins as $plugin) {
try {
$plugin->dispatchLoopShutdown();
} catch (Exception $e) {
Arguments
"""
Class buxus:toolbar does not exist#0 /home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php(729): ReflectionClass->__construct()\n
#1 /home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php(608): Illuminate\Container\Container->build()\n
#2 /home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php(575): Illuminate\Container\Container->resolve()\n
#3 /home/slovart/live/releases/20240807140900/vendor/buxus/core/src/buxus_init.php(29): Illuminate\Container\Container->make()\n
#4 /home/slovart/live/releases/20240807140900/buxus/application/layouts/main.phtml(51): app()\n
#5 /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/View.php(157): include('/home/slovart/l...')\n
#6 /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php(888): Zend_View->_run()\n
#7 /home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/src/Buxus/Zend/Layout.php(58): Zend_View_Abstract->render()\n
#8 /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php(143): Buxus\Zend\Layout->render()\n
#9 /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch()\n
#10 /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(969): Zend_Controller_Plugin_Broker->postDispatch()\n
#11 /home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/buxus/includes/generate_functions.php(151): Zend_Controller_Front->dispatch()\n
#12 /home/slovart/live/releases/20240807140900/vendor/buxus/core/src/handler/generate_page.php(47): GeneratePage()\n
#13 /home/slovart/live/releases/20240807140900/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php(86): include('/home/slovart/l...')\n
#14 /home/slovart/live/releases/20240807140900/public/buxus.php(10): Buxus\Router\BuxusRouter->dispatch()\n
#15 {main}
"""
/home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php
}
/**
* Instantiate a concrete instance of the given type.
*
* @param string $concrete
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function build($concrete)
{
// If the concrete type is actually a Closure, we will just execute it and
// hand back the results of the functions, which allows functions to be
// used as resolvers for more fine-tuned resolution of these objects.
if ($concrete instanceof Closure) {
return $concrete($this, $this->getLastParameterOverride());
}
$reflector = new ReflectionClass($concrete);
// If the type is not instantiable, the developer is attempting to resolve
// an abstract type such as an Interface of Abstract Class and there is
// no binding registered for the abstractions so we need to bail out.
if (! $reflector->isInstantiable()) {
return $this->notInstantiable($concrete);
}
$this->buildStack[] = $concrete;
$constructor = $reflector->getConstructor();
// If there are no constructors, that means there are no dependencies then
// we can just resolve the instances of the objects right away, without
// resolving any other types or dependencies out of these containers.
if (is_null($constructor)) {
array_pop($this->buildStack);
return new $concrete;
}
Arguments
"Class buxus:toolbar does not exist"
/home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php
}
/**
* Instantiate a concrete instance of the given type.
*
* @param string $concrete
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function build($concrete)
{
// If the concrete type is actually a Closure, we will just execute it and
// hand back the results of the functions, which allows functions to be
// used as resolvers for more fine-tuned resolution of these objects.
if ($concrete instanceof Closure) {
return $concrete($this, $this->getLastParameterOverride());
}
$reflector = new ReflectionClass($concrete);
// If the type is not instantiable, the developer is attempting to resolve
// an abstract type such as an Interface of Abstract Class and there is
// no binding registered for the abstractions so we need to bail out.
if (! $reflector->isInstantiable()) {
return $this->notInstantiable($concrete);
}
$this->buildStack[] = $concrete;
$constructor = $reflector->getConstructor();
// If there are no constructors, that means there are no dependencies then
// we can just resolve the instances of the objects right away, without
// resolving any other types or dependencies out of these containers.
if (is_null($constructor)) {
array_pop($this->buildStack);
return new $concrete;
}
/home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php
$needsContextualBuild = ! empty($parameters) || ! is_null(
$this->getContextualConcrete($abstract)
);
// If an instance of the type is currently being managed as a singleton we'll
// just return an existing instance instead of instantiating new instances
// so the developer can keep using the same objects instance every time.
if (isset($this->instances[$abstract]) && ! $needsContextualBuild) {
return $this->instances[$abstract];
}
$this->with[] = $parameters;
$concrete = $this->getConcrete($abstract);
// We're ready to instantiate an instance of the concrete type registered for
// the binding. This will instantiate the types, as well as resolve any of
// its "nested" dependencies recursively until all have gotten resolved.
if ($this->isBuildable($concrete, $abstract)) {
$object = $this->build($concrete);
} else {
$object = $this->make($concrete);
}
// If we defined any extenders for this type, we'll need to spin through them
// and apply them to the object being built. This allows for the extension
// of services, such as changing configuration or decorating the object.
foreach ($this->getExtenders($abstract) as $extender) {
$object = $extender($object, $this);
}
// If the requested type is registered as a singleton we'll want to cache off
// the instances in "memory" so we can return it later without creating an
// entirely new instance of an object on each subsequent request for it.
if ($this->isShared($abstract) && ! $needsContextualBuild) {
$this->instances[$abstract] = $object;
}
$this->fireResolvingCallbacks($abstract, $object);
/home/slovart/live/releases/20240807140900/vendor/illuminate/container/Container.php
* Resolve the given type with the given parameter overrides.
*
* @param string $abstract
* @param array $parameters
* @return mixed
*/
public function makeWith($abstract, array $parameters)
{
return $this->resolve($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
* @param string $abstract
* @return mixed
*/
public function make($abstract)
{
return $this->resolve($abstract);
}
/**
* Resolve the given type from the container.
*
* @param string $abstract
* @param array $parameters
* @return mixed
*/
protected function resolve($abstract, $parameters = [])
{
$abstract = $this->getAlias($abstract);
$needsContextualBuild = ! empty($parameters) || ! is_null(
$this->getContextualConcrete($abstract)
);
// If an instance of the type is currently being managed as a singleton we'll
// just return an existing instance instead of instantiating new instances
// so the developer can keep using the same objects instance every time.
/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/buxus_init.php
if (!defined('BUXUS_SERIES_VERSION')) {
define ('BUXUS_SERIES_VERSION', '6');
}
if (!function_exists('app')) {
/**
* Get the available container instance.
*
* @param string $abstract
* @param array $parameters
* @return mixed|\Illuminate\Foundation\Application
*/
function app($abstract = null, array $parameters = [])
{
if (is_null($abstract)) {
return Container::getInstance();
}
return empty($parameters)
? Container::getInstance()->make($abstract)
: Container::getInstance()->makeWith($abstract, $parameters);
}
}
if (! function_exists('env')) {
/**
* Gets the value of an environment variable. Supports boolean, empty and null.
*
* @param string $key
* @param mixed $default
* @return mixed
*/
function env($key, $default = null)
{
$value = getenv($key);
if ($value === false) {
return value($default);
}
/home/slovart/live/releases/20240807140900/buxus/application/layouts/main.phtml
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '971463606349970');
fbq('track', 'PageView');
<?php if (GetProperty('page_id') == \Buxus\Util\PageIds::getVyhladavanie()): ?>
fbq('track', 'Search', {
search_string: '<?php echo $this->escape($this->term)?>',
});
<?php endif; ?>
</script>
<noscript>
<img height="1" width="1" src="https://www.facebook.com/tr?id=971463606349970&ev=PageView&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
<?= GoogleAnalytics::getInstance()->getCode(); ?>
<?php endif; ?>
<!--PAGE_ID: <?php echo \BuxusMVC::pageId() ?>-->
</head>
<body>
<?= app('buxus:toolbar')->render() ?>
<div id="activity">
<span><img src="<?= \Buxus\Util\Url::asset('/images/design/activity.gif') ?>" alt="Aktivita"></span>
</div>
<?php if (H::isDev()): ?>
<div style="font-size:10px;text-align: center;color:#FFF;background:#F00">DEV</div>
<?php endif; ?>
<?php if (H::isTest()): ?>
<div style="font-size:12px;text-align: center;color:#FFF;background:orangered">
<?php if (PH::isCz()): ?>TEST VERZE CZ STRÁNKY<?php else:?>TEST VERZIA SK STRÁNKY<?php endif;?>
</div>
<?php endif; ?>
<?php if (PH::isInventura()): ?>
<div style="padding:3px;font-size:12px;text-align: center;color:#B50014;background:#F8F558">
<?php echo config('slovart.inventura_text_long')?>
</div>
<?php endif; ?>
<?php if (strtotime(date('Y-m-d')) < strtotime('2025-01-07')): ?>
<div style="padding:3px;font-size:12px;text-align: center;color:#B50014;background:#F8F558">
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/View.php
* Should the stream wrapper be used if short_open_tag is off?
*
* @return bool
*/
public function useStreamWrapper()
{
return $this->_useStreamWrapper;
}
/**
* Includes the view script in a scope with only public $this variables.
*
* @param string The view script to execute.
*/
protected function _run()
{
if ($this->_useViewStream && $this->useStreamWrapper()) {
include 'zend.view://' . func_get_arg(0);
} else {
include func_get_arg(0);
}
}
}
Arguments
"/home/slovart/live/releases/20240807140900/buxus/application/layouts/main.phtml"
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php
if ('_' != substr($key, 0, 1)) {
unset($this->$key);
}
}
}
/**
* Processes a view script and returns the output.
*
* @param string $name The script name to process.
* @return string The script output.
*/
public function render($name)
{
// find the script file name using the parent private method
$this->_file = $this->_script($name);
unset($name); // remove $name from local scope
ob_start();
$this->_run($this->_file);
return $this->_filter(ob_get_clean()); // filter output
}
/**
* Escapes a value for output in a view script.
*
* If escaping mechanism is one of htmlspecialchars or htmlentities, uses
* {@link $_encoding} setting.
*
* @param mixed $var The output to escape.
* @return mixed The escaped value.
*/
public function escape($var)
{
if (in_array($this->_escape, array('htmlspecialchars', 'htmlentities'))) {
return call_user_func($this->_escape, $var, ENT_COMPAT, $this->_encoding);
}
if (1 == func_num_args()) {
/home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/src/Buxus/Zend/Layout.php
foreach ($theme_paths as $theme_path) {
$abs_file = $theme_path . '/layouts/' . $name;
if (file_exists($abs_file)) {
$view_script_path = $theme_path . '/layouts/';
break;
}
}
}
if (!is_null($view_script_path)) {
if (method_exists($view, 'addScriptPath')) {
$view->addScriptPath($view_script_path);
} else {
$view->setScriptPath($view_script_path);
}
} elseif (null !== ($path = $this->getViewBasePath())) {
$view->addBasePath($path, $this->_viewBasePrefix);
}
return $view->render($name);
}
}
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php
return;
}
$response = $this->getResponse();
$content = $response->getBody(true);
$contentKey = $layout->getContentKey();
if (isset($content['default'])) {
$content[$contentKey] = $content['default'];
}
if ('default' != $contentKey) {
unset($content['default']);
}
$layout->assign($content);
$fullContent = null;
$obStartLevel = ob_get_level();
try {
$fullContent = $layout->render();
$response->setBody($fullContent);
} catch (Exception $e) {
while (ob_get_level() > $obStartLevel) {
$fullContent .= ob_get_clean();
}
$request->setParam('layoutFullContent', $fullContent);
$request->setParam('layoutContent', $layout->content);
$response->setBody(null);
throw $e;
}
}
}
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php
$this->getResponse()->setException($e);
// skip rendering of normal dispatch give the error handler a try
$this->getRequest()->setDispatched(false);
}
}
}
}
/**
* Called after an action is dispatched by Zend_Controller_Dispatcher.
*
* @param Zend_Controller_Request_Abstract $request
* @return void
*/
public function postDispatch(Zend_Controller_Request_Abstract $request)
{
foreach ($this->_plugins as $plugin) {
try {
$plugin->postDispatch($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
}
}
}
}
/**
* Called before Zend_Controller_Front exits its dispatch loop.
*
* @param Zend_Controller_Request_Abstract $request
* @return void
*/
public function dispatchLoopShutdown()
{
foreach ($this->_plugins as $plugin) {
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php
/**
* Dispatch request
*/
try {
$returnedResponse = $dispatcher->dispatch($this->_request, $this->_response);
if (is_object($returnedResponse)) {
return $returnedResponse;
}
} catch (Exception $e) {
if ($this->throwExceptions()) {
throw $e;
}
$this->_response->setException($e);
}
/**
* Notify plugins of dispatch completion
*/
$this->_plugins->postDispatch($this->_request);
} while (!$this->_request->isDispatched());
} catch (Exception $e) {
if ($this->throwExceptions()) {
throw $e;
}
$this->_response->setException($e);
}
/**
* Notify plugins of dispatch loop completion
*/
try {
$this->_plugins->dispatchLoopShutdown();
} catch (Exception $e) {
if ($this->throwExceptions()) {
throw $e;
}
$this->_response->setException($e);
/home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/buxus/includes/generate_functions.php
// Set router
$front->setRouter(new ControllerRouter());
// Set controller and action
$request = new Zend_Controller_Request_Http();
$request->setControllerName($controller_name);
$request->setActionName($controller_action);
\Buxus\Event\BuxusEvent::fire(new \Buxus\Event\MvcStartedEvent());
// add registered view helpers
//$view = \Zend_Layout::getMvcInstance()->getView();
/* $module_view_helper_paths = \Buxus\Module\BuxusModule::helperPaths();
foreach ($module_view_helper_paths as $helper_path) {
$view->addHelperPath($helper_path['path'], $helper_path['prefix']);
}*/
$front->dispatch($request);
}
}
function CreateUrlForPageName ($page_name, $url_parameter="", $quotes = "'")
{
global $as_static;
$page_dsc = BuxusDB::get()->fetchAll("SELECT tblPages.page_id FROM tblPages WHERE tblPages.page_name = :page_name", array(':page_name' => $page_name));
$i = 0;
foreach($page_dsc as $page_row)
{
$page_id = $page_row["page_id"];
$i++;
}
if ($i>1)
//echo "What now? There are more than one unique page with given name.";
if ($i == 0) { $page_id = 0; }
if ($as_static != '')
return ($quotes.GetSystemOption("C_static_url_prefix")."page_$page_id.htm".$url_parameter.$quotes);
else
return ($quotes.config('buxus_core.base_url')."generate_page.php?page_id=$page_id".$url_parameter.$quotes);
/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/handler/generate_page.php
$page_name = (isset($_GET['page_name']) ? $_GET['page_name'] : '');
if (!empty($page_name)) {
//funckia skonci, ak nenajde, alebo najde viac
$page_id = GetPageIdByPageName($page_name);
} else {
if (!showCustomError('404')) {
header('HTTP/1.0 404 Not Found');
echo 'Wrong page ID specified.';
}
exit;
}
} else {
$wrong_page_id = C_True;
}
$_REQUEST['page_id'] = $page_id;
$_GET['page_id'] = $page_id;
GeneratePage($page_id);
\Buxus\Event\BuxusEvent::fire(new \Buxus\Event\FrontendRequestFinishedEvent());
exit;
/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php
echo '<html><head><title>maintenance</title></head><body>This BUXUS application is undergoing maintenance. Please try again later</body></html>';
} else {
include $template_path;
}
}
public function dispatch($request_uri) {
if ($this->app->isDownForMaintenance()) {
$this->display503();
exit;
}
$script = $this->getScript($request_uri);
foreach ($this->auto_scripts as $auto_script) {
include($auto_script);
}
if (!empty($script)) {
include($script);
}
if ($this->default_script != $script) {
include($this->default_script);
}
header('HTTP/1.0 404 Not Found');
echo '404 Not Found';
exit;
}
}
Arguments
"/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/handler/generate_page.php"
/home/slovart/live/releases/20240807140900/public/buxus.php
<?php
define('BASE_BUXUS_DIR', realpath(__DIR__ . '/../'));
require_once __DIR__ . '/../vendor/autoload.php';
require_once CORE_BUXUS_DIR . '/src/buxus_bootstrap.php';
require_once '../vendor/buxus/legacy-base/buxus/includes/database.php';
$router = app('buxus-router');
$router->dispatch($_SERVER['REQUEST_URI']);