Who's Online PHP Script 2.0 for your template site

I’m having the same issue as Jack…

http://www.relayweather.com/whos-online.php

I am having an issue when trying to upload the GeoLiteCity.dat file

My site is hosted by E-Rice. Using Filezilla, I am transferring this in Binary mode. Once transfer gets to about 19MB, it just quits.

Exactly what is happening to me, even tried other types of ftp uploads.

You E-Rice Jack??

You E-Rice Jack??

Yes

Chuck are you installing this on a carterlake template site?
There are two sections in the readme file

Installation (carterlake php template sites)
and
Installation (any other php template sites)

The step 6 you posted was from the second section, but to answer your question it would go in a Settings.php that is included before the header output.

Could E-Rice limit the maximum file size? #-o

could be a permissions issue, if uploaded the complete file, make sure the file is readable. chmod 0644

Got it working for Bill. Not seeing the map though.

http://www.evansville-weather.com/whos-online.php

File is not complete…only 19 of 29MB being uploaded.

Yes I am using the Carterlake templates.

Chuck

then you were in the wrong section, sorry
look for this section:

Installation (carterlake php template sites)

Mike,

Thanks I went ahead with the carterlake directions. As for the folder do you upload the entire folder as is so the other three folder inside would be sub directories.

Chuck

If you have command line access to your server you can upload the compressed GeoLiteCity.dat.gz file and uncompress it.
or grab it with wget
If you are able to have command line, see here for instructions:
http://www.maxmind.com/app/installation?city=1

no, sorry, I just updated the instructions

Upload the following files to your web server where your template site is:
active_bot.gif
active_user.gif
inactive_bot.gif
inactive_user.gif
include-whos-online-header.php
include-whos-online-page.php
include-whos-online-settings.php
spiders.txt
whos-online.php

I just finished uploading the entire folder to my web server. Do you put these in the root directory Mike. Sorry to ask so many questions.

Chuck

Chuck, the files go in the root folder of your template site

Is the map on the demo page part of the install or another enhancement?

If you have command line access to your server you can upload the compressed file and uncompress it. or grab it with wget

That went over my head…lol, no harm though, turned off the State addon for now and it works well again. Will have to look into this wget thing!

Thanks Mike, nice work as always.

Jack

I upload the folder to the root directory. Like below if you know what I mean.

www.chucksweather.com/whos-online

Chuck

No, not the folder, I just changed Step 3 to say this:

Step 3)
Upload the following files to your web server where your template site is:
(root folder of your template site)
active_bot.gif
active_user.gif
inactive_bot.gif
inactive_user.gif
include-whos-online-header.php
include-whos-online-page.php
include-whos-online-settings.php
spiders.txt
whos-online.php

the files would go to http://www.chucksweather.com/