Jump to content

[SOLVED] Stats in BO dashboard are duplicating


Recommended Posts

Hi all

 

I've been successfully using my prestashop shop for a couple months now, and the software is very good. I am very happy with my site.

 

However, I've just recently had an issue, with the stats dashboard. It seems to be a bug, and if this is posted in the wrong place, please let me know how to resolve this in the correct method.

 

Basically, over the last few days, the stats for visits/orders for each day, are being duplicated and giving me false information, please see the attached screen shot. You will see in the red box, note the duplication of previous date entries.

 

Any ideas on how to resolve this? I have searched and not found anyone else with a similar issue.

 

my version of PS is 1.4.4.1

 

many thanks

post-285772-0-92031900-1320694263_thumb.jpg

Link to comment
Share on other sites

Hi Mike

 

Thanks for the quick reply.

I have replaced the file in the /modules/statsforecast/statsforecast.php with the one you have sent, however its made no noticable change as yet, would it rectify stats from now on? or should it have resolved those last four lines of data instantaneously?

 

Also, I noticed the stats used to update in real time, but around a month into using the site stats, it would only show data for the day on the day after - if you get what I mean - is there a way of having them real-time again?

 

Many thanks once again.

R

 

Actually, having just looked at it again, it seems to be worse now... see attached screen shot. Its even logging loads of sales and registrations where there actually havent been any too, which is quite odd.

post-285772-0-79898700-1320696185_thumb.jpg

Link to comment
Share on other sites

Mike, I've just updated that post with a screenshot.

Not cleared smarty cache.. do I do that in the BO?

 

thanks

 

The most comprehensive way to do it is via FTP in your tools/smarty/cache directory. Delete everything EXCEPT the index.php file, and see if that helps you out. If it doesn't though, I would recommend that you check back tomorrow, considering that your stats have been arriving the following day lately anyway.

If you have any additional questions, just let me know!

 

-Mike

Link to comment
Share on other sites

Hi Mike

 

Thanks again. Here is the screenshot of all the files in that cache folder...I cannot even see an index.php file in there, so thought I'd run it by you...

 

Any idea why the stats only update on the day after now? Must be my website host server right?

post-285772-0-05321800-1320696631_thumb.jpg

Link to comment
Share on other sites

Go ahead and clear them all out. As for the stats, I can't say for sure because I don't have much experience with that specific module and my test environments for helping identify issues and solve problems don't get many sales which could give me daily statistics :P .

 

Hopefully this will all be settled by tomorrow though.

 

-Mike

Link to comment
Share on other sites

I noticed this afternoon that my ftp server time was out by 1 hour - (we've had a clocks change in the UK on Oct 30th by 1hour)... They have just corrected the issue and the time is now correct on the server as of right now. DO you think this could have something to do with it? Also, my host moved my website to a different server on 23rd of October.

 

many thanks

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...