-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
file is too big? #2394
Comments
Where do you upload? In admin? In frontend form? |
in admin |
any tips? |
There's a grav config in system: |
I cannot set this in admin plugin? Why? |
Actually the system |
Ok, I've dug into this quite a bit and it gets complicated.... First we had a setting Back in October of 2017 (Grav 1.3.7), this was simplified by removing the actual option for In the Grav 1.6 branch, I've now cleaned this up and completely removed all references to I'm testing all this with Grav 1.6, so there well may have been other fixes between this and Grav 1.5, but as I'm trying to get 1.6 out ASAP, I'm putting my focus there and not in 1.5 at the mo. The basic rules are:
I'm sure this will all be sorted when Grav 1.6 is released. |
Strange one, might need to get a copy of you Also, what is the file you are uploading? Perhaps i can get a copy of that to try to replicate? |
Also is this with a Page media upload or some custom form you have? |
Ah, page media sorry not to mention it - form would be easy because there is an option for the upload size (page media worked with 1.5 also without problems when there was the option for it). The file is just a jpg (1920x1440px, 450kb - 850kb, the one from the screenshot was 740kb), server is apache with php 7.2 fpm - please find attached the ini and yaml, please let me know if you need anything else. |
@lorddoumer if you inspect you can fire up your browser developer tools, and inspect the Page Media element, you should see this |
I think it has something to do with the rounding logic. can you try replacing the
|
@rhukster that's it, upload working fine again, thanks! :) |
Sweet, should be in the next release later today. |
What values do you have set for those in php.ini? |
|
I just can't replicate what you are seeing with those values. I get Can you try changing your values to sane ones? like:
Does that fix things? or do you still get weird negative numbers? |
Another thing to try. In
See if that helps? |
Thank you! |
is this a bug or my mistake?
The text was updated successfully, but these errors were encountered: