H H=p1007 H H0m # IM;/ HD`p I2Ht$@HH;J HcFHNH H=p2001 H Hm# IM; H`p IHt$@HH;F HcFHNH H=p910- H0# IM;g H`p I~Ht$@HH;P HcFHNH H=p1007 H H0s # IM; HZap IHt$@HH;P HcFHNH H=s6607 H H0b # IM; Hap IHt$@HH;7 HcFH H=s908# IM;< Hbp IqHt$@HH;F HcFHNH H=p100- H0# IM; H]bp IHt$@HH;7 HcFH H=p300# IM; Hbp IHt$@HH;G HFHNH H=s1 - H8# IM;$ Hbp Iw
* * @since 4.0.0 */ public function __construct(?EvolvableLinkProviderInterface $linkProvider = null) { $this->linkProvider = $linkProvider ?: new GenericLinkProvider(); } /** * Get the link provider * } if (\array_key_exists('preloadManager', $options)) { $this->setPreloadManager($options['preloadManager']); } else { $this->setPreloadManager(new PreloadManager()); } if (\array_key_exists('webAssetManager', $options)) { $this->setWebAssetManager($options['webAssetManager']); } else { * * @since 1.7.0 */ public function __construct($options = []) { parent::__construct($options); // Set document type $this->_type = 'html'; // Set default mime type and document metadata (metadata syncs with mime type by default) * * @since 1.7.0 */ public function __construct($options = []) { parent::__construct($options); // Set document type $this->_type = 'error'; } if (!isset($attributes['factory'])) { $attributes['factory'] = $this; } /** @var Document $instance */ $instance = new $class($attributes); if (!\is_null($ntype)) { // Set the type to the Document type originally requested $instance->setType($ntype); } if (Factory::$language) { $attributes['language'] = Factory::getLanguage()->getTag(); $attributes['direction'] = Factory::getLanguage()->isRtl() ? 'rtl' : 'ltr'; } return Factory::getContainer()->get(FactoryInterface::class)->createDocument($this->type, $attributes); }} */ public function getDocument(): Document { // Load the document if not already if (!$this->document) { $this->document = $this->loadDocument(); } return $this->document; } // Default to the HTML renderer $renderer = AbstractRenderer::getRenderer('html'); } // Reset the document object in the factory, this gives us a clean slate and lets everything render properly Factory::$document = $renderer->getDocument(); Factory::getApplication()->loadDocument(Factory::$document); // Trigger the onAfterInitialiseDocument event. $app->getDispatcher()->dispatch( 'onAfterInitialiseDocument', * @since 3.10.0 */ public static function handleException(\Throwable $error) { static::logException($error); static::render($error); } /** * Render the error page based on an exception. * ); // Trigger the onError event. $this->dispatchEvent('onError', $event); ExceptionHandler::handleException($event->getError()); } // Trigger the onBeforeRespond event. $this->dispatchEvent( 'onBeforeRespond',// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application.$app->execute(); * define() is used rather than "const" to not error for PHP 5.2 and lower */define('_JEXEC', 1);// Run the application - All executable code should be triggered through this filerequire_once dirname(__FILE__) . '/includes/app.php'; * * @since 4.0.0 */ public function __construct(?EvolvableLinkProviderInterface $linkProvider = null) { $this->linkProvider = $linkProvider ?: new GenericLinkProvider(); } /** * Get the link provider * } if (\array_key_exists('preloadManager', $options)) { $this->setPreloadManager($options['preloadManager']); } else { $this->setPreloadManager(new PreloadManager()); } if (\array_key_exists('webAssetManager', $options)) { $this->setWebAssetManager($options['webAssetManager']); } else { * * @since 1.7.0 */ public function __construct($options = []) { parent::__construct($options); // Set document type $this->_type = 'html'; // Set default mime type and document metadata (metadata syncs with mime type by default) if (!isset($attributes['factory'])) { $attributes['factory'] = $this; } /** @var Document $instance */ $instance = new $class($attributes); if (!\is_null($ntype)) { // Set the type to the Document type originally requested $instance->setType($ntype); } 'language' => $lang->getTag(), 'direction' => $lang->isRtl() ? 'rtl' : 'ltr', 'mediaversion' => $version->getMediaVersion(), ]; return self::getContainer()->get(FactoryInterface::class)->createDocument($type, $attributes); } /** * Creates a new stream object with appropriate prefix * ), E_USER_DEPRECATED ); if (!self::$document) { self::$document = self::createDocument(); } return self::$document; } */
public static function getMenuItemids($catid = 0){
// client_id in #__menu must be 0 for frontend items
$document = Factory::getDocument();
$jinput = Factory::getApplication()->input;
$db = Factory::getDBO();
$user = Factory::getUser();
*/
public function parse(&$segments, &$vars){
require_once JPATH_SITE . '/components/com_jdownloads/src/Helper/RouteHelper.php';
$menuid = JDHelper::getMenuItemids();
$item = $this->router->menu->getItem($menuid['root']);
$total = count($segments);
for ($i = 0; $i < $total; $i++)
{ $vars = []; // Process the parsed variables based on custom defined rules foreach ($this->rules as $rule) { $rule->parse($segments, $vars); } return $vars; } if (\count($segments)) { // Handle component route $component = preg_replace('/[^A-Z0-9_\.-]/i', '', $uri->getVar('option')); $crouter = $this->getComponentRouter($component); $uri->setQuery(array_merge($uri->getQuery(true), $crouter->parse($segments))); } $route = implode('/', $segments); } if (!\array_key_exists('parse' . $stage, $this->rules)) { throw new \InvalidArgumentException(\sprintf('The %s stage is not registered. (%s)', $stage, __METHOD__)); } foreach ($this->rules['parse' . $stage] as $rule) { $rule($this, $uri); } } /** * Process the build uri query data based on custom defined rules { // Do the preprocess stage of the URL parse process $this->processParseRules($uri, self::PROCESS_BEFORE); // Do the main stage of the URL parse process $this->processParseRules($uri); // Do the postprocess stage of the URL parse process $this->processParseRules($uri, self::PROCESS_AFTER); // Check if all parts of the URL have been parsed. // Get the full request URI. $uri = clone Uri::getInstance(); // It is not possible to inject the SiteRouter as it requires a SiteApplication // and we would end in an infinite loop $result = $this->getContainer()->get(SiteRouter::class)->parse($uri, true); $active = $this->getMenu()->getActive(); if ( $active !== null // Mark afterInitialise in the profiler. JDEBUG ? $this->profiler->mark('afterInitialise') : null; // Route the application $this->route(); // Mark afterRoute in the profiler. JDEBUG ? $this->profiler->mark('afterRoute') : null; if (!$this->isHandlingMultiFactorAuthentication()) { $this->sanityCheckSystemVariables(); $this->setupLogging(); $this->createExtensionNamespaceMap(); // Perform application routines. $this->doExecute(); // If we have an application document object, render it. if ($this->document instanceof \Joomla\CMS\Document\Document) { // Render the application output. $this->render();// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application.$app->execute(); * define() is used rather than "const" to not error for PHP 5.2 and lower */define('_JEXEC', 1);// Run the application - All executable code should be triggered through this filerequire_once dirname(__FILE__) . '/includes/app.php';|
[2/2]
ClassNotFoundError
|
|---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "GenericLinkProvider" from namespace "Fig\Link".
Did you forget a "use" statement for another namespace?
at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/PreloadManager.php:44
at Joomla\CMS\Document\PreloadManager->__construct()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/Document.php:322)
at Joomla\CMS\Document\Document->__construct(array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/HtmlDocument.php:143)
at Joomla\CMS\Document\HtmlDocument->__construct(array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/ErrorDocument.php:59)
at Joomla\CMS\Document\ErrorDocument->__construct(array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/Factory.php:60)
at Joomla\CMS\Document\Factory->createDocument('error', array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Error/AbstractRenderer.php:112)
at Joomla\CMS\Error\AbstractRenderer->loadDocument()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Error/AbstractRenderer.php:54)
at Joomla\CMS\Error\AbstractRenderer->getDocument()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Exception/ExceptionHandler.php:124)
at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Exception/ExceptionHandler.php:73)
at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:336)
at Joomla\CMS\Application\CMSApplication->execute()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:58)
at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)
|
|
[1/2]
Error
|
|---|
Error:
Class "Fig\Link\GenericLinkProvider" not found
at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/PreloadManager.php:44
at Joomla\CMS\Document\PreloadManager->__construct()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/Document.php:322)
at Joomla\CMS\Document\Document->__construct(array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'mediaversion' => '51c3df', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/HtmlDocument.php:143)
at Joomla\CMS\Document\HtmlDocument->__construct(array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'mediaversion' => '51c3df', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Document/Factory.php:60)
at Joomla\CMS\Document\Factory->createDocument('html', array('charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => 'fr-FR', 'direction' => 'ltr', 'mediaversion' => '51c3df', 'factory' => object(Factory)))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:789)
at Joomla\CMS\Factory::createDocument()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:338)
at Joomla\CMS\Factory::getDocument()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/components/com_jdownloads/src/Helper/JDHelper.php:213)
at JDownloads\Component\JDownloads\Site\Helper\JDHelper::getMenuItemids()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/components/com_jdownloads/src/Helper/LegacyRouter.php:423)
at JDownloads\Component\JDownloads\Site\Helper\LegacyRouter->parse(array('summary', '37-legislation-aero', '426-dgac-guide-associations-aeromodelisme-2020'), array())
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Component/Router/RouterView.php:250)
at Joomla\CMS\Component\Router\RouterView->parse(array('summary', '37-legislation-aero', '426-dgac-guide-associations-aeromodelisme-2020'))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Router/SiteRouter.php:287)
at Joomla\CMS\Router\SiteRouter->parseSefRoute(object(SiteRouter), object(Uri))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Router/Router.php:384)
at Joomla\CMS\Router\Router->processParseRules(object(Uri))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Router/Router.php:147)
at Joomla\CMS\Router\Router->parse(object(Uri), true)
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/SiteApplication.php:785)
at Joomla\CMS\Application\SiteApplication->route()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/SiteApplication.php:244)
at Joomla\CMS\Application\SiteApplication->doExecute()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:306)
at Joomla\CMS\Application\CMSApplication->execute()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:58)
at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)
|