Hello, im using wassup 1.6.3 for sometime, but now i cant display main graph in visitor details. But on dashboard is small graph displayed.
Im using Firefox 3.0.5 and tried in iE6 ( but same state. Any idea why graphs arent displayed, but before week it was ok ? I wasnt change anything.
wassup can't display main graph
(4 posts) (2 voices)-
Posted 3 years ago #
-
Did you click the graph icon to enable the main graph? http://trac.wpwp.org/wiki/Documentation/Playing/Visitor_Details
Posted 3 years ago # -
Eh, sorry... I turn it on. But I didnt change anything. In explorer 6 Wassup looks weird
<img src="http://img168.imageshack.us/img168/8787/01122009161018nt7.png" border="0" alt="Image Hosted by ImageShack.us"/>
<img src="http://img168.imageshack.us/img168/01122009161018nt7.png/1/w1928.png" border="0">Posted 3 years ago # -
Sorry but I cannot display the images, please copy and paste ONLY the image url.
Thank youPosted 3 years ago # -
The bug to which the chart was not displayed occurred by WassUp 1.6.5.
It operated normally excluding the chart, but a chart is not displayed.
The version of MySQL of the hosting service that I am using seem to be and there be a cause in the thing that is MySQL 4.0.24.
This bug was solved by correcting SQL sentence.I edited main.php as follows.
WassUp -> lib -> main.php
It looks for the following code.
$aitems = $wpdb->get_results("SELECT COUNT(DISTINCT WassUp_id) as items,
COUNT(WassUp_id) as pages,
DATE_FORMAT(FROM_UNIXTIME(CAST((timestamp-$UTCoffset) AS UNSIGNED)),
‘$x_axes_label’) as thedate FROM ".$this->tableName." WHERE timestamp BETWEEN $hour_fromdate AND $hour_todate ".$this->whereis." $ss GROUP BY
DATE_FORMAT(FROM_UNIXTIME(CAST((timestamp-$UTCoffset) AS UNSIGNED)),
‘$Ctimeformat’) ORDER BY timestamp", ARRAY_A);Correct a part of the code as follows.
"timestamp-$UTCoffset" to "timestamp - $UTCoffset"It is safe ..only putting space.. before and behind operator "-".
All bugs can not necessarily correspond by this method.
However, there seems to be a problem in an interchangeable version of this SQL sentence about the bug to which the chart is not displayed when I examine it.
As for the occurrence of a similar bug, it might be good to try rewriting this SQL sentence.My server environment etc. are put on my blog.
http://la-passeggiata.com/?lang=en
Please see interesting one by all means.
Posted 2 years ago #
Reply
You must log in to post.