Order sections in issue ojs 3.1.1.0

Hello everybody.

I use ojs 3.1.1.0 and I can’t order sections in issue. What could be the problem?

  1. Initial state
    panta1
  2. Order and Click “Done”
    panta2
  3. Result
    panta3

Regards
Cristian

Hi @cristianviza,

I tested this on my OJS site and was able to re-order the sections. Do you see any errors in your error log after you press Done?

I have also heard of section ordering not working properly with articles submitted with the Quick Submit Plugin (see [OJS] QuickSubmit in OJS3 breaks custom_section_orders · Issue #2376 · pkp/pkp-lib · GitHub). Did you upload these articles with the Quick Submit Plugin?

Thanks,
Amanda Stevens
Public Knowledge Project Team

Same problem here,

I am using ojs 3.1.2.0 and I can not reorder sections

I do not know if it is relevant, but I submitted the articles with QuickSubmit

What do you think I can do?

Tnanks in advance,

Lucas

Hi @lucaslmdr,

The issue referred to in my last post offers some solutions to the problem. Did you try any of these? It also says that the QuickSubmit plugin was patched with a fix for the problem. So you could also try updating the plugin (depending on how new your OJS install is).

Best regards,
Amanda Stevens
Public Knowledge Project Team

Hi @ astevens,

Thank you very much for your answer.

Yes, I saw the this issue and this one too.

I have OJS and the QuickSubmit module fully updated. However, I checked my files and they are patched.

But now I can confirm that It is not only a problem with QuickSubmit module. We experienced the same problem in an issue completely submitted in the normal way.

Thank you again,

Another idea?

Hi @lucaslmdr,

After you re-order the sections and you click save and the save fails, do you see any errors in your error log?

Thanks,
Amanda Stevens
Public Knowledge Project Team

I’m looking at the general log of the ojs,
Is there another specific log of errors only?

As far as I understand, the log output of the server is ok:

186.137.94.6 - - [05/Jun/2019:18:58:49 -0300] "GET /index.php/PM/$$$call$$$/grid/toc/toc-grid/fetch-grid?issueId=13&_=1559771910206 HTTP/1.1" 200 54343 "http://ojs.politicasdelamemoria.cedinci.org/index.php/PM/manageIssues" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

186.137.94.6 - - [05/Jun/2019:18:58:50 -0300] "GET /index.php/PM/$$$call$$$/grid/issues/back-issue-grid/fetch-grid?_=1559771910207 HTTP/1.1" 200 129684 "http://ojs.politicasdelamemoria.cedinci.org/index.php/PM/manageIssues" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

For comparison, here is another output where the reordering worked:

186.137.94.6 - - [05/Jun/2019:19:03:59 -0300] "GET /index.php/PM/$$$call$$$/grid/toc/toc-grid/fetch-grid?issueId=5&_=1559771910211 HTTP/1.1" 200 182208 "http://ojs.politicasdelamemoria.cedinci.org/index.php/PM/manageIssues" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

186.137.94.6 - - [05/Jun/2019:19:04:15 -0300] "POST /index.php/PM/$$$call$$$/grid/toc/toc-grid/save-sequence?issueId=5 HTTP/1.1" 200 78 "http://ojs.politicasdelamemoria.cedinci.org/index.php/PM/manageIssues" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

186.137.94.6 - - [05/Jun/2019:19:04:16 -0300] "GET /index.php/PM/notification/fetchNotification?_=1559771910214 HTTP/1.1" 200 58 "http://ojs.politicasdelamemoria.cedinci.org/index.php/PM/manageIssues" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

186.137.94.6 - - [05/Jun/2019:19:04:16 -0300] "GET /index.php/PM/$$$call$$$/grid/issues/back-issue-grid/fetch-grid?_=1559771910213 HTTP/1.1" 200 129684 "http://ojs.politicasdelamemoria.cedinci.org/index.php/PM/manageIssues" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

186.137.94.6 - - [05/Jun/2019:19:04:16 -0300] "GET /index.php/PM/$$$call$$$/grid/toc/toc-grid/fetch-grid?issueId=5&_=1559771910212 HTTP/1.1" 200 182208

Thanks!

HI @lucaslmdr,

That is the access log, there should be also error log somewhere…

Regards, Primož

Thanks, primozs

I found the error_log file, here is the problem:

    [06-Jun-2019 19:02:47 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/lib/adodb/adodb.inc.php on line 359
[06-Jun-2019 19:02:47 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[06-Jun-2019 19:02:47 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[06-Jun-2019 19:02:48 UTC] PHP Warning:  Declaration of SubmissionMetadataViewForm::fetch($request) should be compatible with PKPSubmissionMetadataViewForm::fetch($request, $template = NULL, $display = false) in /home8/cedinci/public_html/ojs.politicasdelamemoria/controllers/modals/submissionMetadata/form/SubmissionMetadataViewForm.inc.php on line 18
[06-Jun-2019 19:02:48 UTC] PHP Warning:  Declaration of SubmissionSubjectEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/classes/submission/SubmissionSubjectEntryDAO.inc.php on line 20
[06-Jun-2019 19:02:48 UTC] PHP Warning:  Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 45
[06-Jun-2019 19:02:48 UTC] PHP Warning:  Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/classes/submission/SubmissionDisciplineEntryDAO.inc.php on line 44
[06-Jun-2019 19:02:48 UTC] PHP Warning:  Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 44
[06-Jun-2019 19:02:48 UTC] PHP Warning:  Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 46
[06-Jun-2019 19:02:49 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/lib/adodb/adodb.inc.php on line 263
[06-Jun-2019 19:02:49 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/lib/adodb/adodb.inc.php on line 359
[06-Jun-2019 19:02:49 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home8/cedinci/public_html/ojs.politicasdelamemoria/lib/pkp/lib/adodb/adodb.inc.php on line 2921

What do you think?

Thanks in advance!

Hello, I know it is an older thread but, after migrating to 3.3.0.7 I cannot re-order sections, either from journal settings/sections or within an issue using re-order.
Has there been further information or solutions on this?
Thank you!!
Lucia

Hi @lsteele,

There is a known bug in 3.3 where if you created a section after you created an issue, you can’t reorder the sections in the issue. There is a patch available at New sections added to an Issue can't be custom ordered if the issue has already been custom ordered · Issue #6828 · pkp/pkp-lib · GitHub.

Best,
Amanda Stevens
Public Knowledge Project team