Whenever i try to call sitestats, use Plugins::SiteStats;
from my script i get the following error:
Can't call method "table" on an undefined value at ..../admin/Plugins/SiteStats.pm line 29.
Anybody got any ideas why its not working?
This is how my script starts:
use strict;
use lib '/..../cgi-bin/links/admin';
use Links qw/$IN $DB $CFG/;
use Links::Plugins;
use Links::SiteHTML;
use CGI::Carp qw(fatalsToBrowser);
use Plugins::ExtraStats;
use Plugins::SiteStats; # <--- this line causes the problem
Thanks
Hagai
from my script i get the following error:
Can't call method "table" on an undefined value at ..../admin/Plugins/SiteStats.pm line 29.
Anybody got any ideas why its not working?
This is how my script starts:
use strict;
use lib '/..../cgi-bin/links/admin';
use Links qw/$IN $DB $CFG/;
use Links::Plugins;
use Links::SiteHTML;
use CGI::Carp qw(fatalsToBrowser);
use Plugins::ExtraStats;
use Plugins::SiteStats; # <--- this line causes the problem
Thanks
Hagai