Jonathan Posted March 8, 2015 Report Posted March 8, 2015 Hello I come to an error that is on my website, here is the message: Fatal error: Class 'StatsData' not found in /home/smartbirqc/www/core/modules/Frontpage/Frontpage.php on line 25 Here is the code of the page: class Frontpage extends CodonModule { public $title = 'Welcome'; public function index() { $this->set('usersonline', StatsData::UsersOnline()); $this->set('guestsonline', StatsData::GuestsOnline()); $this->render('frontpage_main.tpl'); } } Link site web : http://smartbirdva.fr/index.php/ Quote
magicflyer Posted March 8, 2015 Report Posted March 8, 2015 Bonjour, Vérifiez que il on à un fichier dans le directoire /core/commons qui correspond au nom "StatsData.class.php". Se il ne est pas, en créer un et coller le contenu suivant - http://docs.phpvms.net/internals/de/dd3/v2_2core_2common_2_stats_data_8class_8php_source.html ## Good Morning, Check if there's a file by the name of "StatsData.class.php" in your core/commons subdirectory. If there is not, Create one and copy/paste the following code in it - http://docs.phpvms.net/internals/de/dd3/v2_2core_2common_2_stats_data_8class_8php_source.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.