News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

413 Request Entity Too Large

Started by Kratty256, April 13, 2011, 11:02:03 AM

Previous topic - Next topic

Kratty256

Keep getting this error everywhere, what exactly does it mean?

Arantor

Well... what is happening at the time you get the message?
Holder of controversial views, all of which my own.


Kratty256

I was trying to upload a zip file for my Battle mod. But I also keep getting the error when trying to make a regular post.

LiroyvH

Just to be sure, that is here on SimpleMachines or on your own website?
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Kratty256


Arantor

Holder of controversial views, all of which my own.


Kratty256

1.82 MB. The last uploaded file on there was the same.

Arantor

There's been some changes behind the scenes since then...
Holder of controversial views, all of which my own.


SleePy

Andrew,

Would you mind sending the mod package and a link to where it is on the customize site to my email address (simply my name at simplemachines.org).  I can take a look at it and see if I can get it to upload or not.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Kratty256


vbgamer45

I had that occur to me on a mod upload on the mod site I got it under 1mb and then it was ok.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Kratty256

Sounds like a size problem then... how exactly can a .zip file size be "reduced" though?

NanoSector

Quote from: Andrew94© on April 13, 2011, 01:04:45 PM
Sounds like a size problem then... how exactly can a .zip file size be "reduced" though?
1. By using a better compression program (WinRAR comes to mind).
2. By removing unused code.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Kratty256

I already use WinRAR. ;)

Almost everything in this mod is used - nothing is considered "unused".


NanoSector

Quote from: Andrew94© on April 13, 2011, 02:16:36 PM
I already use WinRAR. ;)

Almost everything in this mod is used - nothing is considered "unused".
At least try to minimize the code :P

Like
<?php
if (blablabla)
{
echo
'Ohi';
}
?>


Can be
<?php
if (blablabla)
echo
'Ohi';
?>
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SleePy

Thank you for reporting this.  I have adjusted some server settings and it appears to be working now :)
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

kat

Quote
Entity Too Large

My wife complains about that, too, sometimes. ;)

SlammedDime

Quote from: Yoshi2889 on April 13, 2011, 02:19:25 PM
Quote from: Andrew94© on April 13, 2011, 02:16:36 PM
I already use WinRAR. ;)

Almost everything in this mod is used - nothing is considered "unused".
At least try to minimize the code :P

Like
<?php
if (blablabla)
{
echo
'Ohi';
}
?>


Can be
<?php
if (blablabla)
echo
'Ohi';
?>

Snipping out 4 bytes here and there isn't going to help much on compression.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

DoctorMalboro

Quote from: K@ on April 13, 2011, 04:52:46 PM
QuoteEntity Too Large
My wife complains about that, too, sometimes. ;)
God... that was some piece of not wanted information...

LiroyvH

She's referring to himself of course. He is overweight these days :P
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

kat

Ha! At fifty-five, I'm still eleven stone (154lb/338kg is that?). The same as when I was twenty!

NanoSector

Quote from: K@ on April 14, 2011, 06:30:43 AM
Ha! At fifty-five, I'm still eleven stone (154lb/338kg is that?). The same as when I was twenty!
338 KG...... :o :o :o

That's way too much.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat

Yeah, it should be 73.0283Kg.

Silly metric system. :P

NanoSector

Quote from: K@ on April 14, 2011, 11:29:46 AM
Yeah, it should be 73.0283Kg.

Silly metric system. :P
AKA 73 KG :P

I'm 40/42 KG :P

That is.... 88.184904874/92.5941501177 LB.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat

Here's today's interesting fact.

Both the British Imperial system and the Metric system of measuring distance was based on the circumference of the Earth.

Modern measurements have proven that the Imperial foot is a more accurate measurement, of that, than the metre is. :)

NanoSector

Quote from: K@ on April 14, 2011, 12:48:53 PM
Here's today's interesting fact.

Both the British Imperial system and the Metric system of measuring distance was based on the circumference of the Earth.

Modern measurements have proven that the Imperial foot is a more accurate measurement, of that, than the metre is. :)
LOL, I don't really know since I don't understand a thing of how foot's, LBs, etc. work :P
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat

Being an old git, I still convert everything back to the old system.

Money, too.

NanoSector

Quote from: K@ on April 14, 2011, 01:22:09 PM
Being an old git, I still convert everything back to the old system.

Money, too.
You're not old!
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat

Compared to most, here, I'm bloody ancient!

NanoSector

Quote from: K@ on April 14, 2011, 01:33:02 PM
Compared to most, here, I'm bloody ancient!
That is just because most teenagers who cannot wait to start a website are looking for community software ::)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat

Yeah.

Script-kiddies. ;)

