Jump to content

Recommended Posts

Posted

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/

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...