HTTP error when uploading to GALLEY

Although 90% of the PDF files are uploaded in the Galley, but a few gives HTTP error, When uploading in GALLEY.

I am not an IT person, I think the error is this.

[03-May-2020 21:39:39 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /home/abmconf/public_html/jras/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3963
[03-May-2020 21:39:39 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /home/abmconf/public_html/jras/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3965
[03-May-2020 21:39:39 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /home/abmconf/public_html/jras/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3963
[03-May-2020 21:39:39 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /home/abmconf/public_html/jras/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3965
[03-May-2020 21:39:39 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /home/abmconf/public_html/jras/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3963
[03-May-2020 21:39:39 America/New_York] PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /home/abmconf/public_html/jras/lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3965
[03-May-2020 21:42:24 America/New_York] PHP Warning: Declaration of QueryNoteFilesGridHandler::authorize($request, $args, $roleAssignments) should be compatible with SubmissionFilesGridHandler::authorize($request, &$args, $roleAssignments) in /home/abmconf/public_html/jras/lib/pkp/controllers/grid/files/query/QueryNoteFilesGridHandler.inc.php on line 19

Hi @Elegant_wi,

Those log entries don’t indicate any problem – they’re cosmetic messages and shouldn’t cause any problems. The most likely causes for what you describe are

  1. Your files are larger than your upload limits. Check your PHP configuration to make sure that the upload file limits (and POST limits) are big enough to accommodate your uploads.
  2. Your file permissions in your files_dir (the directory specified in config.inc.php) might be wrong. Double-check the file permissions.

I think there are FAQ entries in this forum with more information on both subjects.

Regards,
Alec Smecher
Public Knowledge Project Team