Warning: include(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/composer/../../../libraries/src/Application/CMSApplication.php): Failed to open stream: No such file or directory in /mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(): Failed opening '/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/composer/../../../libraries/src/Application/CMSApplication.php' for inclusion (include_path='.:/opt/RZphp84/includes') in /mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/composer/ClassLoader.php on line 576
/** * Joomla! Site Application class * * @since 3.2 */final class SiteApplication extends CMSApplication{ use CacheControllerFactoryAwareTrait; use MultiFactorAuthenticationHandler; /** * * @param string $file * @return void */ self::$includeFile = \Closure::bind(static function($file) { include $file; }, null, null); }} */ public function loadClass($class) { if ($file = $this->findFile($class)) { $includeFile = self::$includeFile; $includeFile($file); return true; } return null; * * @since 3.4 */ public function loadClass($class) { if ($result = $this->loader->loadClass($class)) { \JLoader::applyAliasFor($class); } return $result; } $container->alias(SiteApplication::class, 'JApplicationSite') ->share( 'JApplicationSite', function (Container $container) { $app = new SiteApplication($container->get(CMSInput::class), $container->get('config'), null, $container); $app->setDispatcher($container->get(DispatcherInterface::class)); $app->setLogger($container->get(LoggerInterface::class)); $app->setSession($container->get(SessionInterface::class)); $app->setUserFactory($container->get(UserFactoryInterface::class)); $app->setCacheControllerFactory($container->get(CacheControllerFactoryInterface::class)); { $callable = $this->factory; if ($this->isShared()) { if ($this->instance === null) { $this->instance = $callable($this->container); } return $this->instance; } } throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container.", $resourceName)); } return $this->resources[$key]->getInstance(); } /** * Check if specified resource exists. * ->alias(\Joomla\CMS\Session\Session::class, 'session.web.site') ->alias(\Joomla\Session\Session::class, 'session.web.site') ->alias(\Joomla\Session\SessionInterface::class, 'session.web.site');// Instantiate the application.$app = $container->get(\Joomla\CMS\Application\SiteApplication::class);// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application. // ... die die();}// Run the application - All executable code should be triggered through this filerequire_once __DIR__ . '/includes/app.php';|
ClassNotFoundError
|
|---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "CMSApplication" from namespace "Joomla\CMS\Application".
Did you forget a "use" statement for another namespace?
at /mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/src/Application/SiteApplication.php:42
at include()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/composer/ClassLoader.php:576)
at {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/composer/ClassLoader.php:427)
at Composer\Autoload\ClassLoader->loadClass()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/src/Autoload/ClassLoader.php:59)
at Joomla\CMS\Autoload\ClassLoader->loadClass()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/src/Service/Provider/Application.php:103)
at Joomla\CMS\Service\Provider\Application->{closure:Joomla\CMS\Service\Provider\Application::register():102}()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/joomla/di/src/ContainerResource.php:162)
at Joomla\DI\ContainerResource->getInstance()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/libraries/vendor/joomla/di/src/Container.php:95)
at Joomla\DI\Container->get()
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/includes/app.php:52)
at require_once('/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/includes/app.php')
(/mnt/web418/e0/76/59669876/htdocs/joomla2025_neu/index.php:51)
|