Open alimat-nz opened 6 years ago
Hi,
notifications@github.com, sent on Mon, 28 May 2018 21:58:11 -0700:
"
I am using a formt o specufy a file to be uploaded. When I submit the form I get an error message displayed saying it is larger than 2MB - it is 2.4MB. The same file uploads OK in the media manager. There only seems to be a size for email attachments in the Configuration. section for the plugin. How do I get a bureaucracy form to upload a file larger than 2MB? I do not want to point users at. the media manager
end of previous message"
This is set in the /etc/php/php.ini as upload_max_filesize = 2M.
Bests, Tomio
wouldn't that also stop media manager from uploading the file.
As i said media manager can upload the same file - i would have expected php.ini to affect both ? why can one plug in upload a file but bureaucracy can not?
Hi,
notifications@github.com, sent on Tue, 29 May 2018 03:36:52 -0700:
"
wouldn't that also stop media manager from uploading the file.
As i said media manager can upload the same file - i would have expected php.ini to affect both ? why can one plug in upload a file but bureaucracy can not?
end of previous message"
Well, this is beyond me for now. I am still using "Frusterick Manners", and here what I can see is that the bureaucracy plugin uses the same mechanism from media.php as the MediaManager. What I cannot see is that where the MediaManager checks back for the file size error, which is done in the _validate() of the fieldfile.php in the plugin.
There is a FAQ entry on the dokuwiki website: https://www.dokuwiki.org/faq:uploadsize
And on the PHP control at: https://secure.php.net/manual/en/features.file-upload.php
I hope someone more into the internals can clarify this bit.
Bests, T.
thanks - making the change to php.ini worked - but it would be good to know why there is that difference with media manager
I am using a form to specify a file to be uploaded. When I submit the form I get an error message displayed saying it is larger than 2MB - it is 2.4MB. The same file uploads OK in the media manager. There only seems to be a size for email attachments in the Configuration section for the plugin. How do I get a bureaucracy form to upload a file larger than 2MB? I do not want to point users at. the media manager