-
Notifications
You must be signed in to change notification settings - Fork 103
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
Max allowed packet bytes error #35
Comments
@siv2r Please correct me if I'm wrong. Solution would be -> setting paramBytes = param1024 instead of paramBytes = param1024*1024 in editPairForm.js and reg-form.js files? |
This is not a correct approach. This will limit the file size to 2 KB instead of 1 MB. Since |
An ideal way would be to replace https://github.com/siv2r/kidney-exchange/blob/master/scripts/editPairForm.js#L464-L488 |
Okay will work on it. Thank you. |
Reopening issue since the error message say 2 MB instead of 1 MB |
@Abhi-1313 Feel free to work on this issue! Also do not share any personal information here. Please read the contributor's guidelines before contributing to this project. |
@siv2r can you assign this issue to me? |
I want to work on this issue |
@siv2r When i am trying to run the application, i can see home page but when i am navigating to login or signup i am getting |
Hmm, the docker is not updated yet. Can you try without the docker? |
I am begginer . can I contribute in it |
Users can upload file size up to 2MB but the default SQL insertions for BLOB type is 1MB.
Therefore error occurs when the user uploads a filesize between 1 MB - 2 MB.
Possible soln:
Limit the file size to 1MB instead of 2MB in jQuery form validation.
The text was updated successfully, but these errors were encountered: