splitbrain / dokuwiki-plugin-statistics

Gather usage/view statistics of a DokuWiki
http://www.dokuwiki.org/plugin:statistics
6 stars 17 forks source link

Pictures not shown if statistics plugin is enabled #69

Open O00001 opened 11 months ago

O00001 commented 11 months ago

When enabling the statsticts plugin, no picture are fetched anymore in my entire dokuwiki installation. Somehow the statistics plugin does not work together with fetch.php from dokuwiki. If Itry to open a picture in a new browser window I get error message:

Exception: Your server can't connect to external resources. Please update the file manually. An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the statistics plugin.

More info has been written to the DokuWiki error log.

isingasimplesong commented 10 months ago

exact same issue here

O00001 commented 10 months ago

I believe in my case it is linked to the fact that I am running dokuwiki in an internal environment that connect to the outside/internet. Looking into to code it seems to do so at least for the browsecap, but despite some hints in the config file, I seem not able to get that turned off - or I maybe did and it didn't help...

isingasimplesong commented 10 months ago

What do you mean, an internal environment ? Mine is running in a docker container, and connecting to a mysql container on the same (portainer) host

O00001 commented 10 months ago

I just meant from where it is installed, the plugins cannot access any external sites. From what I understand, the plugin is at least trying to update browscap.ini via browscap.org.