Your server does not allow large enough posts

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Your server does not allow large enough posts

Post by kabuc »

In admin settings i got error:
Your server does not allow large enough posts, try reducing number of attachments or
allowed file size!

What it means? I entered 25 mb max upluad file size in hesk settings

in php are thease:
upload_max_filesize = 30M
post_max_size = 30M
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Your server does not allow large enough posts

Post by Klemen »

How many attachments you allow? If you allow 2 attachments each with 25Mb the server will need to support more than 50Mb large posts.

Otherwise if someone attaches 2 x 25Mb files the POST will fail (the server will not allow it).

Your total POST size must not exceed number of attachments * attachment size + some extra (for example 1 Mb) for other data.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: Your server does not allow large enough posts

Post by kabuc »

Klemen wrote:How many attachments you allow? If you allow 2 attachments each with 25Mb the server will need to support more than 50Mb large posts.

Otherwise if someone attaches 2 x 25Mb files the POST will fail (the server will not allow it).

Your total POST size must not exceed number of attachments * attachment size + some extra (for example 1 Mb) for other data.
I allow 6 attachments. but in 2.3 version everything was ok with these settings, and now on 2.4.1 fails.

But if I post 6 attachments with 2 MB (2x6=12MB) it not >25 MB. I think its wrong something.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Your server does not allow large enough posts

Post by Klemen »

Note that this is just a Warning HESK gives now - the settings are still saved and it will still work normal if limitations are not reached.

No matter what script you use if the POST is larger than what server allows it won't work.

So, again, this is just a *warning* HESK gives that something could go wrong (if someone tries to submit 6 x 25MB for example), but setting is still saved normally.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: Your server does not allow large enough posts

Post by kabuc »

Klemen wrote:Note that this is just a Warning HESK gives now - the settings are still saved and it will still work normal if limitations are not reached.

No matter what script you use if the POST is larger than what server allows it won't work.

So, again, this is just a *warning* HESK gives that something could go wrong (if someone tries to submit 6 x 25MB for example), but setting is still saved normally.
I dont see every time this warning then i come to settings. I think that you made ​​a mistake when creating this warning. bad math. Its wrong to make size x files because files are not same size. there can be 2+5+1+5+6+11 etc not always11x6 or 6x6 . and I just delete this warning because its not finished idea and incorect idea
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Your server does not allow large enough posts

Post by Klemen »

Your customers think they can upload 6 x 25MB files (150Mb). Your server allows 30Mb posts. HESK just warns you about a possible issue - nothing more, nothing less.

Do as you like. The warning stays.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: Your server does not allow large enough posts

Post by kabuc »

Klemen wrote:Your customers think they can upload 6 x 25MB files (150Mb). Your server allows 30Mb posts. HESK just warns you about a possible issue - nothing more, nothing less.

Do as you like. The warning stays.
During all the time how much hesk work with us, not even once that the client uploaded 6 x 25MB files. This report is pointless. This calculation is nonsense. Is your opinion of this method is logical? If I choose more than one file per post I have seen this message all the time as soon as come onto the settings. My understanding is the only case where not show this message are 1x25MB or 1xless than server Allow. And you understand that I'm right about this thing.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Your server does not allow large enough posts

Post by Klemen »

Why all the fuss? It's just a *notice* warning you it may not work if someone tries to upload as much files as you allow.

A notice - warning. It only shows to you, the customer never sees it. It still works 100% fine for normal usage.

I really don't know why you have such problems with it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply