Can not delete submission in OJS 3.1

We have upgraded from 2.4 to 3.1.0-1 and now we get errors in the submission area.

I tried to delete a submission and get:
error-subm-ojs

I click OK, and then nothing happends:
error-subm-ojs2

The first error message appears every now and then, but is definitely reproduced when I try to delete a submission.

Here is the PHP error log at the moment of the error:

[05-Mar-2018 14:16:49 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
...
[05-Mar-2018 14:18:09 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:31 Europe/Belgrade] PHP Strict Standards:  Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in C:\inetpub\wwwroot\lib\pkp\pages\workflow\PKPWorkflowHandler.inc.php on line 526
[05-Mar-2018 14:18:32 Europe/Belgrade] PHP Strict Standards:  Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in C:\inetpub\wwwroot\lib\pkp\pages\workflow\PKPWorkflowHandler.inc.php on line 526
[05-Mar-2018 14:18:33 Europe/Belgrade] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
[05-Mar-2018 14:18:34 Europe/Belgrade] PHP Strict Standards:  Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in C:\inetpub\wwwroot\lib\pkp\pages\workflow\PKPWorkflowHandler.inc.php on line 526
[05-Mar-2018 14:18:36 Europe/Belgrade] PHP Strict Standards:  Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in C:\inetpub\wwwroot\lib\pkp\pages\workflow\PKPWorkflowHandler.inc.php on line 526
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in C:\inetpub\wwwroot\lib\pkp\pages\workflow\PKPWorkflowHandler.inc.php on line 526
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of CategoryGridHandler::doSpecificFetchGridActions() should be compatible with GridHandler::doSpecificFetchGridActions($args, $request, $templateMgr) in C:\inetpub\wwwroot\lib\pkp\classes\controllers\grid\CategoryGridHandler.inc.php on line 493
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of StageParticipantGridHandler::initialize() should be compatible with CategoryGridHandler::initialize($request, $args = NULL) in C:\inetpub\wwwroot\lib\pkp\controllers\grid\users\stageParticipant\StageParticipantGridHandler.inc.php on line 24
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of StageParticipantGridHandler::loadCategoryData() should be compatible with CategoryGridHandler::loadCategoryData($request, &$categoryDataElement, $filter = NULL) in C:\inetpub\wwwroot\lib\pkp\controllers\grid\users\stageParticipant\StageParticipantGridHandler.inc.php on line 24
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of FileListGridHandler::initialize() should be compatible with SubmissionFilesGridHandler::initialize($request, $args = NULL) in C:\inetpub\wwwroot\lib\pkp\controllers\grid\files\fileList\FileListGridHandler.inc.php on line 22
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:39 Europe/Belgrade] PHP Strict Standards:  Declaration of QueriesGridCellProvider::getCellActions() should be compatible with GridCellProvider::getCellActions($request, $row, $column, $position = GRID_ACTION_POSITION_DEFAULT) in C:\inetpub\wwwroot\lib\pkp\controllers\grid\queries\QueriesGridCellProvider.inc.php on line 18
[05-Mar-2018 14:18:44 Europe/Belgrade] PHP Strict Standards:  Declaration of EditorDecisionForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in C:\inetpub\wwwroot\lib\pkp\classes\controllers\modals\editorDecision\form\EditorDecisionForm.inc.php on line 21
[05-Mar-2018 14:18:44 Europe/Belgrade] PHP Strict Standards:  Declaration of EditorDecisionWithEmailForm::initData() should be compatible with Form::initData() in C:\inetpub\wwwroot\lib\pkp\controllers\modals\editorDecision\form\EditorDecisionWithEmailForm.inc.php on line 18
[05-Mar-2018 14:18:44 Europe/Belgrade] PHP Strict Standards:  Declaration of SendReviewsForm::initData() should be compatible with EditorDecisionWithEmailForm::initData($args, $request, $actionLabels) in C:\inetpub\wwwroot\lib\pkp\controllers\modals\editorDecision\form\SendReviewsForm.inc.php on line 22
[05-Mar-2018 14:18:44 Europe/Belgrade] PHP Strict Standards:  Declaration of SendReviewsForm::execute() should be compatible with Form::execute() in C:\inetpub\wwwroot\lib\pkp\controllers\modals\editorDecision\form\SendReviewsForm.inc.php on line 22
[05-Mar-2018 14:18:45 Europe/Belgrade] PHP Deprecated:  Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\lib\pkp\classes\form\Form.inc.php on line 369
[05-Mar-2018 14:18:45 Europe/Belgrade] PHP Deprecated:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\lib\pkp\classes\core\PKPRequest.inc.php on line 592
[05-Mar-2018 14:18:46 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:46 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:50 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:52 Europe/Belgrade] PHP Strict Standards:  Declaration of PKPWorkflowHandler::initialize() should be compatible with PKPHandler::initialize($request) in C:\inetpub\wwwroot\lib\pkp\pages\workflow\PKPWorkflowHandler.inc.php on line 526
[05-Mar-2018 14:18:54 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:55 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:18:55 Europe/Belgrade] PHP Strict Standards:  Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in C:\inetpub\wwwroot\classes\article\SubmissionFileDAO.inc.php on line 23
[05-Mar-2018 14:19:30 Europe/Belgrade] PHP Deprecated:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\lib\pkp\classes\core\Dispatcher.inc.php on line 245
[05-Mar-2018 14:19:30 Europe/Belgrade] ojs2: 404 Not Found

Any ideas?

I would start by disabling those deprecated and strict standard errors: Error from 2.4.8 to 3.0.2 - #2 by ajnyga

Than you for your answer @ajnyga!
Since I could not see any errors / warnings in the log when just “normal” errors were listed, I added Strict and Deprecated.

We think that this problem might arise from the fact that we are using PHP 5.6.0 and not >= 5.6.32, as pointed out here:

We will now transfer OJS from our Windows server to a Linux server with PHP 7. We are hopeful that the transfer will solve this, other errors and slow loading pages.

Note that when switching to PHP7 you need to use mysqli instead of mysql. Just change the setting in config.inc.php

edit: also, I too get that error sometimes in XAMPP for windows. While that is just my local test server I have noot looked into it that much. Another XAMPP/Win related problem seems to be that sometimes the submission workflow tab opens empty. The header and the tab links are there, but the page itself is white. You need to reload the page a couple of times to get it working. So maybe there are some Windows related problems in OJS3?

Hello, @eddoff, did you resolve your problem by upgrading the PHP version or moving the OJS from IIS to another server?

Dear @Kaleb_Lucas,

We made a transfer from IIS to linux. We did not find any other solution! Now it works, and the whole system is much faster!

Best regards,

Edvin

1 Like