I am trying to upload PDF about 5 Mb to Mediawiki and I am facing this error.
A database query error has occurred. This may indicate a bug in the software.
php.ini has
upload_max_filesize = 32M
post_max_size = 32M
File extensions are configured like
$wgFileExtensions = array_merge( $wgFileExtensions,
array( 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'xlsx', 'jpg',
'tiff', 'odt', 'odg', 'ods', 'odp'
)
);
Mediawiki is configured to upload files up to 32 Mb.
Also I am faciong this error
Error creating thumbnail: /bin/bash: convert: command not found GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Any clue?
P.S. I discovered that is possible to upload small PDFs but not large files.
This chat doesnt help https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716957
https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads