cloudy

Author Topic: Whos Online Script  (Read 42027 times)

0 Members and 3 Guests are viewing this topic.

Online ALITTLEweird1

  • Mark
  • Posts: 3,984
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Whos Online Script
« Reply #300 on: October 31, 2010, 11:34:59 PM »
Since e-rice updated its servers, my Geolite file isn't updating by itself like it use too. How do you update this file? It shows on my page that a update is available. Thanks.

http://www.snoqualmieweather.com/whos-online.php
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline linuxfreak

  • Posts: 231
  • Hey there.....
  • Hamilton, Ontario, Canada
    • Hamilton Central Mountain Weather
Re: Whos Online Script
« Reply #301 on: November 03, 2010, 04:36:00 AM »
Hi Mark, had the same problem on my site, I just downloaded the gz file to desktop, used WinZip to unzip, and uploaded the .dat file to my site. Everything is great again, but my cron script won't do the auto update now either since the server upgrades.

See attached screen cap from when I tried running manually.

Hope there is a fix for this. #-o :? 8O

George
Davis VP2/FARS, Intel Atom N330 dual-core, 2Gig ram, Windows XP Home SP3 

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Whos Online Script
« Reply #302 on: December 10, 2010, 07:47:12 PM »
George, your folder does not have permissions for file write, you need to set permissions or ownership correctly.

Offline vk2him

  • Posts: 424
  • Gerringong, NSW, Australia
    • The Shack by the Beach
Re: Whos Online Script
« Reply #303 on: April 25, 2011, 11:00:24 AM »
I'm having an issue after porting my existing site to a Mac Mini in preparation to go live...

Who's online works, except the maps don't display ... the pins do but not the worldmap images.

In trying to diagnose the problem, I get this error

Fatal error: Call to undefined function imageTTFBbox() in /Applications/XAMPP/xamppfiles/htdocs/wx/wo-worldmap.php on line 295

When viewing this url http://wx.theshackbythebeach.com:9191/wx/wo-worldmap.php?time=15&units=minutes&map=1&pin=1&pins=off&text=on&textcolor=000000&textshadow=FFFFFF&textalign=cb&ul_lat=0&ul_lon=0&lr_lat=360&lr_lon=180&offset_x=0&offset_y=0&type=png

Googling the problem, the apache version loaded into Snow leopard Server doesn't have support for "freetype" and its very tricky (for me anyway) to re-compile apache with freetye included.

I has wondering if there is an alternative to using imageTTFBbox() as this requires freetpe in apache enabled?
Thanks
 

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Whos Online Script
« Reply #304 on: April 27, 2011, 05:46:02 AM »
Look at the bottom of this file:
include-whos-online-settings.php

comment out this setting
$C['map_text_font']
or was it already commented out?

Offline vk2him

  • Posts: 424
  • Gerringong, NSW, Australia
    • The Shack by the Beach
Re: Whos Online Script
« Reply #305 on: April 30, 2011, 05:14:59 AM »
Look at the bottom of this file:
include-whos-online-settings.php

comment out this setting
$C['map_text_font']


Many thanks, that fixed it!!! I would never have been able to work that out  :roll:

Offline cansics

  • Posts: 151
  • Duggleby - Weather Centre for North Yorkshire
    • Duggleby Weather Station
Re: Whos Online Script
« Reply #306 on: June 18, 2011, 05:13:23 AM »
Hi there,

I have this excellent script running in this location :- http://www.dugglenet.org/whos-online/whos-online24.php

BUT - it doesn't display non-English characters correctly, so umlauts etc etc are substituted - the display often looks a bit untidy.

e.g.

 Fürth in Germany is shown as 'F�rth, DE'

Does anyone know a solution for this ?

My page is set with the utf-8 coding so I thought it would be okay, but it isn't ....

Many Thanks, Simon
« Last Edit: June 18, 2011, 05:17:25 AM by cansics »
Weather Information from Duggleby, Ryedale, North Yorkshire, UK


Offline tman1991

  • Posts: 524
  • Tucson, AZ (US)
    • Countryside Manor
Re: Whos Online Script
« Reply #307 on: December 23, 2011, 04:48:52 AM »
Great stuff!..

How do you center the images??

Offline bhogsett

  • Posts: 139
  • Cleveland, Ohio, USA
  • OS/Browser:
  • Mac OS X 10.7
  • Firefox 11.0
    • BoatHouse Weather
Re: Whos Online Script
« Reply #308 on: February 17, 2012, 03:53:25 PM »
I had an issue making the mysql tables with the whos-online.sql.txt script.

The script threw errors and complained about the lines that start:

TYPE=MyISAM

This worked:

ENGINE=MyISAM

Bill

 

cumulus