Hello there … I have received reports from journal managers about the lack of Contry/City/Region information from Custom Reports
I have serached the forums and found some posts related to this same issue for earlier versions of OJS and tried to follow the OJS Documentation to configure the system to provide the info we are lacking, but with no luck …
Scheduled tasks are set to On in config.inc
Acron plugin is enabled
Docs point to download the “GeoLiteCity.dat” file into /plugins/generic/usageStats directory (usageStats plugin’s README file says it only requires “GeoIP.dat” file. I guess they are the same) from the site: http://maxmind.com/download/geoip/database/ But that file is no longer being provided from that site as they moved to a new GeoLite2 format
I have also moved all logs generated on July from the archive directory to the stage directory (under the files/usageStats directory) and ran php tools/runScheduledTasks.php plugins/generic/usageStats/scheduledTasks.xml. The files get processed but there is still no Country/City information on reports
My guess is that either the plugin is not finding the GeoLiteCity.dat or the one I’ve downloaded doesn’t work … but as I cannot find any error regarding this in the server logs… I don’t know how to fix it.
Hi @hilongo, I’m not too familiar with this part of the code, but I’ve asked some colleagues. Can you tell us what application and version you’re using?
Hi @NateWr thanks for taking the time … I’m working with an OJS 3.3.0.5 on a Debian 10 with PHP 7.3
The PKP Usage statistics report plugin is activated but I found out that it has a Reports option (I guess that it should point to the plugin’s setting) that leads to a blank page with no error reported in the logs
So you are going to Statistics > Reports > PKP Usage Statistics Report and it’s returning a blank page? If so, then you’re running into a fatal error. If you’re not seeing anything in the logs, you may not be checking the correct logs.
Ah, that clears things up. Thanks @hilongo, I’ve identified the issue and prepared a fix. Unless there are any unexpected issues, it will go out with the next maintenance release: 3.3.0-8. You can follow progress here.
I really don’t know. It really depends on whether you have the country/city data in your database or not (have you checked the metrics table?). This only fixes the white-screen error, so if you don’t have the data in your database it won’t have any impact on that.