Re: [Tiki-users] Maximum file upload size
Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Fri, 06 Jan 2023 19:35:48 +0100
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Rick! Thank you for your detailed instructions. I'll check them all. So far, Volker Am Freitag, dem 06.01.2023 um 08:55 -0500 schrieb Rick Sapir: > I agree that there should be a UI message that explains why an upload > failed. > > Some things you may want to check: > > - Use the Server check to review all the relevant settings. > > - Review the server logs, as they may provide detailed information on > the failure. > > - Are you using a quota for the file gallery? > > - Are you storing the files in the DB? You may need to change the field > type to LONGBLOB and you may need to increase the max_allowed_packet > accordingly. > > Have you reviewed the docs, especially: > > - https://doc.tiki.org/Server-Check > > - https://doc.tiki.org/Upload-file-size > > - https://doc.tiki.org/Why-File-Uploads-May-Fail > > HTH, > > -R > > Rick Sapir > ricksapir.com > @ricksapir > > Creating Content -- Managing Information > > On 1/5/2023 9:58 AM, Volker Wysk wrote: > > Hi > > > > I tried to upload an attachment, but that silently failed. No error message. > > > > When I tried to upload to a file gallery instead, but it also silently > > failed. But there was a note at the bottom, saying that the maximum upload > > size is "about" 2 MB. That's pretty low. > > > > I searched the Tiki (25) settings for a maximum upload file size, but with > > no success. Then it occured to me, that this might be a PHP limit. And yes, > > I found the setting "upload_max_filesize" in /etc/php/7.4/apache2/php.ini, > > which was 2 MB. > > > > I changed that to a gigabyte (I use Tiki as a desktop wiki here). But then > > the maximum upload size was shown to be 8 MB. No more. > > > > Then I found the post_max_size PHP-setting, and set that to 1 GB. Then the > > maximum upload size was shown to be 38 MB. No more. I couldn't find another > > PHP setting, which causes this. > > > > Is there such a PHP or Tiki setting, which sets the limit to 38 MB? > > > > And, I think a failed upload, caused by an exceeded maximum file size, > > should result in a proper error message. > > > > So far, > > Volker > > > > > > > > _______________________________________________ > > TikiWiki-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > > _______________________________________________ > TikiWiki-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users _______________________________________________ TikiWiki-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmO4agQACgkQ+K4ydFOs HoUQjRAAjRrhW6svRJLloGgwMR25zwedu8oj4MxA+fv4g8fpjRa/C0Imxlb3VRJR UStWVjr/LUXyk0S1koZ6V/yVh9n4ohzG6jDCO9rs+P7SEYD5NqPvJ79mBuU6kqzu uar7tu4I0KMuOthWrLy3+4Xqm7QDQs0H95kki8avKkd+I2t0EdOdZ9Qi+xUMvBWJ PTF9imr+z+eeI27rrnKwYaKXKPXIvfCZAzE8NIGLYcmY1kizx/EjFeOm7qcxn2+m VvIJ+lxnr1Xn87Aj5cqsVGDj1jvGw4UIDdNXBGJ5AlgHCXbZQ3VrMrF9fh/vpWci iSM6Oe2MVsXmU+XPRQPmKThqUyRNMeKqFDxU0ilDuQs5Vt7Zhi60qpKm2vWEQl5h 7gEPzXBV3DeHeLvGdpyvlHg2Y5TZrW1Do1KLRmBp+L1R2U9ql0OpHPoGbJ098A7n /K2yFVycVXrdHOC/f5XltcqU/QyqlEsymzqmyqBNnNMjed2ToS2SdxDM0+ezqSek SgOGSs1ey7hUj7y/WgBgmQwQYFueIjVs+7wEc6rCjrrN6GIZhkawxY8oxMKDaIo7 fbkn9LEJ0iNc7N5b60FhOEtaoaKLY3UmBO0/asbWvbKg+O55w+D4VNAXXlxDoQ90 aMxcIxkoBU+1+Kw0rkduXjXOELNEdX/1S/DeoUbRNBJAlGK0S2U= =nZIB -----END PGP SIGNATURE-----