• Главная
There was a problem processing the request. (500 Internal Server Error)

There was a problem processing the request.

Exception

Joomla\CMS\MVC\Controller\Exception\ ResourceNotFound

  1.     public static function raiseError($code$text
  2.     {
  3.         switch($code)
  4.         {
  5.             case 404:
  6.                 throw new JException\ResourceNotFound($text,  $code);
  7.             break;
  8.             default:
  9.                 throw new Exception($text,  $code);
  10.             break;
  11.         }
  1.     function error404() {
  2.         if(!defined('MVC_FRAMEWORK_ADMIN') && false === $this->disable404) {
  3.             cmsFramework::raiseError404s2Messages::errorGeneric() );
  4.             return false;
  5.         }
  6.         else {
  1.         $disallowedAction $this->action[0] == '_' || in_array($this->action,$this->disallowed_actions);
  2.         if(!$this->controller || (( (!isset($_POST) && !isset($this->params['form'])) || (empty($_POST) && empty($this->params['form']))) && $disallowedAction && !S2Dispatcher::isAjax()))
  3.         {
  4.             return $this->error404();
  5.         }
  6.         elseif(substr($this->action,0,1)=='__'// Private methods
  7.         {
  8.             return $this->error404();
  9.         }
  1.         if (isset($dispatchParams[$key]) && !$dispatchParams[$key]) {
  2.             unset($dispatchParams[$key]);
  3.         }
  4.     }
  5.     
  6.     echo $Dispatcher->dispatch($dispatchParams);
  7.     
  8.     unset($menu,$Dispatcher);
  9. }
  10. function JReviewsRouteActionsMap($action)
  1. defined('MVC_FRAMEWORK') or die;
  2. $this->app['router']->any('{any}', function () {
  3.     require_once __DIR__.'/web-legacy-'._CMS_NAME.'.php';
  4.     return JReviewsLegacyRouting($this->app['request']->server->get('REQUEST_URI'));
  5. })->where('any''(.*)');
  1.     {
  2.         $callable $this->action['uses'];
  3.         if ($this->isSerializedClosure()) {
  4.             $callable \unserialize($this->action['uses'])->getClosure();
  5.         }
  6.         return $callable(...\array_values($this->resolveMethodDependencies($this->parametersWithoutNulls(), new \ReflectionFunction($callable))));
  7.     }
  8.     /**
  9.      * Determine if the route action is a serialized Closure.
  10.      *
  11.      * @return bool
  1.         $this->container $this->container ?: new \FWD\Illuminate\Container\Container();
  2.         try {
  3.             if ($this->isControllerAction()) {
  4.                 return $this->runController();
  5.             }
  6.             return $this->runCallable();
  7.         } catch (\FWD\Illuminate\Http\Exceptions\HttpResponseException $e) {
  8.             return $e->getResponse();
  9.         }
  10.     }
  11.     /**
  1.     protected function runRouteWithinStack(\FWD\Illuminate\Routing\Route $route\FWD\Illuminate\Http\Request $request)
  2.     {
  3.         $shouldSkipMiddleware $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === \true;
  4.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  5.         return (new \FWD\Illuminate\Routing\Pipeline($this->container))->send($request)->through($middleware)->then(function ($request) use($route) {
  6.             return $this->prepareResponse($request$route->run());
  7.         });
  8.     }
  9.     /**
  10.      * Gather the middleware for the given route with resolved class names.
  11.      *
  1.      */
  2.     protected function prepareDestination(\Closure $destination)
  3.     {
  4.         return function ($passable) use($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (\Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  1.      * @return mixed
  2.      */
  3.     public function then(\Closure $destination)
  4.     {
  5.         $pipeline \array_reduce(\array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination));
  6.         return $pipeline($this->passable);
  7.     }
  8.     /**
  9.      * Run the pipeline and return the result.
  10.      *
  11.      * @return mixed
  1.     {
  2.         $shouldSkipMiddleware $this->container->bound('middleware.disable') && $this->container->make('middleware.disable') === \true;
  3.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  4.         return (new \FWD\Illuminate\Routing\Pipeline($this->container))->send($request)->through($middleware)->then(function ($request) use($route) {
  5.             return $this->prepareResponse($request$route->run());
  6.         });
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  10.      *
  11.      * @param  \Illuminate\Routing\Route  $route
  1.     {
  2.         $request->setRouteResolver(function () use($route) {
  3.             return $route;
  4.         });
  5.         $this->events->dispatch(new \FWD\Illuminate\Routing\Events\RouteMatched($route$request));
  6.         return $this->prepareResponse($request$this->runRouteWithinStack($route$request));
  7.     }
  8.     /**
  9.      * Run the given route within a Stack "onion" instance.
  10.      *
  11.      * @param  \Illuminate\Routing\Route  $route
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(\FWD\Illuminate\Http\Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  11.      * @param  \Illuminate\Http\Request  $request
  1.      * @return \Symfony\Component\HttpFoundation\Response
  2.      */
  3.     public function dispatch(\FWD\Illuminate\Http\Request $request)
  4.     {
  5.         $this->currentRequest $request;
  6.         return $this->dispatchToRoute($request);
  7.     }
  8.     /**
  9.      * Dispatch the request to a route and return the response.
  10.      *
  11.      * @param  \Illuminate\Http\Request  $request
  1.      */
  2.     protected function dispatchToRouter()
  3.     {
  4.         return function ($request) {
  5.             $this->app->instance('request'$request);
  6.             return $this->router->dispatch($request);
  7.         };
  8.     }
  9.     /**
  10.      * Call the terminate method on any terminable middleware.
  11.      *
  1.      */
  2.     protected function prepareDestination(\Closure $destination)
  3.     {
  4.         return function ($passable) use($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (\Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  1.      */
  2.     public function handle($request\Closure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (!$this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($request);
  11.             $this->cors->varyHeader($response'Access-Control-Request-Method');
  1.                         // If the pipe is already an object we'll just make a callable and pass it to
  2.                         // the pipe as-is. There is no need to do any extra parsing and formatting
  3.                         // since the object we're given was already a fully instantiated object.
  4.                         $parameters = [$passable$stack];
  5.                     }
  6.                     $carry \method_exists($pipe$this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (\Throwable $e) {
  9.                     return $this->handleException($passable$e);
  10.                 }
  11.             };
  1.      * @return mixed
  2.      */
  3.     public function then(\Closure $destination)
  4.     {
  5.         $pipeline \array_reduce(\array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination));
  6.         return $pipeline($this->passable);
  7.     }
  8.     /**
  9.      * Run the pipeline and return the result.
  10.      *
  11.      * @return mixed
  1.     protected function sendRequestThroughRouter($request)
  2.     {
  3.         $this->app->instance('request'$request);
  4.         \FWD\Illuminate\Support\Facades\Facade::clearResolvedInstance('request');
  5.         $this->bootstrap();
  6.         return (new \FWD\Illuminate\Routing\Pipeline($this->app))->send($request)->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)->then($this->dispatchToRouter());
  7.     }
  8.     /**
  9.      * Bootstrap the application for HTTP requests.
  10.      *
  11.      * @return void
  1.      */
  2.     public function handle($request)
  3.     {
  4.         try {
  5.             $request->enableHttpMethodParameterOverride();
  6.             $response $this->sendRequestThroughRouter($request);
  7.         } catch (\Throwable $e) {
  8.             $this->reportException($e);
  9.             $response $this->renderException($request$e);
  10.         }
  11.         $this->app['events']->dispatch(new \FWD\Illuminate\Foundation\Http\Events\RequestHandled($request$response));
  1. function s2_dispatch()
  2. {
  3.     $app fwd_app();
  4.     $request fwd_request();
  5.     $kernel $app->get('kernel');
  6.     $response $kernel->handle($request);
  7.     if ($app->has('response_headers')) {
  8.         $response->withHeaders($app->make('response_headers'));
  9.     }
  10.     if ($response->getStatusCode() === 204) {
  11.         $response->send();
  1. defined('_JEXEC') or die;
  2. require_once JPATH_SITE.'/components/com_jreviews/jreviews/framework.php';
  3. s2framework\s2_dispatch();
require('/home/legalst3/public_html/components/com_jreviews/jreviews/cms_compat/joomla/bootloader.php') in /home/legalst3/public_html/components/com_jreviews/joomla.php (line 17)
  1.             if (! static::throw_s2framework_error()) {
  2.                 return;
  3.             }
  4.         }
  5.         require __DIR__.DS.'jreviews'.DS.'cms_compat'.DS.'joomla'.DS.'bootloader.php';
  6.     }
  7.     public static function s2framework_is_not_active()
  8.     {
  9.         return ! function_exists('s2framework\s2_boot');
  1. require_once __DIR__."/{$cmsName}.php";
  2. $jreviews = new JReviews\JReviews();
  3. $jreviews(__FILE__);
require_once('/home/legalst3/public_html/components/com_jreviews/jreviews.php') in /home/legalst3/public_html/libraries/src/Dispatcher/LegacyComponentDispatcher.php (line 69)
  1.         // Load common and local language files.
  2.         $lang->load($this->app->scopeJPATH_BASE) || $lang->load($this->app->scopeJPATH_COMPONENT);
  3.         // Execute the component
  4.         $loader = static function ($path) {
  5.             require_once $path;
  6.         };
  7.         $loader($path);
  8.     }
  9. }
LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() in /home/legalst3/public_html/libraries/src/Dispatcher/LegacyComponentDispatcher.php (line 71)
  1.         // Execute the component
  2.         $loader = static function ($path) {
  3.             require_once $path;
  4.         };
  5.         $loader($path);
  6.     }
  7. }
LegacyComponentDispatcher->dispatch() in /home/legalst3/public_html/libraries/src/Component/ComponentHelper.php (line 389)
  1.         {
  2.             throw new MissingComponentException(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
  3.         }
  4.         ob_start();
  5.         $app->bootComponent($option)->getDispatcher($app)->dispatch();
  6.         $contents ob_get_clean();
  7.         // Revert the scope
  8.         $app->scope $scope;
  1.         else
  2.         {
  3.             $document->setGenerator('Joomla! - Open Source Content Management');
  4.         }
  5.         $contents ComponentHelper::renderComponent($component);
  6.         $document->setBuffer($contents'component');
  7.         // Trigger the onAfterDispatch event.
  8.         PluginHelper::importPlugin('system');
  9.         $this->triggerEvent('onAfterDispatch');
  1.          * ex: due of the sef urls
  2.          */
  3.         $this->checkUserRequireReset('com_users''profile''edit''com_users/profile.save,com_users/profile.apply,com_users/user.logout');
  4.         // Dispatch the application
  5.         $this->dispatch();
  6.         // Mark afterDispatch in the profiler.
  7.         JDEBUG $this->profiler->mark('afterDispatch') : null;
  8.     }
  1.             $this->sanityCheckSystemVariables();
  2.             $this->setupLogging();
  3.             $this->createExtensionNamespaceMap();
  4.             // Perform application routines.
  5.             $this->doExecute();
  6.             // If we have an application document object, render it.
  7.             if ($this->document instanceof \Joomla\CMS\Document\Document)
  8.             {
  9.                 // Render the application output.
CMSApplication->execute() in /home/legalst3/public_html/includes/app.php (line 63)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/legalst3/public_html/includes/app.php') in /home/legalst3/public_html/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

ResourceNotFound
Joomla\CMS\MVC\Controller\Exception\ResourceNotFound:
There was a problem processing the request.

  at /home/legalst3/public_html/components/com_s2framework/s2framework/libs/cms_compat/joomla/framework_joomla4.php:1370
  at cmsFramework::raiseError()
     (/home/legalst3/public_html/components/com_s2framework/s2framework/dispatcher.php:443)
  at S2Dispatcher->error404()
     (/home/legalst3/public_html/components/com_s2framework/s2framework/dispatcher.php:241)
  at S2Dispatcher->dispatch()
     (/home/legalst3/public_html/components/com_jreviews/routes/web-legacy-joomla.php:137)
  at JReviewsLegacyRouting()
     (/home/legalst3/public_html/components/com_jreviews/routes/web.php:7)
  at FWD\Illuminate\Support\ServiceProvider->{closure}()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Route.php:206)
  at FWD\Illuminate\Routing\Route->runCallable()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Route.php:181)
  at FWD\Illuminate\Routing\Route->run()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Router.php:607)
  at FWD\Illuminate\Routing\Router->FWD\Illuminate\Routing\{closure}()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:111)
  at FWD\Illuminate\Pipeline\Pipeline->FWD\Illuminate\Pipeline\{closure}()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:88)
  at FWD\Illuminate\Pipeline\Pipeline->then()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Router.php:608)
  at FWD\Illuminate\Routing\Router->runRouteWithinStack()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Router.php:593)
  at FWD\Illuminate\Routing\Router->runRoute()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Router.php:565)
  at FWD\Illuminate\Routing\Router->dispatchToRoute()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Routing/Router.php:555)
  at FWD\Illuminate\Routing\Router->dispatch()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:124)
  at FWD\Illuminate\Foundation\Http\Kernel->FWD\Illuminate\Foundation\Http\{closure}()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:111)
  at FWD\Illuminate\Pipeline\Pipeline->FWD\Illuminate\Pipeline\{closure}()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/fruitcake/laravel-cors/src/HandleCors.php:34)
  at FWD\Fruitcake\Cors\HandleCors->handle()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:145)
  at FWD\Illuminate\Pipeline\Pipeline->FWD\Illuminate\Pipeline\{closure}()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:88)
  at FWD\Illuminate\Pipeline\Pipeline->then()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:102)
  at FWD\Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/legalst3/public_html/components/com_s2framework/build/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:83)
  at FWD\Illuminate\Foundation\Http\Kernel->handle()
     (/home/legalst3/public_html/components/com_s2framework/build/bootstrap/joomla.php:73)
  at s2framework\s2_dispatch()
     (/home/legalst3/public_html/components/com_jreviews/jreviews/cms_compat/joomla/bootloader.php:13)
  at require('/home/legalst3/public_html/components/com_jreviews/jreviews/cms_compat/joomla/bootloader.php')
     (/home/legalst3/public_html/components/com_jreviews/joomla.php:17)
  at JReviews\JReviews->__invoke()
     (/home/legalst3/public_html/components/com_jreviews/jreviews.php:25)
  at require_once('/home/legalst3/public_html/components/com_jreviews/jreviews.php')
     (/home/legalst3/public_html/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69)
  at Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()
     (/home/legalst3/public_html/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71)
  at Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
     (/home/legalst3/public_html/libraries/src/Component/ComponentHelper.php:389)
  at Joomla\CMS\Component\ComponentHelper::renderComponent()
     (/home/legalst3/public_html/libraries/src/Application/SiteApplication.php:204)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/home/legalst3/public_html/libraries/src/Application/SiteApplication.php:243)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/legalst3/public_html/libraries/src/Application/CMSApplication.php:278)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/legalst3/public_html/includes/app.php:63)
  at require_once('/home/legalst3/public_html/includes/app.php')
     (/home/legalst3/public_html/index.php:32)                

© 2022 LegalStavki.com - Где делать легальные ставки на спорт в России.

Использование любых материалов, размещённых на сайте, разрешается при условии ссылки на наш сайт.

18+ LegalStavki.com не занимается организацией и проведением азартных игр. Вся представленная на сайте информация носит ознакомительный характер.