OJS 3.3.0 is not displaying statistics

Hello, good morning,

I am pretty desesperated about this issue, I have tried changing permissions, changing php version, changing a lot of nosense parameters just for give a try.

I have also installed a couple of fresh OJS, one locally, one other remote, to make tests and in those when I click on the statistics link I get an error 500, in both of them, what is going on there?

Any ideas, please?, is it possible sending anyone my logs so he can proccess them in other OJS installation?, or maybe is there any script, even some excel tool, to get some data from the log files.

Thank’s

Kike

Hello @kikeconk ! … Sorry to hear you still have problems! If you want you can send me a few of your statistics log files and I’ll be happy to test them out. But I doubt that the problem is related to the log files themselves.

Thank’s, how can i send them?, a link here in the forum or what’s is the right way?

It does not seem a problem related with the log files, but I am trying anything.

Good morning:

I’m not sure if I should open a new thread or continue in this one, let me know please.

The fact is that I still have the same problem, last year I just gave up, I could never solve it. But now I really need the Statistics, is mandatory, so I should solve it I can’t figure out how.

I’ve searching through the forum, I have tried different approaches but it does not work, the Statistics are not being shown in my panel. OJS 3.3, by the way.

A short list of some tries and issues:

-I have tried to enforce the proccess, moving some logs to stage folder and executing runScheduledTasks.php, as @hilongo and @cager kindly suggested. It does nothing

-I have created a fresh installation, OJS 3.3, in another server. In this one the enforcing works, but the Statistic are not displayed, the graphic remain plain and the reports show no visitis.
(Just in case, in the fresh installation there are no articles but visits to the main page should be registered, right?)

-I don’t know if this means anything, but when I change, in module settings, from line to bars and it changes nothing in my panel. Neither in the production site nor in the fresh installation.

I don’t know what to do, I made the fresh installations in another server thinking maybe the problem was in the main server and when I saw it didn’t work neither I got shocked. What can I possibly doing worng if I follow each step?

Maybe a PHP extension?, I don’t know.

Please, help me, please

Thank’s

Kike

It’s long that since we moved from 3.3 - but let me brainstorm what I recall what you could try (maybe some combination might be required).

  1. you should be able to see the log files move from files/usageStats/usageEventLogs to files/usageStats/archive (and for short time in between in files/usageStats/stage and files/usageStats/dispatch) - would be interesting where yours get stuck.
  2. you could try the other invocations mentioned in https://docs.pkp.sfu.ca/admin-guide/3.3/en/statistics#2-configure-a-server-side-cron-job (I recall manual staging working for me)
  3. I think there was an issue where scheduled tasks would not be started.
  4. if there was an php issue I’d expect you get some output on the command line. What exactly is printed out?