Jump to content

Stats problem: Number of visitor (2010)


Recommended Posts

I no longer get through the statistics to see how many visitors there have been by a day, week or year from 01-01-2010.

This forum HERE I have seen that by changing:

line 36 of /admin/tabs/AdminStatsTab.php file
with this line:
if (($ month = Tools:: getValue ( 'date Input Month ", -1))! = -1 AND Validate:: isInt ($ month))

solves the problem.

Unfortunately, this works for me either. anyone have ideas? I like to hear.

Regards,
David

www.erotiekcentrum.com

Link to comment
Share on other sites

this worked for me
if ($month = (Tools::getValue('dateInputMonth', -1)+1) AND Validate::isUnsignedInt($month))

problem seems to be that month value is blank from time to time.. don't know why it only affects 2010 but this solved it for me.

Link to comment
Share on other sites

In ADMIN/TABS/AdminStatsTab :

Try this for line 36:

if (($month = Tools::getValue(‘dateInputMonth’, -1)) != -1 AND Validate::isInt($month))

This is the first change I have found that actually WORKS!!!

This was on another thread (in French) for the same problem.

Link to comment
Share on other sites

Thnx for te replay!

I allready tried this one.

This is what I tried on line 36 in Admin/Tabs/AdminStatsTab.php:
1. if (($month = Tools::getValue(‘dateInputMonth’, -1)) != -1 AND Validate::isInt($month))
2. if ($month = (Tools::getValue(‘dateInputMonth’, -1)+1) AND Validate::isUnsignedInt($month))
3. if ($month = Tools::getValue('dateInputMonth', -1) AND Validate::isUnsignedInt($month))

it is very annoying, I now can't see if my Advertising Campaing on the radio gives me more visitors.

Strange is it when i logged on in my admin. The pageviews/registration/orders etc. etc. can be viewed.
It's just the visitors in the stats viewed by a day. Month and Year works!

Is there anyone who can help me, us and other people with this problem???

Link to comment
Share on other sites

Now it works!!!

if (($month = Tools::getValue('dateInputMonth', -1)) != -1 AND Validate::isInt($month))

was the right way. You have only to make sure, that you get the straight apostrophs around "dateInputMonth" in your code. (This forum software changes them automaticly to wrong apostrophs.)

thanks you all for the help!

Link to comment
Share on other sites

Thnx Frecoo!!

SUPERRR!!

if (($month = Tools::getValue(‘dateInputMonth’, -1)) != -1 AND Validate::isInt($month))

Works for me now!!
I had to place te straight apostrophs around “dateInputMonth” in my code.

For me It's SOLVED :)

Thnx

Link to comment
Share on other sites

  • 2 weeks later...
Thnx Frecoo!!

SUPERRR!!

if (($month = Tools::getValue(‘dateInputMonth’, -1)) != -1 AND Validate::isInt($month))

Works for me now!!
I had to place te straight apostrophs around “dateInputMonth” in my code.

For me It's SOLVED :)

Thnx


Hi Barnie!

I have also the same problem here...but that code doesn't seems to do anything for me.. :(
what u mean by straight apostrophs..? are day and year working too?
Could u post your complete AdminStatsTab.php file here?

I really want to bypass this problem..any help would be much appreciated.

Rgds
E.Silva
Link to comment
Share on other sites

×
×
  • Create New...