<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Overflow in Wp-Dstats2 WordPress plugin?</title>
	<atom:link href="http://technology.amis.nl/2004/11/30/large-number-overflow-in-wp-dstats2-wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2004/11/30/large-number-overflow-in-wp-dstats2-wordpress-plugin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=large-number-overflow-in-wp-dstats2-wordpress-plugin</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: jon kvanvig</title>
		<link>http://technology.amis.nl/2004/11/30/large-number-overflow-in-wp-dstats2-wordpress-plugin/#comment-1229</link>
		<dc:creator>jon kvanvig</dc:creator>
		<pubDate>Sat, 20 Aug 2005 03:18:35 +0000</pubDate>
		<guid isPermaLink="false">/?p=278#comment-1229</guid>
		<description><![CDATA[I don&#039;t know if you&#039;ll see this, since it is a fairly old post, but I&#039;ll try.

I&#039;ve switched to WP 1.5, and wp-dstats2 doesn&#039;t work for it, so started using Stattraq.  Amazing result:  same overflow problem!  If it&#039;s the same issue, the relevant code is:
`$sqlQuery = &quot;SELECT COUNT(DISTINCT session_id) AS cnt FROM $tablestattraq WHERE &quot; . (&#039;all&#039; != $time_frame  ? &quot;access_time BETWEEN &#039;$startDate&#039; AND  &#039;$endDate&#039; AND&quot; : &#039;&#039; ) .&quot; user_agent_type=0&quot;;
	$output = $wpdb-&gt;get_row($sqlQuery);
	return $output-&gt;cnt;
&#039;

I&#039;m not facile enough to see why this might cause the same overflow problem--any idea?]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if you&#8217;ll see this, since it is a fairly old post, but I&#8217;ll try.</p>
<p>I&#8217;ve switched to WP 1.5, and wp-dstats2 doesn&#8217;t work for it, so started using Stattraq.  Amazing result:  same overflow problem!  If it&#8217;s the same issue, the relevant code is:<br />
`$sqlQuery = &#8220;SELECT COUNT(DISTINCT session_id) AS cnt FROM $tablestattraq WHERE &#8221; . (&#8216;all&#8217; != $time_frame  ? &#8220;access_time BETWEEN &#8216;$startDate&#8217; AND  &#8216;$endDate&#8217; AND&#8221; : &#8221; ) .&#8221; user_agent_type=0&#8243;;<br />
	$output = $wpdb->get_row($sqlQuery);<br />
	return $output->cnt;<br />
&#8216;</p>
<p>I&#8217;m not facile enough to see why this might cause the same overflow problem&#8211;any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon kvanvig</title>
		<link>http://technology.amis.nl/2004/11/30/large-number-overflow-in-wp-dstats2-wordpress-plugin/#comment-1228</link>
		<dc:creator>jon kvanvig</dc:creator>
		<pubDate>Mon, 04 Apr 2005 01:01:36 +0000</pubDate>
		<guid isPermaLink="false">/?p=278#comment-1228</guid>
		<description><![CDATA[Fantastic!  I just hit the problem about a week ago, and have been trying to figure it out ever since.  Thanks so much for the code!!!]]></description>
		<content:encoded><![CDATA[<p>Fantastic!  I just hit the problem about a week ago, and have been trying to figure it out ever since.  Thanks so much for the code!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
