UsageStats CommonError

Hello,

I own a OJS 2.4.5. install and I’ve been receiving the following mail notification :


Subject: ##plugins.generic.usageStats.usageStatsLoaderName## - 558519e28acb7 - ##common.error##

http://www.la-recherche-en-education.org

[2015-06-20 09:44:34] [##common.notice##] ##admin.scheduledTask.startTime##

[2015-06-20 09:44:35] [##common.notice##]
##admin.fileLoader.fileProcessed##

[2015-06-20 09:44:35] [##common.notice##] ##admin.scheduledTask.stopTime##


Both directories “…/Files/journal/usageStats/archive” and “…/Files/journal/usageStats/usageEventLogs” exist and the events are successfully logged.
Can someone help interpret the described error?

Best,
Taliesin

There are two parts to this:

  1. In your journal’s default locale, the strings specified between the ##hashmarks## have not been translated.

  2. The “errors” report are really just informational notices. Nothing is wrong; the email is just reporting that a file has been processed. To suppress these notices and only receive error emails, in config.inc.php, set scheduled_tasks_report_error_only = On

Hello.

That’s great news :slight_smile:
I’ll do just that. Thanks a lot

Taliesin

Hello again,

My config.inc.php had no instruction “scheduled_tasks_report_error_only”. So I just added the “scheduled_tasks_report_error_only = On” and waited.
Unfortunately I received the same report today.

Is there something new I can try or am I doing this wrong?

Best,
Taliesin

You may be encountering this bug:
http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8917

If so, you can resolve this by this patch:
https://github.com/ulsdevteam/ojs/commit/8e853304fe2b88b21b5d5dd1bc8a2502bb713de3.diff
or by upgrading to the git stable-2_4_5 branch or the 2.4.6 release.

Thank you, it worked :slight_smile: