ikurti
Forum Replies Created
-
same issue here
Forum: Plugins
In reply to: [Participants Database] Unable to upload fileHey,
I debugged a bit, added some logs, and went through the plugin code and am happy to report that the issue is identified and fixed!
The issue was essentially with the file sizes… It seems that the ones on the iPad weren’t working due to coincidence and when I tested the same files I sent them through Facebook Messenger and they must have gotten compressed.
I set the file limit previously in the plugin settings, but apparently this had no effect (or I misunderstood it’s purpose). I finally found the issue within the code that was getting the wordpress limit and halving it for cushioning the limit (I presume). This code set the MAX_FILE_SIZE limit. The JPG files I was uploading exceeded this limit and none of the PNG files did.
So to fix, I simply edited this line of code so it doesn’t half the wordpress limit and gives more allowance to the file size. As well as this, I altered the max file size limit settings related to WordPress.
Maybe the error in the debugger could be a bit better, but who am I to complain :p Thanks for your work. Going to close this and mark as resolved
- This reply was modified 3 years, 5 months ago by ikurti.
Forum: Plugins
In reply to: [Participants Database] Unable to upload fileIf it helps, I managed to narrow the problem down:
It only occurs with JPG/JPEG files when uploaded through an iPad. Those same files work fine when uploaded from PC. PNG files also work fine when uploaded from the iPad.
However, every file seems to work when uploaded to media (even JPG files from iPad) so I am assuming that this issue has to be related to the plugin.
Forum: Plugins
In reply to: [Participants Database] Unable to upload fileThanks for your reply. Is there anything I can do to narrow the problem down?