3.1.1.4 upload file confirmation fails

#1

We are trying to upload a revised article pdf. The file is uploaded but it doesn’t continue. If we check the file directory it seems the file got uploaded but it is not showing in the frontend.

It was working yesterday but not now.

#2

Hi @latha_ojs,

On what workflow stage you trying to download the file?
Are there any relevant entries in the PHP logs?

#3

This applies to any article uploads during submission, revision, etc. Uploads completes but not getting confirmation and but the file is in the file director.

#4

In this case there definitely should be something in PHP logs. Look for errors or fatal errors.

Let me clarify. There are 3 tabs/stages during the upload: Upload File, Review Details and Confirm. On what stage download is failing?

#5

During Upload File - the file uploads 100% and after that it got stuck. I don’t see any fatal error. Thanks

[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of ShariffPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home1/jott/public_html/plugins/generic/shariff/ShariffPlugin.inc.php on line 198
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home1/jott/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home1/jott/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 175
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of PiwikPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home1/jott/public_html/plugins/generic/piwik/PiwikPlugin.inc.php on line 156
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of PiwikPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home1/jott/public_html/plugins/generic/piwik/PiwikPlugin.inc.php on line 156
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of SwordPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home1/jott/public_html/plugins/generic/sword/SwordPlugin.inc.php on line 295
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of SwordPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home1/jott/public_html/plugins/generic/sword/SwordPlugin.inc.php on line 295
[17-May-2019 05:06:56 America/Chicago] PHP Warning: Declaration of JatsTemplatePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home1/jott/public_html/plugins/generic/jatsTemplate/JatsTemplatePlugin.inc.php on line 261
[17-May-2019 05:06:57 America/Chicago] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home1/jott/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[17-May-2019 05:06:57 America/Chicago] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home1/jott/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[17-May-2019 05:06:57 America/Chicago] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home1/jott/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[17-May-2019 05:06:57 America/Chicago] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home1/jott/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 100

#6

Yesterday I installed 3.1.1.4 and it was working fine until yesterday night.

#7

What happens if you press continue? Are there any errors in the browser’s console?

#8

Nothing happens.

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data[Learn More] jquery.js:8517:10

parseJSON jQuery

uploadComplete https://threatenedtaxa.org/lib/pkp/js/controllers/UploaderHandler.js:167

callbackWrapper https://threatenedtaxa.org/lib/pkp/js/classes/Handler.js:304

dispatchEvent https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:29

trigger https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

onload https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:29

handleEventProps https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

dispatchEvent https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

i https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

r https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

dispatchEvent https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

r https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:14

dispatchEvent https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

i https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

r https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

dispatchEvent https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

trigger https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:13

send https://threatenedtaxa.org/lib/pkp/lib/vendor/moxiecode/plupload/js/plupload.full.min.js:14

#9

Hi

I found the error. Somehow my event_log table was missing. I imported the table and the upload works fine now.

Thanks

1 Like