Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error after installing visitor Webstats


PJ2006

Recommended Posts

I get the following error in Admin right at the top of the page:

 

Warning: fopen(includes/GeoIP.dat) [function.fopen]: failed to open stream: No such file or directory in /home/src/public_html/shop/admin/includes/geoip.inc on line 131

Warning: ftell(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 95

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 98

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fread(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 100

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 117

Warning: fseek(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 123

Warning: Cannot modify header information - headers already sent by (output started at /home/src/public_html/shop/admin/includes/geoip.inc:131) in /home/src/public_html/shop/admin/visitors.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /home/src/public_html/shop/admin/includes/geoip.inc:131) in /home/src/public_html/shop/admin/visitors.php on line 115

 

Any suggestions?

 

Many thanks

Link to comment
Share on other sites

  • 3 months later...
I get the following error in Admin right at the top of the page:

 

Warning: fopen(includes/GeoIP.dat) [function.fopen]: failed to open stream: No such file or directory in /home/src/public_html/shop/admin/includes/geoip.inc on line 131

Warning: ftell(): supplied argument is not a valid stream resource in /home/src/public_html/shop/admin/includes/geoip.inc on line 95

.......

Any suggestions?

Many thanks[/quote]

this are need a small fix, with following changes

edit admin/includes/graphs/visitor_infobox.php
comment out two lines after line 258
[codebox]// Turn ip Addresses into Countries for Country Report
if ( ($report == '11') || ($report == '13') ){
require(DIR_WS_INCLUDES . 'geoip.inc');
$gi = geoip_open(DIR_WS_INCLUDES . 'GeoIP.dat',GEOIP_STANDARD);[/codebox]

after should look like this

[codebox]// Turn ip Addresses into Countries for Country Report
if ( ($report == '11') || ($report == '13') ){
// No need as it's already called in visitor.php
//require(DIR_WS_INCLUDES . 'geoip.inc');
//$gi = geoip_open(DIR_WS_INCLUDES . 'GeoIP.dat',GEOIP_STANDARD);[/codebox]

Link to comment
Share on other sites

commenting out those lines effectively disables the geoip code - so you will not get the feature that show you which countries your visitors are from. if that's not important to you, then this would be fine. but if you are interested in seeing your visitor's countries, you should download the geoip data files. the install instructions gave the location for that data. all you have to do is go to the web site and download the files and put them in the right places. it's all in the install instructions...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...