Hello, I would like to reset the download statistics in PhocaDownload. I have a button "Reset", but it is not active?
Probably I have set some setting wrong, I appreciate help.
KS
How to delete Download statistics?
- KSteinwachs
- Phoca Newbie
- Posts: 5
- Joined: 02 Mar 2023, 08:51
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How to delete Download statistics?
Hi,
which Joomla! version do you use?
which Phoca Download component version do you use?
which PHP version do you use?
Kind regards,
Benno
which Joomla! version do you use?
which Phoca Download component version do you use?
which PHP version do you use?
Kind regards,
Benno
- KSteinwachs
- Phoca Newbie
- Posts: 5
- Joined: 02 Mar 2023, 08:51
Re: How to delete Download statistics?
Sorry:
Joomla: 4.28
Phoca Download: 4.0.5
PHP: 8.0.27
Thanks!
Joomla: 4.28
Phoca Download: 4.0.5
PHP: 8.0.27
Thanks!
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to delete Download statistics?
Hi, to rese the count, you need to select which items should be reseted:
Jan
Jan
If you find Phoca extensions useful, please support the project
- KSteinwachs
- Phoca Newbie
- Posts: 5
- Joined: 02 Mar 2023, 08:51
Re: How to delete Download statistics?
Hi,
this are not the "Downloads" i would like to reset (this works fine) but the "Statistics".
In this section, there is no button called "Clear" as in the "Download" Section
KS
this are not the "Downloads" i would like to reset (this works fine) but the "Statistics".
In this section, there is no button called "Clear" as in the "Download" Section
KS
- KSteinwachs
- Phoca Newbie
- Posts: 5
- Joined: 02 Mar 2023, 08:51
Re: How to delete Download statistics?
I'v made a screenshot for you can see that there is no Button to "clear" the statistics:
https://i.imgur.com/TVplMC5.jpg
https://i.imgur.com/TVplMC5.jpg
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How to delete Download statistics?
HI,
see images: go to your database, table phocadownload, seek the file you want to reset, and set the column 'hits' to 0 (Zero)
Kind regards,
Benno
see images: go to your database, table phocadownload, seek the file you want to reset, and set the column 'hits' to 0 (Zero)
Kind regards,
Benno
- KSteinwachs
- Phoca Newbie
- Posts: 5
- Joined: 02 Mar 2023, 08:51
Re: How to delete Download statistics?
Thank you very much, it worked fine.
BTW: Bug or Feature? It's a bit of a hassle to reset the hits all individually this way?!
BTW: Bug or Feature? It's a bit of a hassle to reset the hits all individually this way?!
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How to delete Download statistics?
You're welcome!
Kind regards,
Benno
Kind regards,
Benno
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to delete Download statistics?
Hi,
or as Benno wrote, per SQL query (if you don't add the WHERE clause there, you can do it for all files at same time)
Jan
you can delete the hits/downloads per file manually:BTW: Bug or Feature? It's a bit of a hassle to reset the hits all individually this way?!
or as Benno wrote, per SQL query (if you don't add the WHERE clause there, you can do it for all files at same time)
Jan
If you find Phoca extensions useful, please support the project