OJS 3.1.0.1 Can't assign file in review procces

Hi, after upgrade to 3.1.0.1 version we have serious problems with the process of document manipulation. In addition to the problem of adding files when we are in submission stage. When paper is sent to review stage and we have to select file for review process it is not possible to add / select a file. Files are displayed, but when you select and click OK, nothing happens.

Error log:

[Thu Feb 22 03:01:25.142227 2018] [fcgid:warn] [pid 23596] [client 66.249.70.7:35578] mod_fcgid: stderr: ojs2: 404 Not Found
[Thu Feb 22 03:32:06.325553 2018] [fcgid:warn] [pid 25803] [client 40.77.167.32:11151] mod_fcgid: stderr: PHP Warning:  DOMDocument::schemaValidate(https://www.crossref.org/schemas/crossref4.3.6.xsd): failed to open stream: Connection timed out in /var/www/clients/client1/web20/web/lib/pkp/classes/xslt/XMLTypeDescription.inc.php on line 133
[Thu Feb 22 03:32:06.325642 2018] [fcgid:warn] [pid 25803] [client 40.77.167.32:11151] mod_fcgid: stderr: PHP Warning:  DOMDocument::schemaValidate(): Invalid Schema in /var/www/clients/client1/web20/web/lib/pkp/classes/xslt/XMLTypeDescription.inc.php on line 133
[Thu Feb 22 03:32:06.325874 2018] [fcgid:warn] [pid 25803] (104)Connection reset by peer: [client 40.77.167.32:11151] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Thu Feb 22 04:15:54.136233 2018] [fcgid:warn] [pid 26871] [client 66.249.70.1:47531] mod_fcgid: stderr: ojs2: 404 Not Found
[Thu Feb 22 04:34:24.977604 2018] [fcgid:warn] [pid 26871] [client 188.2.24.63:52105] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:29.488847 2018] [fcgid:warn] [pid 23596] [client 188.2.24.63:52104] mod_fcgid: stderr: PHP Notice:  Undefined variable: editorActions in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 336, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:29.488899 2018] [fcgid:warn] [pid 23596] [client 188.2.24.63:52104] mod_fcgid: stderr: PHP Notice:  Undefined variable: lastRecommendation in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 339, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:29.488926 2018] [fcgid:warn] [pid 23596] [client 188.2.24.63:52104] mod_fcgid: stderr: PHP Notice:  Undefined variable: allRecommendations in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 340, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:29.663762 2018] [fcgid:warn] [pid 26871] [client 188.2.24.63:52105] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:33.962673 2018] [fcgid:warn] [pid 23596] [client 188.2.24.63:52104] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:34.331530 2018] [fcgid:warn] [pid 23596] [client 188.2.24.63:52104] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:34:38.773765 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52106] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:04.423836 2018] [fcgid:warn] [pid 24980] [client 188.2.24.63:52113] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:04.582415 2018] [fcgid:warn] [pid 24980] [client 188.2.24.63:52113] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:06.307045 2018] [fcgid:warn] [pid 24980] [client 188.2.24.63:52113] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:12.277247 2018] [fcgid:warn] [pid 27932] [client 188.2.24.63:52116] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:12.277271 2018] [fcgid:warn] [pid 27932] [client 188.2.24.63:52116] mod_fcgid: stderr: ojs2: Unknown locale component , referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:49.593142 2018] [fcgid:warn] [pid 30513] [client 188.2.24.63:52125] mod_fcgid: stderr: PHP Notice:  Undefined variable: editorActions in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 336, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:49.593179 2018] [fcgid:warn] [pid 30513] [client 188.2.24.63:52125] mod_fcgid: stderr: PHP Notice:  Undefined variable: lastRecommendation in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 339, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:49.593185 2018] [fcgid:warn] [pid 30513] [client 188.2.24.63:52125] mod_fcgid: stderr: PHP Notice:  Undefined variable: allRecommendations in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 340, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:49.746410 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52130] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:53.979582 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52130] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:54.412906 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52130] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:35:56.899017 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52130] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:01.805218 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52130] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:01.805249 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52130] mod_fcgid: stderr: ojs2: Unknown locale component , referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:43.106441 2018] [fcgid:warn] [pid 28166] [client 188.2.24.63:52137] mod_fcgid: stderr: PHP Notice:  Undefined variable: editorActions in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 336, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:43.106474 2018] [fcgid:warn] [pid 28166] [client 188.2.24.63:52137] mod_fcgid: stderr: PHP Notice:  Undefined variable: lastRecommendation in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 339, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:43.106477 2018] [fcgid:warn] [pid 28166] [client 188.2.24.63:52137] mod_fcgid: stderr: PHP Notice:  Undefined variable: allRecommendations in /var/www/clients/client1/web20/web/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 340, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:43.301920 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52138] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:45.725035 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52138] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:45.940110 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52138] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:47.605771 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52138] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:52.645724 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52138] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:36:52.645761 2018] [fcgid:warn] [pid 26631] [client 188.2.24.63:52138] mod_fcgid: stderr: ojs2: Unknown locale component , referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:50:40.040015 2018] [fcgid:warn] [pid 28166] [client 188.2.24.63:52192] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:50:40.333979 2018] [fcgid:warn] [pid 28166] [client 188.2.24.63:52192] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:50:42.360997 2018] [fcgid:warn] [pid 28166] [client 188.2.24.63:52192] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:51:08.459950 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52195] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /var/www/clients/client1/web20/web/lib/pkp/classes/context/Context.inc.php on line 206, referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3
[Thu Feb 22 04:51:08.459975 2018] [fcgid:warn] [pid 26010] [client 188.2.24.63:52195] mod_fcgid: stderr: ojs2: Unknown locale component , referer: http://primenjena.psihologija.ff.uns.ac.rs/index.php/pp/workflow/index/2086/3

