[geeklog-modules] stats break emailgeelkogstories

Tom Willett tomw at pigstye.net
Thu Jan 16 08:46:58 EST 2003


Tony,

I added a check at the start of ST_addStats that should fix this issue.  As 
the first line of code, after the global declarations put this line.

    if (!isset($REQUEST_METHOD)) { return; };

Works for me.

Tom
On Wed, 15 Jan 2003 20:09:38 -0600, Tony Bibbs wrote
> If you use emailgeeklogstories script and have stats plugin, it will 
> complain when ST_addStats is called.  Specifically, the call to 
> gethostbyaddr() can't handle being called outside a browser.
> 
> Just an FYI,
> 
> -- 
> +-------------------+--------------------------------------------------+
> |Tony Bibbs         |[R]egardless of what you may think of our penal   |
> |tony at tonybibbs.com |system, the fact is that every man in jail is one |
> |                   |less potential fisherman to clutter up your       |
> |                   |favorite pool or pond. --Ed Zern                  | 
> 
> +-------------------+--------------------------------------------------+
> 
> _______________________________________________
> geeklog-modules mailing list
> geeklog-modules at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-modules



--
Tom Willett
tomw at pigstye.net



More information about the geeklog-modules mailing list