Uploading file to Galley gives "HTTP Error." (OJS3)

I’m trying to fix an old published issue (before the OJS 3 upgrade) where some submissions do not have correct Galley. On most of them I uploaded the file, but on some submissions I got HTTP Error.

Hi @vebaev,

Check your PHP and Apache error logs; also check your Apache and PHP upload file size limits.

Regards,
Alec Smecher
Public Knowledge Project Team

It is not size issue, I will check the logs, but could it be related to this fix (probably not as it happens only on some files/galleys):

https://github.com/pkp/ojs/commit/f5368dc692ba7142a1de98047c92422c518d3320

i have some problem like this, you already fix that?? thanks

Hi @Veliyana_L.A,

Please don’t double-post – it clutters the forum. I’ve followed up on your other post.

Regards,
Alec Smecher
Public Knowledge Project Team

I am having this same issue after an upgrade to ojs3.0.2.0. On trying to upload reviews I get “Http Error”
rv

Please help

Hi @Sayomi_Olawumi,

Try the suggestions above. If they don’t resolve the issue, describe what you’ve tried and what the result was.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks for the quick response,

  1. Its not upload size : Maxium Upload size is 105MB; the file I am trying to upload is 400kb
  2. I updated as shown below
    image

Error Remains

Ola

Hi @Sayomi_Olawumi,

There are potentially several size limits that could be affecting you – make sure you check them all.

Also check your file permissions; if OJS doesn’t have permission to manage the file storage areas it needs to manage, you’ll get errors like this. Check the FAQ and docs/README for details on file permissions.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks once again.

  1. I set permission recursively for
  • public
  • cache
  • cache/t_cache
  • cache/t_config
  • cache/t_compile
  • cache/_db
  1. I also set limits accordingly
  • post_max_size 105M
  • upload_max_filesize 105m,
  • memory_limit 756M

The error persists

Hi @Sayomi_Olawumi,

Per above, did you check the LimitRequestBody setting, if you’re Apache?

What permissions did you set?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello

I set permissions to 755.

I also put in LimitRequestBody 0 in .htaccess

I still got the same error

SO

Hi @Sayomi_Olawumi,

755 permissions might not be enough, depending on your server API. You’ll also need to consider file ownership.

Your server might not also support LimitRequestBody overrides in .htaccess.

One way to ensure that you’ve got everything set up properly is to run a test upload script outside of OJS. See e.g. PHP File Upload for code to try this. If you can get this script to upload a new file into OJS’s files area, but OJS still refuses to do it, then the issue is OJS; otherwise it’s your server configuration.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks for the quick response.

I will try test upload out now, but we didnt have this problem before upgrading to OJS 3

SO

Hello,

I used the referenced script to upload a file to the ajmfiles folder and it uploaded directly.

The http error persists,

I looked into the error logs and got the following
[Mon Aug 28 22:51:41 2017] [warn] x-x-x-x-x-x-x-x-x-x-x-x- mod_fcgid: stderr: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/xxxxxxxxxxxx/public_html/ajm/classes/core/Request.inc.php on line 42
[Mon Aug 28 22:51:41 2017] [warn] x-x-x-x-x-x-x-x-x-x-x-x- mod_fcgid: stderr: PHP Deprecated: Non-static method Request::getJournal() should not be called statically, assuming $this from incompatible context in /home/xxxxxxxxxxxx/public_html/ajm/classes/issue/IssueAction.inc.php on line 59
[Mon Aug 28 22:51:41 2017] [warn] x-x-x-x-x-x-x-x-x-x-x-x- mod_fcgid: stderr: PHP Strict Standards: Declaration of PublishedArticleDAO::getBySetting() should be compatible with ArticleDAO::getBySetting($settingName, $settingValue, $journalId = NULL, $rangeInfo = NULL) in /home/xxxxxxxxxxxx/public_html/ajm/classes/article/PublishedArticleDAO.inc.php on line 20
[Mon Aug 28 22:51:41 2017] [warn] x-x-x-x-x-x-x-x-x-x-x-x- mod_fcgid: stderr: PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/xxxxxxxxxxxx/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[Mon Aug 28 22:51:41 2017] [warn] x-x-x-x-x-x-x-x-x-x-x-x- mod_fcgid: stderr: PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/xxxxxxxxxxxx/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[Mon Aug 28 22:51:41 2017] [warn] x-x-x-x-x-x-x-x-x-x-x-x- mod_fcgid: stderr: PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/xxxxxxxxxxxx/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130

Hi @Sayomi_Olawumi,

Hmm, odd. I notice in your list of directories you set permissions on recursively that your files_dir (configured in config.inc.php) isn’t listed. Did you set permissions there?

Regards,
Alec Smecher
Public Knowledge Project Team

Yes I did set the permissions there too

Hi @Sayomi_Olawumi,

I see nothing relevant in the log – those warnings are cosmetic (and will be resolved in the next release). Have you checked your Apache error log to see what HTTP error in particular was sent to the browser upon upload?

