Philip P. Ide

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

User Tools

Site Tools


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


GourGour, 2021/01/17 08:08

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.)

Phil IdePhil Ide, 2021/01/18 09:57
Did you include the nocache statement at the top of the page?
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:
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
  • ISSplugin-autotooltip__default plugin-autotooltip_bigInternational Space Station

    This page has a portal through which you can view the current location of the International Space Station, updating in real-time. The tracker itself comes from the European Space Agency (ESA).

    There is also a handy link to get email notifications direct from NASA when the ISS is visible in your night sky.
  • Mars Weatherplugin-autotooltip__default plugin-autotooltip_bigMars Weather

    Weather Reports Insight Lander Perseverance Rover Curiosity data to come [Current positions of Earth and Mars] Image courtesy of and © Dominic Ford

    This image is updated once per week. A daily update is available on the Mars Solar Conjunctions page when such events are active.

    You can check the position of Mars vs the Sun and Earth for any date here:
  • Downloadsplugin-autotooltip__default plugin-autotooltip_bigDownloads

    Orbital Calculator Current Version This is a portable application, meaning there is no installer. Just unzip into a folder and run the executable. Since it is portable, it can be run from a USB stick.

    A full description and a list of the features are available
  • Orbital Calculatorplugin-autotooltip__default plugin-autotooltip_bigOrbital Calculator

    I needed to calculate orbital characteristics for any orbit around any gravitational mass (because I write sci-fi stories), so I wrote this program because I'm a programmer and I'm too lazy to do it by hand all the time. The program has expanded over the last few years, sometimes from suggestions by other writers. I make it freely available and as simple to use as possible. It now has a list of functions as long as your arm (assuming you're not a tentacle user), and the numbe…
  • Cookie Policy & GDPRplugin-autotooltip__default plugin-autotooltip_bigCookie Policy & GDPR

    There are NO tracking cookies on this site!

    The Cookie policy is straightforward. This site only uses cookies that are required to make your experience of using this site better, and only uses session cookies (see exceptions below). Session cookies are deleted when you close your browser.
  • Book Reviewsplugin-autotooltip__default plugin-autotooltip_bigBook Reviews

    Here you can find all the book reviews, broken down by genre, and further subdivided by author. If you want me to review your novel, please read my Rules on Reviewing.

    * Science-Fiction * Fantasy * Non-Fiction
  • Contactplugin-autotooltip__default plugin-autotooltip_bigContact

    If you have a burning desire to contact me, use the discussion form below. Anything you say remains private between you and me.