administrator/language/fr-FR/plg_fields_url.ini  |{|}7i33/datas/yulpa173144/sites/htdocs/plugins/fields/upܡ`q}7i<</datas/yulpa173144/sites/htdocs/plugins/fields/user/servicesz<f7iII/datas/yulpa173144/sites/htdocs/plugins/fields/user/services/provider.phpp\"(1v|I/datas/yulpa173144/sites/htdocs/plugins/fields/user/services/provider.php 1]&7i77/datas/yulpa173144/sites/htdocs/plugins/fields/upf 7iAA/datas/yulpa173144/sites/htdocs/plugins/fields/user/src/Extension p8{p |7iJJ/datas/yulpa173144/sites/htdocs/plugins/fields/user/src/Extension/User.php p,7nJ/datas/yulpa173144/sites/htdocs/plugins/fields/user/src/Extension/User.phpP#z7iPP/datas/yulpa173144/sites/htdocs/administrator/language/en-GB/plg_fields_user.inip2z@ f7iPP/datas/yulpa173144/sites/htdocs/administrator/language/fr-FR/plg_fields_user.ini  <<|7i<</datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplistpÀP<P7iEE/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/services@z}`7iRR/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/services/provider.pP xo R/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/services/provider.phpQ  1]&7i@@/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/src1z =`@.=7iJJ/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/src/ExtensionvJ`QP|7i\\/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/src/Extension/UsergroupList.php 8J,.\/datas/yulpa173144/sites/htdocs/plugins/fields/usergrouplist/src/Extension/UsergroupList.php й7iYY/datas/yulpa173144/sites/htdocs/administrator/language/en-GB/plg_fields_usergrouplist.ini z||7iYY/datas/yulpa173144/sites/htdocs/administrator/language/fr-FR/plg_fields_usergrouplist.ini@lRlR<ERCP@{}#{ pdf=y U V y}y# b'PpC7iYY/datas/yulpa173144/sites/htdocs/templates/purity_iii/html/com_content/article/default.php`L0HD$XH'HHzf7irOH;/datas/yulpa173144/sites/htdocs/libraries/vendor/composer/../../../libraries/src/Event/Content/AfterTitleEvent.php/datas/yulpa173144/sites/htdocs/libraries/src/Event/Content/AfterTitleEvent.p%QԈ0z7iOOF/datas/yulpa173144/sites/htdocs/libraries/src/Event/Content/AfterTitleEvent.phpp3GO/datas/yulpa173144/sites/htdocs/libraries/src/Event/Content/AfterTitleEvent.php 1]&7i]:It$/datas/yulpa173144/sites/htdocs/libraries/vendor/composer/../../../libraries/src/Event/Result/datas/yulpa173144/sites/htdocs/li * * @since 3.5 * * @throws \Exception If user is not allowed. * @throws \RuntimeException If there is an error saving the params. */ public function onAjaxSendNever() { if (!$this->isAllowedUser() || !$this->isAjaxRequest()) { throw new \Exception($this->getApplication()->getLanguage()->_('JGLOBAL_AUTH_ACCESS_DENIED'), 403); } $this->params->set('mode', static::MODE_ALLOW_NEVER); if (!$this->saveParams()) { throw new \RuntimeException('Unable to save plugin settings', 500); } if (!$this->disablePlugin()) { throw new \RuntimeException('Unable to disable the statistics plugin', 500); } echo json_encode(['sent' => 0]); } /** * Send the stats to the server. * On first load | on demand mode it will show a message asking users to select mode. * * @return void * * @since 3.5 * * @throws \Exception If user is not allowed. * @throws \RuntimeException If there is an error saving the params, disabling the plugin or sending the data. */ public function onAjaxSendStats() { if (!$this->isAllowedUser() || !$this->isAjaxRequest()) { throw new \Exception($this->getApplication()->getLanguage()->_('JGLOBAL_AUTH_ACCESS_DENIED'), 403); } // User has not selected the mode. Show message. if ((int) $this->params->get('mode') !== static::MODE_ALLOW_ALWAYS) { $data = [ 'sent' => 0, 'html' => $this->getRenderer('message')->render($this->getLayoutData()), ]; echo json_encode($data); return; } if (!$this->saveParams()) { throw new \RuntimeException('Unable to save plugin settings', 500); } echo json_encode(['sent' => (int) $this->sendStats()]); } /** * Get the data through events * * @param string $context Context where this will be called from * * @return array * * @since 3.5 */ public function onGetStatsData($context) { return $this->getStatsData(); } /** * Debug a layout of this plugin * * @param string $layoutId Layout identifier * @param array $data Optional data for the layout * * @return string * * @since 3.5 */ public function debug($layoutId, $data = []) { $data = array_merge($this->getLayoutData(), $data); return $this->getRenderer($layoutId)->debug($data); } /** * Get the data for the layout * * @return array * * @since 3.5 */ private function getLayoutData() { return [ 'plugin' => $this, 'pluginParams' => $this->params, 'statsData' => $this->getStatsData(), ]; } /** * Get the layout paths * * @return array * * @since 3.5 */ private function getLayoutPaths() { $template = $this->getApplication()->getTemplate(); return [ JPATH_ADMINISTRATOR . '/templates/' . $template . '/html/layouts/plugins/' . $this->_type . '/' . $this->_name, JPATH_PLUGINS . '/' . $this->_type . '/' . $this->_name . '/layouts', ]; } /** * Get the plugin renderer * * @param string $layoutId Layout identifier * * @return \Joomla\CMS\Layout\LayoutInterface * * @since 3.5 */ private function getRenderer($layoutId = 'default') { $renderer = new FileLayout($layoutId); $renderer->setIncludePaths($this->getLayoutPaths()); return $renderer; } /** * Get the data that will be sent to the stats server. * * @return array * * @since 3.5 */ private function getStatsData() { $data = [ 'unique_id' => $this->getUniqueId(), 'php_version' => PHP_VERSION, 'db_type' => $this->getDatabase()->name, 'db_version' => $this->getDatabase()->getVersion(), 'cms_version' => JVERSION, 'server_os' => php_uname('s') . ' ' . php_uname('r'), ]; // Check if we have a MariaDB version string and extract the proper version from it if (preg_match('/^(?:5\.5\.5-)?(mariadb-)?(?P\d+)\.(?P\d+)\.(?P\d+)/i', $data['db_version'], $versionParts)) { $data['db_version'] = $versionParts['major'] . '.' . $versionParts['minor'] . '.' . $versionParts['patch']; } return $data; } /** * Get the unique id. Generates one if none is set. * * @return integer * * @since 3.5 */ private function getUniqueId() { if (null === $this->uniqueId) { $this->uniqueId = $this->params->get('unique_id', hash('sha1', UserHelper::genRandomPassword(28) . time())); } return $this->uniqueId; } /** * Check if current user is allowed to send the data * * @return boolean * * @since 3.5 */ private function isAllowedUser() { return $this->getApplication()->getIdentity() && $this->getApplication()->getIdentity()->authorise('core.admin'); } /** * Check if the debug is enabled * * @return boolean * * @since 3.5 */ private function isDebugEnabled() { return \defined('PLG_SYSTEM_STATS_DEBUG'); } /** * Check if last_run + interval > now * * @return boolean * * @since 3.5 */ private function isUpdateRequired() { $last = (int) $this->params->get('lastrun', 0); $interval = (int) $this->params->get('interval', 12); $mode = (int) $this->params->get('mode', 0); if ($mode === static::MODE_ALLOW_NEVER) { return false; } // Never updated or debug enabled if (!$last || $this->isDebugEnabled()) { return true; } return abs(time() - $last) > $interval * 3600; } /** * Check valid AJAX request * * @return boolean * * @since 3.5 */ private function isAjaxRequest() { return strtolower($this->getApplication()->getInput()->server->get('HTTP_X_REQUESTED_WITH', '')) === 'xmlhttprequest'; } /** * Render a layout of this plugin * * @param string $layoutId Layout identifier * @param array $data Optional data for the layout * * @return string * * @since 3.5 */ public function render($layoutId, $data = []) { $data = array_merge($this->getLayoutData(), $data); return $this->getRenderer($layoutId)->render($data); } /** * Save the plugin parameters * * @return boolean * * @since 3.5 */ private function saveParams() { // Update params $this->params->set('lastrun', time()); $this->params->set('unique_id', $this->getUniqueId()); $interval = (int) $this->params->get('interval', 12); $this->params->set('interval', $interval ?: 12); $paramsJson = $this->params->toString('JSON'); $db = $this->getDatabase(); $query = $db->getQuery(true) ->update($db->quoteName('#__extensions')) ->set($db->quoteName('params') . ' = :params') ->where($db->quoteName('type') . ' = ' . $db->quote('plugin')) ->where($db->quoteName('folder') . ' = ' . $db->quote('system')) ->where($db->quoteName('element') . ' = ' . $db->quote('stats')) ->bind(':params', $paramsJson); try { // Lock the tables to prevent multiple plugin executions causing a race condition $db->lockTable('#__extensions'); } catch (\Exception $e) { // If we can't lock the tables it's too risky to continue execution return false; } try { // Update the plugin parameters $result = $db->setQuery($query)->execute(); $this->clearCacheGroups(['com_plugins']); } catch (\Exception $exc) { // If we failed to execute $db->unlockTables(); $result = false; } try { // Unlock the tables after writing $db->unlockTables(); } catch (\Exception $e) { // If we can't lock the tables assume we have somehow failed $result = false; } return $result; } /** * Send the stats to the stats server * * @return boolean * * @since 3.5 * * @throws \RuntimeException If there is an error sending the data and debug mode enabled. */ private function sendStats() { $error = false; try { // Don't let the request take longer than 2 seconds to avoid page timeout issues $response = HttpFactory::getHttp()->post($this->serverUrl, $this->getStatsData(), [], 2); if (!$response) { $error = 'Could not send site statistics to remote server: No response'; } elseif ($response->code !== 200) { $data = json_decode($response->body); $error = 'Could not send site statistics to remote server: ' . $data->message; } } catch (\UnexpectedValueException $e) { // There was an error sending stats. Should we do anything? $error = 'Could not send site statistics to remote server: ' . $e->getMessage(); } catch (\RuntimeException $e) { // There was an error connecting to the server or in the post request $error = 'Could not connect to statistics server: ' . $e->getMessage(); } catch (\Exception $e) { // An unexpected error in processing; don't let this failure kill the site $error = 'Unexpected error connecting to statistics server: ' . $e->getMessage(); } if ($error !== false) { // Log any errors if logging enabled. Log::add($error, Log::WARNING, 'jerror'); // If Stats debug mode enabled, or Global Debug mode enabled, show error to the user. if ($this->isDebugEnabled() || $this->getApplication()->get('debug')) { throw new \RuntimeException($error, 500); } return false; } return true; } /** * Clears cache groups. We use it to clear the plugins cache after we update the last run timestamp. * * @param array $clearGroups The cache groups to clean * * @return void * * @since 3.5 */ private function clearCacheGroups(array $clearGroups) { foreach ($clearGroups as $group) { try { $options = [ 'defaultgroup' => $group, 'cachebase' => $this->getApplication()->get('cache_path', JPATH_CACHE), ]; $cache = Cache::getInstance('callback', $options); $cache->clean(); } catch (\Exception $e) { // Ignore it } } } /** * Disable this plugin, if user selects once or never, to stop Joomla loading the plugin on every page load and * therefore regaining a tiny bit of performance * * @since 4.0.0 * * @return boolean */ private function disablePlugin() { $db = $this->getDatabase(); $query = $db->getQuery(true) ->update($db->quoteName('#__extensions')) ->set($db->quoteName('enabled') . ' = 0') ->where($db->quoteName('type') . ' = ' . $db->quote('plugin')) ->where($db->quoteName('folder') . ' = ' . $db->quote('system')) ->where($db->quoteName('element') . ' = ' . $db->quote('stats')); try { // Lock the tables to prevent multiple plugin executions causing a race condition $db->lockTable('#__extensions'); } catch (\Exception $e) { // If we can't lock the tables it's too risky to continue execution return false; } try { // Update the plugin parameters $result = $db->setQuery($query)->execute(); $this->clearCacheGroups(['com_plugins']); } catch (\Exception $exc) { // If we failed to execute $db->unlockTables(); $result = false; } try { // Unlock the tables after writing $db->unlockTables(); } catch (\Exception $e) { // If we can't lock the tables assume we have somehow failed $result = false; } return $result; } /** * Are we in a Multi-factor Authentication page? * * @return bool * @since 4.2.1 */ private function isCaptiveMFA(): bool { return method_exists($this->getApplication(), 'isMultiFactorAuthenticationPage') && $this->getApplication()->isMultiFactorAuthenticationPage(true); } } 0 - Class &quot;Joomla\Plugin\System\Stats\Extension\Stats&quot; not found
0 - Class "Joomla\Plugin\System\Stats\Extension\Stats" not found