I s'pose I'm unusual (Some might say a bit more than that) in that, coz I've been doing computery stuff for yonks, now.

First started in 1972, with an old mainframe, using punch-cards and all that old stuff.

My first home machine was one of these.

http://www.classiccmp.org/dunfield/sinclair/index.htm (First one)

LiroyvH

How about this is continued in the chit chat? :P
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Robert.

Quote from: CoreISP on April 14, 2011, 01:44:03 PM
How about this is continued in the chit chat? :P
Split the entire topic ;D

kat


Kratty256

Quote from: K@ on April 14, 2011, 02:05:54 PM
Topic's solved, so why worry?

It is? It seems like we all are having a 413 error of something else being too large! LOL

NanoSector

Quote from: SleePy on April 13, 2011, 02:32:38 PM
Thank you for reporting this.  I have adjusted some server settings and it appears to be working now :)

;)

Quote from: SlammedDime on April 13, 2011, 05:11:40 PM
Quote from: Yoshi2889 on April 13, 2011, 02:19:25 PM
Quote from: Andrew94© on April 13, 2011, 02:16:36 PM
I already use WinRAR. ;)

Almost everything in this mod is used - nothing is considered "unused".
At least try to minimize the code :P

Like
<?php
if (blablabla)
{
echo
'Ohi';
}
?>


Can be
<?php
if (blablabla)
echo
'Ohi';
?>

Snipping out 4 bytes here and there isn't going to help much on compression.
Actually, if you have lots of that kinds of code, it can minimize the size alot.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

DoctorMalboro

Metric system is accurate... ;)

Actually, if you weight 338 KG, you are almost a bear.


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Robert.

Quote from: Yoshi2889 on April 14, 2011, 02:56:03 PM
Quote from: SlammedDime on April 13, 2011, 05:11:40 PM
Quote from: Yoshi2889 on April 13, 2011, 02:19:25 PM
Quote from: Andrew94© on April 13, 2011, 02:16:36 PM
I already use WinRAR. ;)

Almost everything in this mod is used - nothing is considered "unused".
At least try to minimize the code :P

Like
<?php
if (blablabla)
{
echo
'Ohi';
}
?>


Can be
<?php
if (blablabla)
echo
'Ohi';
?>

Snipping out 4 bytes here and there isn't going to help much on compression.
Actually, if you have lots of that kinds of code, it can minimize the size alot.
Actually, that doesn't matter so much. ;)

NanoSector

@ Kindred: Not bothering to read that as it doesn't really interest me.

@ Tah Zonemaster: Really, doesn't it?
Stripped a file of 59 KB down to 26 KB just by doing that...
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Robert.

Quote@ Tah Zonemaster: Really, doesn't it?
Stripped a file of 59 KB down to 26 KB just by doing that...
Nope SD said it by himself, it doesn't matter. And please remember to be nice to other people ;)

NanoSector

If it is not possible, how come my statement is true?
I am only gonna be nice to you if you are so to me (refers to MSN)...
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Robert.


NanoSector

I know  damn well what I am talking about and post counts do not interest me a bit.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Aleksi "Lex" Kilpinen

You can make a file smaller like that, but you can't help compression much by doing so. There's a difference in trying to make a file smaller, and trying to make the compressed package smaller.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

NanoSector

@ LexArma (finally someone who understands me a bit): If yo make the files alot smaller, it can help a bit with compression.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Aleksi "Lex" Kilpinen

Quote from: Yoshi2889 on April 15, 2011, 06:34:22 AM
@ LexArma (finally someone who understands me a bit): If yo make the files alot smaller, it can help a bit with compression.
True. But there is a limit to how much it can really help.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

NanoSector

Also true. Butit can help you to get closer to that (now gome) limit.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

DoctorMalboro

And then if your code has more than 100 lines it would be impossible to understand where does the conditions end or start... maybe making your code more readable is more important than the weight of the package itself...

PS: no one even ask if he has images and other stuff.

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

NanoSector

Quote from: DoctorMalboro on April 15, 2011, 07:05:32 AM
And then if your code has more than 100 lines it would be impossible to understand where does the conditions end or start... maybe making your code more readable is more important than the weight of the package itself...

PS: no one even ask if he has images and other stuff.
^^ That, too. Remove images you don't use :P

Making code readable is important too, but maybe making it smaller in size can be handy too.
Maybe do it both.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Arantor

By the way, stripping spaces like that often actually makes it harder, not easier, to compress a file to get any measurable benefit - and the odds are that the compressed file will not be any smaller, can even be bigger.
Holder of controversial views, all of which my own.


Kindred

exactly...   what compression utilities do is --- remove the spaces.
That's why text documents normally get such good compression and JPG images do not...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: