Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload attachment (File too Big) #170

Open
makakken opened this issue Aug 2, 2018 · 6 comments
Open

Cannot upload attachment (File too Big) #170

makakken opened this issue Aug 2, 2018 · 6 comments

Comments

@makakken
Copy link

makakken commented Aug 2, 2018

After Increasing file upload size in modoboa-parameters to 5000000bytes (aka 5mb) i cannot upload any file. i always get: "File too Big (5000000)" error. This also happens if i try to upload a file which has a size of 381 bytes.

What am i doing wrong?

@makakken makakken changed the title Cannot upload attachment Cannot upload attachment (File too Big) Aug 2, 2018
@kryskool
Copy link

kryskool commented Aug 6, 2018

Hi @makakken

can you send us a full traceback ?

regards,

@makakken
Copy link
Author

makakken commented Aug 8, 2018

@kryskool where do i get this from? any log file? turn on debug mode? anything?

@makakken
Copy link
Author

makakken commented Aug 8, 2018

hey @kryskool , i've searched a lot, but didn't find any useful log-files. But i found a Workaround:

"Maximum attachment size in bytes (or KB, MB, GB if specified)" The Parameters help for Webmail told me to set in bytes, thatswhy i choose 5000000. if i put 5MB into the input instead, it works.

@makakken
Copy link
Author

makakken commented Aug 8, 2018

makakken added a commit to Makakken-Crew/modoboa that referenced this issue Aug 29, 2018
modoboa/modoboa-webmail#170

size2 integer was returning 0 when called with int values.
@makakken
Copy link
Author

@kryskool i've proposed a fix.

@makakken
Copy link
Author

narf... bad fix... only works with values ending on zero...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants