[TYPO3] cc_awstats and Geo::IP

Katja Lampela katja.lampela at lieska.net
Thu May 8 19:39:24 CEST 2008


Thanks Loek,
I tried this but can't get it to work.
In local T3 *awstats/awstats.conf I have

LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"

and in the /usr/share/... I of course uploaded the GeoIP.dat file.

This brings the result:

*Error: Plugin load for plugin 'geoip' failed with return code: Error: 
Can't locate Geo/IP/PurePerl.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/lib/perl5/vendor_perl . 
/home/mysite/html/typo3conf/ext/cc_awstats/awstats/lib 
/mysite/html/typo3conf/ext/cc_awstats/awstats/plugins) at (eval 4) line 1.

*Maybe I should try to fiddle with some local other awstats.conf file 
which isn't under TYPO3..
- Katja
*

Loek Hilgersom kirjoitti:
> Hi Katja,
>
> You can store the GeoIP databases anywhere you like, just make sure 
> you refer to that location in the awstats.conf file.
>
> Your awstats extension in TYPO3 works independent from other awstats 
> installations on your server, but of course they could share the same 
> GeoIP database. I think /usr/share/GeoIP is the default location on 
> most linux servers.
>
> Hth,
> Loek
>
>
> Katja Lampela wrote:
>> Hi all,
>> I would like to activate the country statistics (from which country 
>> the visitor is) in awstats and I tried to activate geoip in 
>> *awstats/awstats.conf* file. The conf file states: Perl modules 
>> required: Geo::IP (from Maxmind).
>>
>> My question as a quite novice in server business is: could this be 
>> installed in the server (maybe by me) and where and would it be used 
>> by this cc_awstats which seem to be independent of the server's 
>> awstats(?).
>>
>> Thank you for any input!
>> - Katja


More information about the TYPO3-english mailing list