Upload file in submission process?


#1

Hello, When I upload file during the submission process in OJS 3.0.2 it gets to 100% and hangs there without prompting me that it is completed.(as in the picture1) When I exit from that by clicking on X upright part of interface. I see that file is upload on server normally(as in the picture2)?
Please advise solutions. Thank you.


#2

Hi @Nasseer,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team


#3

Hello @asmecher ,
This is PhP error log >

[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of ArticleHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/jcodenta/public_html/pages/article/ArticleHandler.inc.php on line 19
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of ArticleHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/jcodenta/public_html/pages/article/ArticleHandler.inc.php on line 19
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of PublishedArticleDAO::getBySetting() should be compatible with ArticleDAO::getBySetting($settingName, $settingValue, $journalId = NULL, $rangeInfo = NULL) in /home/jcodenta/public_html/classes/article/PublishedArticleDAO.inc.php on line 20
[15-Jul-2017 22:23:37 UTC] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/jcodenta/public_html/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[15-Jul-2017 22:23:37 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jcodenta/public_html/classes/core/Request.inc.php on line 68
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/jcodenta/public_html/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/jcodenta/public_html/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/jcodenta/public_html/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/jcodenta/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/jcodenta/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/jcodenta/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/jcodenta/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of AbntCitationPlugin::fetchCitation() should be compatible with CitationPlugin::fetchCitation($article, $issue, $journal) in /home/jcodenta/public_html/plugins/citationFormats/abnt/AbntCitationPlugin.inc.php on line 20
[15-Jul-2017 22:23:37 UTC] PHP Strict Standards: Declaration of AbntCitationPlugin::manage() should be compatible with Plugin::manage($args, $request) in /home/jcodenta/public_html/plugins/citationFormats/abnt/AbntCitationPlugin.inc.php on line 20
can you fined what a problem?
thank for help and any advise .


#4

Hi @Nasseer,

All those “strict mode” warnings are cosmetic and can be ignored. I suspect something else is getting logged when your upload finishes; can you check the log for something besides “strict mode” warnings? Look, for example, for “error”.

Regards,
Alec Smecher
Public Knowledge Project Team


#5

Hi @asmecher ,
There is nothing about error not strict mode or PHP Strict Standards?
The big surprise “Upload Submission File” Works perfectly without any problems?
I do not know how and why?
The problem now is “No file uploaded or invalid file type!” When Upload logo or css fail ?
There are many topics on this topic in the forum Can advice in the way of Fix?
Regards,


#6

Hi @Nasseer,

That message usually means that OJS is having trouble determining file types. Work through some of the other threads on the subject, and if they don’t resolve the issue, post what you’ve tried here and what the result was.

Regards,
Alec Smecher
Public Knowledge Project Team