Regards,
Alec Smecher
Public Knowledge Project Team

Here is the appache log dump

[29-Aug-2017 02:01:21 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:21 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:21 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/x~x~x~x~x~x~/public_html/ajm/classes/article/SubmissionFileDAO.inc.php on line 23
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of PayPalPlugin::displayPaymentSettingsForm() should be compatible with PKPPaymethodPlugin::displayPaymentSettingsForm(&$params, $smarty) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/paymethod/paypal/PayPalPlugin.inc.php on line 354
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:23 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/x~x~x~x~x~x~/public_html/ajm/classes/article/SubmissionFileDAO.inc.php on line 23
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of PayPalPlugin::displayPaymentSettingsForm() should be compatible with PKPPaymethodPlugin::displayPaymentSettingsForm(&$params, $smarty) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/paymethod/paypal/PayPalPlugin.inc.php on line 354
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:26 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/x~x~x~x~x~x~/public_html/ajm/classes/article/SubmissionFileDAO.inc.php on line 23
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of PKPSubmissionFilesUploadBaseForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/form/PKPSubmissionFilesUploadBaseForm.inc.php on line 20
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFilesUploadForm::validate() should be compatible with Form::validate($callHooks = true) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php on line 19
[29-Aug-2017 02:01:30 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFilesUploadForm::execute() should be compatible with Form::execute($object = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php on line 19
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Only variables should be assigned by reference in /home/x~x~x~x~x~x~/public_html/ajm/controllers/wizard/fileUpload/form/SubmissionFilesUploadBaseForm.inc.php on line 47
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of PayPalPlugin::displayPaymentSettingsForm() should be compatible with PKPPaymethodPlugin::displayPaymentSettingsForm(&$params, $smarty) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/paymethod/paypal/PayPalPlugin.inc.php on line 354
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/form/Form.inc.php on line 351
[29-Aug-2017 02:01:31 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of PKPFileUploadWizardHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/PKPFileUploadWizardHandler.inc.php on line 23
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/x~x~x~x~x~x~/public_html/ajm/classes/article/SubmissionFileDAO.inc.php on line 23
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of PKPSubmissionFilesUploadBaseForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/form/PKPSubmissionFilesUploadBaseForm.inc.php on line 20
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFilesUploadForm::validate() should be compatible with Form::validate($callHooks = true) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php on line 19
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Declaration of SubmissionFilesUploadForm::execute() should be compatible with Form::execute($object = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/controllers/wizard/fileUpload/form/SubmissionFilesUploadForm.inc.php on line 19
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/form/Form.inc.php on line 370
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/form/Form.inc.php on line 370
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/form/Form.inc.php on line 370
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::isPost() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/form/validation/FormValidatorPost.inc.php on line 38
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/core/PKPRequest.inc.php on line 396
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Only variables should be passed by reference in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/file/FileManager.inc.php on line 97
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Strict Standards: Only variables should be passed by reference in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/core/PKPString.inc.php on line 447
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Warning: move_uploaded_file(/home/x~x~x~x~x~x~/public_html/ajmfiles//journals/1//articles/1201/submission/review/revision/1201-1-3921-2-15-20170829.doc): failed to open stream: Permission denied in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/file/FileManager.inc.php on line 119
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Warning: move_uploaded_file(): Unable to move ‘/tmp/phpvGVPQl’ to ‘/home/x~x~x~x~x~x~/public_html/ajmfiles//journals/1//articles/1201/submission/review/revision/1201-1-3921-2-15-20170829.doc’ in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/file/FileManager.inc.php on line 119
[29-Aug-2017 02:01:54 Africa/Lagos] PHP Fatal error: Call to a member function getFileId() on null in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 1037
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of SearchHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/x~x~x~x~x~x~/public_html/ajm/pages/search/SearchHandler.inc.php on line 19
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of PayPalPlugin::displayPaymentSettingsForm() should be compatible with PKPPaymethodPlugin::displayPaymentSettingsForm(&$params, $smarty) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/paymethod/paypal/PayPalPlugin.inc.php on line 354
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 68
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[29-Aug-2017 02:02:28 Africa/Lagos] PHP Strict Standards: Declaration of PublishedArticleDAO::getBySetting() should be compatible with ArticleDAO::getBySetting($settingName, $settingValue, $journalId = NULL, $rangeInfo = NULL) in /home/x~x~x~x~x~x~/public_html/ajm/classes/article/PublishedArticleDAO.inc.php on line 20
[29-Aug-2017 02:02:29 Africa/Lagos] PHP Deprecated: Non-static method Request::getJournal() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/issue/IssueAction.inc.php on line 59
[29-Aug-2017 02:02:29 Africa/Lagos] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/x~x~x~x~x~x~/public_html/ajm/classes/core/Request.inc.php on line 42

@asmecher,

I just noticed these (see highlights)
image

I changed this line:
files_dir = /home/aesonnig/public_html/ajmfiles/
to this
files_dir = /home/aesonnig/public_html/ajmfiles

But I dont know where the other path came from

SO