Il est possible que vous ne puissiez visiter cette page en raison de :

  • un lien/favori obsolète
  • un moteur de recherche possède un listing périmé pour ce site
  • une adresse erronée
  • vous n'avez pas accès à cette page
  • La ressource demandée est introuvable
  • Une erreur est survenue pendant l'exécution de la requête.

Veuillez essayer l'une des pages suivantes :

Si les difficultés persistent, merci de contacter l'administrateur de ce site et de signaler les erreurs ci-dessous.

Class "Joomla\Plugin\System\Stats\Extension\Stats" not found
/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/plugins/system/stats/services/provider.php:37

Call Stack

# Function Location
1 () JROOT/plugins/system/stats/services/provider.php:37
2 Joomla\DI\ServiceProviderInterface@anonymous/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/plugins/system/stats/services/provider.php:22$69->{closure}() JROOT/libraries/vendor/joomla/di/src/ContainerResource.php:172
3 Joomla\DI\ContainerResource->getInstance() JROOT/libraries/vendor/joomla/di/src/Container.php:95
4 Joomla\DI\Container->get() JROOT/libraries/src/Extension/ExtensionManagerTrait.php:177
5 Joomla\CMS\Application\CMSApplication->loadExtension() JROOT/libraries/src/Extension/ExtensionManagerTrait.php:99
6 Joomla\CMS\Application\CMSApplication->bootPlugin() JROOT/libraries/src/Plugin/PluginHelper.php:232
7 Joomla\CMS\Plugin\PluginHelper::import() JROOT/libraries/src/Plugin/PluginHelper.php:192
8 Joomla\CMS\Plugin\PluginHelper::importPlugin() JROOT/libraries/src/Application/CMSApplication.php:814
9 Joomla\CMS\Application\CMSApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:655
10 Joomla\CMS\Application\SiteApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:238
11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
13 require_once() JROOT/index.php:32