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
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
www.erotiekcentrum.com
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.
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.
This piece of didn't work for me either....:(
Regards,
Mark
Regards,
Mark
The Handle Studio
http://www.thehandlestudio.co.uk
Bringing Quality Direct To Your Door
Top Quality Hosting & Support
Use presta8656 coupon code and get 10% extra off
http://www.thehandlestudio.co.uk
Bringing Quality Direct To Your Door
Top Quality Hosting & Support
Use presta8656 coupon code and get 10% extra off
So come on people, is there really no solution for this year-2010-stats-problem? There seems to be a lot of prestashops outside having that problem, but no one seems to care?
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.
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.
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???
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???
www.erotiekcentrum.com
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!
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!
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
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
www.erotiekcentrum.com
From 1264612789:
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
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
Zippoutlet - www.zippoutlet.pt.to



Back to top









