Error when submitting revision files in OJS 3.1.0.1

We have run into a problem with files submitted in the revisions area for a submission in the review process. I have attached a screen shot of the error and the OJS error log. It is the http error in red in the picture.

The submitting author found this problem. The author uploaded a revised submission and then tried to also upload another file with comments to the reviewers. I am not sure if they were both uploaded at the same time. They were both Word docx files. I tried to upload the second file in my role as section editor and experienced the same problem. Revision%20File%20Upload

Here is the error log at the time of the attempt.

Thanks for your help.

Rick

====================================================
[05-Jul-2018 16:09:37 America/New_York] PHP Strict Standards: Only variables should be assigned by reference in /home/jamtorg/public_html/OJS3/pages/index/IndexHandler.inc.php on line 68
[05-Jul-2018 16:09:37 America/New_York] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
[05-Jul-2018 16:09:37 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:49 America/New_York] PHP Strict Standards: Non-static method Validation::verifyPassword() should not be called statically in /home/jamtorg/public_html/OJS3/lib/pkp/classes/security/Validation.inc.php on line 58
[05-Jul-2018 16:09:49 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:50 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:51 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:51 America/New_York] PHP Strict Standards: Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[05-Jul-2018 16:09:51 America/New_York] PHP Strict Standards: Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[05-Jul-2018 16:09:52 America/New_York] PHP Strict Standards: Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[05-Jul-2018 16:09:53 America/New_York] PHP Strict Standards: Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[05-Jul-2018 16:09:53 America/New_York] PHP Strict Standards: Declaration of QueriesGridCellProvider::getCellActions() should be compatible with GridCellProvider::getCellActions($request, $row, $column, $position = GRID_ACTION_POSITION_DEFAULT) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/queries/QueriesGridCellProvider.inc.php on line 18
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of CategoryGridHandler::doSpecificFetchGridActions() should be compatible with GridHandler::doSpecificFetchGridActions($args, $request, $templateMgr) in /home/jamtorg/public_html/OJS3/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php on line 493
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of StageParticipantGridHandler::initialize() should be compatible with CategoryGridHandler::initialize($request, $args = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/users/stageParticipant/StageParticipantGridHandler.inc.php on line 24
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of StageParticipantGridHandler::loadCategoryData() should be compatible with CategoryGridHandler::loadCategoryData($request, &$categoryDataElement, $filter = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/users/stageParticipant/StageParticipantGridHandler.inc.php on line 24
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php on line 526
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of FileListGridHandler::initialize() should be compatible with SubmissionFilesGridHandler::initialize($request, $args = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/files/fileList/FileListGridHandler.inc.php on line 22
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of FileListGridHandler::initialize() should be compatible with SubmissionFilesGridHandler::initialize($request, $args = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/files/fileList/FileListGridHandler.inc.php on line 22
[05-Jul-2018 16:09:54 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:58 America/New_York] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 544
[05-Jul-2018 16:09:58 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:59 America/New_York] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::initialize() should be compatible with PKPHandler::initialize($request) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 544
[05-Jul-2018 16:09:59 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:09:59 America/New_York] PHP Strict Standards: Declaration of PKPSubmissionFilesUploadBaseForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/wizard/fileUpload/form/PKPSubmissionFilesUploadBaseForm.inc.php on line 20
[05-Jul-2018 16:09:59 America/New_York] PHP Strict Standards: Declaration of SubmissionFilesUploadForm::validate() should be compatible with Form::validate($callHooks = true) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php on line 19
[05-Jul-2018 16:09:59 America/New_York] PHP Strict Standards: Declaration of SubmissionFilesUploadForm::execute() should be compatible with Form::execute() in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php on line 19
[05-Jul-2018 16:09:59 America/New_York] PHP Strict Standards: Only variables should be assigned by reference in /home/jamtorg/public_html/OJS3/controllers/wizard/fileUpload/form/SubmissionFilesUploadBaseForm.inc.php on line 47
[05-Jul-2018 16:09:59 America/New_York] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/classes/form/Form.inc.php on line 369
[05-Jul-2018 16:09:59 America/New_York] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[05-Jul-2018 16:11:56 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:11:56 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:11:56 America/New_York] PHP Strict Standards: Declaration of SubmissionFileEventLogGridHandler::initialize() should be compatible with SubmissionEventLogGridHandler::initialize($request, $args = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/eventLog/SubmissionFileEventLogGridHandler.inc.php on line 19
[05-Jul-2018 16:11:56 America/New_York] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jamtorg/public_html/OJS3/classes/article/SubmissionFileDAO.inc.php on line 23
[05-Jul-2018 16:12:08 America/New_York] PHP Strict Standards: Declaration of GenreGridHandler::initialize() should be compatible with SetupGridHandler::initialize($request, $args = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/settings/genre/GenreGridHandler.inc.php on line 20
[05-Jul-2018 16:12:10 America/New_York] PHP Strict Standards: Declaration of ContextSettingsForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/jamtorg/public_html/OJS3/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[05-Jul-2018 16:12:10 America/New_York] PHP Strict Standards: Declaration of ContextSettingsForm::initData() should be compatible with Form::initData() in /home/jamtorg/public_html/OJS3/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[05-Jul-2018 16:12:10 America/New_York] PHP Strict Standards: Declaration of ContextSettingsForm::readInputData() should be compatible with Form::readInputData() in /home/jamtorg/public_html/OJS3/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[05-Jul-2018 16:12:10 America/New_York] PHP Strict Standards: Declaration of ContextSettingsForm::execute() should be compatible with Form::execute() in /home/jamtorg/public_html/OJS3/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[05-Jul-2018 16:12:10 America/New_York] PHP Strict Standards: Declaration of EmailTemplatesForm::fetch() should be compatible with ContextSettingsForm::fetch($request, $params = NULL) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/tab/settings/emailTemplates/form/EmailTemplatesForm.inc.php on line 18
[05-Jul-2018 16:12:10 America/New_York] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/classes/form/Form.inc.php on line 369
[05-Jul-2018 16:12:10 America/New_York] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[05-Jul-2018 16:12:10 America/New_York] PHP Strict Standards: Declaration of PreparedEmailsGridHandler::authorize() should be compatible with GridHandler::authorize($request, &$args, $roleAssignments) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/settings/preparedEmails/PreparedEmailsGridHandler.inc.php on line 307
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:10 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:11 America/New_York] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPApplication.inc.php on line 702
[05-Jul-2018 16:12:21 America/New_York] PHP Strict Standards: Declaration of PreparedEmailsGridHandler::authorize() should be compatible with GridHandler::authorize($request, &$args, $roleAssignments) in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/settings/preparedEmails/PreparedEmailsGridHandler.inc.php on line 307
[05-Jul-2018 16:12:21 America/New_York] PHP Strict Standards: Declaration of PreparedEmailForm::initData() should be compatible with Form::initData() in /home/jamtorg/public_html/OJS3/lib/pkp/controllers/grid/settings/preparedEmails/form/PreparedEmailForm.inc.php on line 19
[05-Jul-2018 16:12:21 America/New_York] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/classes/form/Form.inc.php on line 369
[05-Jul-2018 16:12:21 America/New_York] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jamtorg/public_html/OJS3/lib/pkp/classes/core/PKPRequest.inc.php on line 592

An addendum. This worked for another user two weeks ago. We have not changed the OJS system. Is it possible that an attempt was made after one file was uploaded and then later in another session the user and I attempted to upload the other file?

Here are the instructions in the revision request email and I have attached a screenshot of a success on 6/21/18.

Thanks

==================================================
Under the Revisions box click on Upload File to upload your revised file as Article Text under Article Components.

After the revised file is uploaded a page that says File Added is displayed. Next click on Add Another File. There will be a box with a label “If you are uploading a revision of an existing file, please indicate which file.” The box will say “This is not a revision of an existing file” Leave this and then click on Upload File. Select the comments to reviewer file from your computer. Click on Continue. Add any comments on the comments boxes. These are not necessary. Ignore the other boxes and click on Continue. On the next page click on Complete

On the next page you will see Revisions have been submitted. At this point your revisions are complete and you can log out.Revision%20File%20Upload%20Sucess

After running several tests with my test account I was not able to replicate the error. I tried adding files and deleting them and re-adding them. All worked OK.

I went back to the file that the author had uploaded and tried again. Same error as above. I then copied the contents of the file to a new docx file. The new file was successfully uploaded. My guess is that the docx file that the author created was somehow corrupted. Maybe this is the cause of the Http error.

I hope that if someone else experiences this that they try my approach.

Let me know if you concur.

Thanks

Rick

Hi @RickMath,

I suspect your server is running mod_security or some other security tool outside of OJS that filters/monitors incoming requests for potential attacks. Something about that file is probably triggering it; usually these kinds of tools have a log on the server recording interventions. Because the tool intervenes before OJS receives the request, there’s nothing you can do at the OJS level – it has to be the web server configuration level.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks Alec! At least we will know what to look for if this happens again. Glad to know it is not likely to be an OCS problem.

Your help is always greatly appreciated! :grinning:

Rick

I have this same problem: After upgrade to OJS 3, Revisions can’t be uploaded.

But for me, it’s definitely reproducible. I can’t find a file that will upload to the “Revisions” area. And, files that won’t upload to “Revisions” will upload to other areas of the software, for example as a new submission or in “Review Files”.

This problem is only for one journal that I know of on a multi journal install. I can’t reproduce for articles in a similar place in the review process in another journal.

Is there anything related to upload of the Revisions, specifically, that would be different from other kinds of uploads? And what can I check on in the web interface or otherwise?

Hi @randtke,

Do you see anything helpful in your PHP error log?

Regards,
Alec Smecher
Public Knowledge Project Team

Ah, I think we figured it out.

A good user and group for the submission files on our server is apache ojs. During upgrade, the upgrade script was run by ojsadmin user. So, when the upgrade script created any directories, for example, new locations for PDFs and other submission and revision files, it assigned ojsadmin user and ojsadmin group to those new directories. Because it’s only directories created by the migration script, that explains why some author revisions can be uploaded (ones where there was no file before upgrade so the application is making the target file during upload), but some can’t (ones where this is an additional file and the upgrade script made a target directory and put an existing file into it). Also, I hadn’t found it in testing, because I clicked through processes where the application created the directories. I was clicking things through the submission process from different points but not from having an author revision then adding a supplementary file to that author revision.

The upgrade script was making new directories like /journals/xxxxxx/articles/xxxxxx/submission/review/revision/ . Those new directories within review/

And, it affects only one journal, because their publishing schedule is such that the upgrade fell right during a 2 week author revision window. So, some authors uploaded, then made additional edits, and want to reupload… to a directory created when the upgrade script moved their first upload.

To fix it, we will recursively change the group and owner on submission files just for that journal before the 4th of July 4 day weekend, and then for all journals after the 4 day weekend so that we are available after changes in case of anything unintended.

By the way, I wish this were more spelled out How should file permissions be set? - #2 by ctgraham . I guess a lot is server specific - what workgroups exist. Or maybe in the https://pkp.sfu.ca/ojs/UPGRADE have some note about setting user and group after the upgrade script does it’s thing, since it subtle enough we didn’t flush it out in testing.

Hi @randtke,

I’m afraid it’s impossible to give a single set of instructions for file permissions because of the number of permutations – is the server Windows-based or *NIX? Does the server use mod_php or FastCGI/CGI? If FastCGI/CGI, does it run scripts setuid? Does the server use SELinux extensions? Each of these questions results in an entirely different set of instructions, and any of these can be tweaked by the particular distribution or host in question. Essentially we can give a simple description what OJS needs (“OJS needs to be able to administer the files in X, Y, and Z directories”), but how the system administrator achieves that is more of a sysadmin question than an OJS question.

Regards,
Alec Smecher
Public Knowledge Project Team

I agree, this should be better described in the UPGRADE documentation, specifically to say that the upgrade.php script should be run as the web user, and if not, file permissions will need to be manually managed.