I am getting a lot of (thousands) these errors when running scheduled tasks: [Warning] The line number X from the file /files/usageStats/processing/usage_events_20170207.log contains an url that the system can't remove the base url from.
Basically all rows with an url like this are causing the warning http://site.fi/journal/article/download/7897/6303/21280
If an url does not have “download” in it, there seems to be no warnings.
Does this mean that all file downloads are now not being counted?
I have five override settings for subdomains. It seems that the download hits for those journals are not causing errors. At least I can not seem to find any.
Edit: however, there are also cases where a download hit has not caused a warning and the journal base_url is the default url.
But, in all cases where there is an error, the url is a download url.
I would then also need your config.inc.php (with all the URLs configurations – other parts I do not need).
Hmmm… I am not sure about restfull url’s? Where to look for that?
The problem was that our site has five journals using subdomains and these subdomains are defined in config.inc.php with base_url settings. The rest of the journals are using the default url format.
However, while debugging this we noticed that only the journals with base_url’s defined were getting hits in the metrics table. The way I solved this was that I added base_url settings for all journals to the config.inc.php, so also for those that use the default http://domain.fi/journalname/