Access to PrestaShop corporate website
Bonjour, Invité |
| S'inscrire
Se souvenir de moi Mot de passe oublié ?
Site Map Plan du site Contact us Contactez-nous
PrestaShop e-commerce software
  902 Membres en ligne
Forum  >  English Forum  >  General discussion  >  Fil

 
Répondre
Nouveau sujet
Stats problem: Number of visitor (2010)

offline
Publié : 12 Janvier 2010 02:46 PM   [ Ignorer ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-07-01

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

http://www.erotiekcentrum.com

 Signature 

http://www.erotiekcentrum.com

 
offline
Publié : 16 Janvier 2010 06:02 PM   [ Ignorer ]   [ # 1 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • au total : 615
  • 7 derniers jours : 1
Inscrit: 2008-07-26

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.

 Signature 

http://www.prestaworks.com Modules and themes for prestashop.
E-butik med prestashop inkl hosting och gratis installation.

 
offline
Publié : 17 Janvier 2010 12:01 AM   [ Ignorer ]   [ # 2 ]
Club Member
RankRankRank

Messages :

  • au total : 157
  • 7 derniers jours : 0
Inscrit: 2009-01-25

This piece of didn’t work for me either….:(

Regards,

Mark

 Signature 

The Handle Studio
http://www.thehandlestudio.co.uk
Bringing Quality Direct To Your Door

Top Quality Hosting & Support
vida.jpg

 
offline
Publié : 21 Janvier 2010 09:07 PM   [ Ignorer ]   [ # 3 ]
Club Member
RankRankRank
Avatar

Messages :

  • au total : 140
  • 7 derniers jours : 0
Inscrit: 2009-02-17

Well, it’s there a solutions that works?

 Signature 

My Prestashop’s:
http://www.pronat.ro
http://www.jolibijou.net

 
offline
Publié : 22 Janvier 2010 07:11 PM   [ Ignorer ]   [ # 4 ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-07-01

Still not working :(

Posted the same problem HERE

 Signature 

http://www.erotiekcentrum.com

 
offline
Publié : 24 Janvier 2010 09:28 PM   [ Ignorer ]   [ # 5 ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-06-21

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?

 
offline
Publié : 26 Janvier 2010 05:47 PM   [ Ignorer ]   [ # 6 ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-01-09

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.

 
offline
Publié : 26 Janvier 2010 08:52 PM   [ Ignorer ]   [ # 7 ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-07-01

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???

 Signature 

http://www.erotiekcentrum.com

 
offline
Publié : 26 Janvier 2010 11:51 PM   [ Ignorer ]   [ # 8 ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-06-21

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!

 
offline
Publié : 27 Janvier 2010 08:19 PM   [ Ignorer ]   [ # 9 ]
Newcomer
Rank

Messages :

  • au total : 4
  • 7 derniers jours : 0
Inscrit: 2009-07-01

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 smile

Thnx

 Signature 

http://www.erotiekcentrum.com

 
offline
Publié : 11 Février 2010 04:08 PM   [ Ignorer ]   [ # 10 ]
Beginner
Rank
Avatar

Messages :

  • au total : 14
  • 7 derniers jours : 0
Inscrit: 2009-03-21

Barnie - 27 Janvier 2010 08:19 PM
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 smile

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

 Signature 

Zippoutlet - http://www.zippoutlet.pt.to

 
 
 
Réponse rapide
Nouveau sujet