Gossamer Forum
Quote Reply
Who is online script
Hi

A while back someone (I think Paul) published a free script to display who is online..

I does not work with the new Links version..

Does anyone else uses it? and if yes how did you fix it?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Who is online script In reply to
Did you change this line to suite your site?

my $path = "/home/virtual/site1/fst/var/www/cgi-bin/links/admin/sessions";


?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Who is online script In reply to
Yes I did.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Who is online script In reply to
You running it via SSH? I think thats how its meant to be called.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Who is online script In reply to
No

I am calling it through a regular cgi call:

http://2muslims.com/...ks/who_is_online.cgi
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Who is online script In reply to
Add this under the path to Perl;

use CGI::Carp qw(fatalsToBrowser);

Then, when you run it again, does it give you any helpful information as to what the problem is?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [katabd] Who is online script In reply to
It does not work because since version 2.1.2, Links SQL stores the sessions in the 'Sessions' table, and not as files.

You'll have to change the script to take this change into account.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [katabd] Who is online script In reply to
Try this script (untested...I'm not sure how the sessions table handles user login/logouts, or how often it cleans them out)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Who is online script In reply to
Thanks

I will do that tonight.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [Andy] Who is online script In reply to
I just tried this and it gave me a proxy error. Usually that is because of a conflict with Mod Perl UnsureAny ideas?
Quote Reply
Re: [nt6] Who is online script In reply to
Maybe try this. I have never used it. Just one I picked up around the traps on the basis od 'one day' might use it.
Quote Reply
Re: [Gypsypup] Who is online script In reply to
That won't work for LinksSQL. Remember, LinksSQL has its own session files/table.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!