Is that what reviewer see and file are not usable by reviewer?

No when you access process as manager or editor you can’t add file (or check one) that should be included in review process, so you can’t send review request because there is nothing to review.

Hi @knjigor

I also saw your other post OJS 3.1.0.1 - Can't upload file in Subbmision stage as JM but I have no idea what is happening in your installation :frowning: – I cannot reproduce it :frowning:
There are some problems with the old sr_SR language – did you use it in 2.4.x? – that does not exist in OJS 3.1 any more, and this is leading to some warnings in the error log (eventually those mentioned here OJS 3.1.0.1 PHP Errors), but…
Hmmm…
You do always get that "Unknown locale component , " error…
Hmmm…
Would it be maybe possible for you to send me (bozana dot bokan at posteo dot net) your anonymized DB dump and files?

Best,
Bozana

Hi @bozana
I’m sorry I did not answer before, I became a dad for the first time last Thursday so I did not have time to dig into the problem. In short, I reviewed the problematic submissions and added the missing languages and elements (in one submission there was a missing title in Serbian, and in the other determinant of the language of submission), and that has enabled further workflow.
I have to investigate further more to be sure to resolve this, but that wouldn’t be before next week.

1 Like

(Congratulations, @knjigor!)

1 Like

Thanx :slight_smile:

Hi @knjigor,

That’s a wonderful news! A special event!
:fireworks::dizzy::star2::tada::confetti_ball::tada::confetti_ball::tada::confetti_ball:
Congratulations!!!
Enjoy and take any time you/your family needs!

Best wishes!
Bozana :sun_with_face:

1 Like

Hi @asmecher @bozana
Thank you for kind words and congratulations :slight_smile:
I spent some time and dig into the problem a bit more using instructions @bozana gave me, problem lies in fact that when authors submit they papers and choose Serbian as a language of submission (locale) it is not recorded in database, as @bozana pointed entry is NULL. If I select language (locale) in metadata page and hit save, everything works ok then. I have tested this on two of our installations and it is identical situation. Basically problem is in fact that OJS doesn’t record submission language. Could someone please take a closer look in this?

Hi @knjigor

I’ve tested it in my local installation, after the right migration from sr_SR to sr_RS@latin and everything works well. Thus, did you fix/migrate the old sr_SR values in your DB? Also the setting_values for supportedFromLocales, supportedLocales and supportedSubmissionLocales in the DB table journal_settings (as written in the e-mail)?
S. the changes here, for the correct migration from sr_SR to sr_RS@latin or sr_RS@cyrillic: sr_SR migration to either sr_RS@latin or sr_RS@cyrillic · Issue #3416 · pkp/pkp-lib · GitHub.
But note that you would at least need to fix those journal_settings manually, because they already contain the wrong values.

Best,
Bozana

Hi @bozana
I have spent yesterday to clean database, there are only two locales now (en_EN and sr_RS@cyrillic), mainly I have done this manually going trough tables, but at final stage I have patched DB with sr_SR migration to either sr_RS@latin or sr_RS@cyrillic · Issue #3416 · pkp/pkp-lib · GitHub just to be sure that I didn’t miss anything. I have solved wrong entries as you suggested in email, and also fix those journal_settings errors and plugin errors.
I have made test submission and finish whole workflow with it and there was no problems or errors. I can assume that problem was in mixed locales in db and that this is fixed now. I will start fixing this errors for other journals sites.

Thank you all for big help with this.

Hi @knjigor, thanks for reporting! Glad that it works now! :slight_smile: