Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles:software:dlcounter_bugtracker

DLCounter Plugin Bugtracker

If you have any issues with the plugin, leave a comment here.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies

Discussion

GourGour, 2021/01/17 08:08
Hello,

thanks a lot for the plugin - just what I need to migrate our non-profit to Dokuwiki!!

However, I have some problems with it - it does count properly, but on the page it does not display same value. iow. I've: {"arhiva:bhagavad-gita:1:1.mp3":4} in download_count.json, but when I visit the page it shows e.g. '3'.

I am trying to render date in both the table ({{dlcounter>file?arhiva:bhagavad-gita:1:1.mp3}}) as well as inline (**{{dlcounter>file?arhiva:bhagavad-gita:1:1.mp3}}** downloads).

Any hint? (Running latest Dokuwiki on Debian.)

Sincerely,
Gour
Phil IdePhil Ide, 2021/01/18 09:57
Did you include the nocache statement at the top of the page?
~~NOCACHE~~
This ensures the page is not served from the cache, or at least is checked for updated components before being served. Once you've added this to the page you need to mark the cache as invalid. The easiest way to do this is to go into the "admin/configuration settings" tool and save without making any changes.
GourGour, 2021/01/18 10:42
> Did you include the nocache statement at the top of the page?

That was it. Thanks a lot!
iddqd_xiddqd_x, 2022/06/14 17:07
Hi Phil!

Great plugin, but I have small issue.

I'm running Hogfather release with latest dlcounter version with php74. But my admin area (index?do=admin&page=dlcounter) doesn't contain any data. Page is empty with no error. I don't have any error in web server log. Should this page contain some data?

The following code ...dlcounter>count... works fine on a separate page. It shows me all download stats for overall wiki.

Thank you.
Phil IdePhil Ide, 2022/06/15 07:06
I don't think you call it that way, it has to be embedded in a page, and as far as I'm aware, the admin pages are separate from the rest of the wiki. I have a stats page that is outside the blog, with access granted only to me - in fact the blog is only a part of this wiki.

Just to make sure I'm not mistaken here, do you have a 'dlcounter' page in the admin section of the disk-folder hierarchy?
iddqd_xiddqd_x, 2022/06/15 08:10
Thanks for reply!

Yes, I have that page. "Admin > dlcounter plugin". But it shows me a blank page. I made a test page that visible only to me with dokuwiki ACL. It shows me all my download stats. But I supposed overall download stats should be avaliable from "Admin > dlcounter plugin" page. Or I'm wrong?
Phil IdePhil Ide, 2022/06/15 12:52
Let me look into it. It might take a few days.
iddqd_xiddqd_x, 2022/06/15 12:56
I also tried switching the PHP version from 5.6 to 7.4 but that didn't help. I'll also check it on a clean dokuwiki setup. Thank you.
Phil IdePhil Ide, 2022/07/01 05:55
Where on the disk is your "Admin > dlcounter" page?
iddqd_xiddqd_x, 2022/07/20 01:39
Hello, sorry for the delay. Under "Admin > dlcounter" I meant page in a browser - https://site dot com/index?do=admin&page=dlcounter. On the disk I have file download_counts.json in directory /path-to-wiki/data/counts. It has all download stats.

Unfortunately, the screenshot cannot be attached here. If you allow me, I can send it to you by mail. Thank you.
Phil IdePhil Ide, 2022/07/20 07:29
I understand, I tried that and see what you mean. I'll compare it with other extensions and figure out the difference. I'll get there!
Enter your comment:
F E I V N
 
blog/articles/software/dlcounter_bugtracker.txt · Last modified: 2019/05/15 06:26 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki