Keep getting this error everywhere, what exactly does it mean?
Well... what is happening at the time you get the message?
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.
Just to be sure, that is here on SimpleMachines or on your own website?
This is here.
And how big is the file?
1.82 MB. The last uploaded file on there was the same.
There's been some changes behind the scenes since then...
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.
Email sent.
I had that occur to me on a mod upload on the mod site I got it under 1mb and then it was ok.
Sounds like a size problem then... how exactly can a .zip file size be "reduced" though?
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 (http://rarlabs.com) comes to mind).
2. By removing unused code.
I already use WinRAR. ;)
Almost everything in this mod is used - nothing is considered "unused".
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';
?>
Thank you for reporting this. I have adjusted some server settings and it appears to be working now :)
Quote
Entity Too Large
My wife complains about that, too, sometimes. ;)
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.
Quote from: K@ on April 13, 2011, 04:52:46 PMQuoteEntity Too Large
My wife complains about that, too, sometimes. ;)
God... that was some piece of not wanted information...
She's referring to himself of course. He is overweight these days :P
Ha! At fifty-five, I'm still eleven stone (154lb/338kg is that?). The same as when I was twenty!
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.
Yeah, it should be 73.0283Kg.
Silly metric system. :P
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.
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. :)
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
Being an old git, I still convert everything back to the old system.
Money, too.
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!
Compared to most, here, I'm bloody ancient!
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 ::)
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)
How about this is continued in the chit chat? :P
Quote from: CoreISP on April 14, 2011, 01:44:03 PM
How about this is continued in the chit chat? :P
Sorry CoreISP :P
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
Topic's solved, so why worry?
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
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.
Metric system is accurate... ;)
Actually, if you weight 338 KG, you are almost a bear.
Quote from: DoctorMalboro on April 14, 2011, 03:29:10 PM
Metric system is accurate... ;)
(http://www.katzy.dsl.pipex.com/Smileys/wrong.gif)
http://en.wikipedia.org/wiki/Foot_%28unit%29
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. ;)
@ 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...
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 ;)
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)...
Please read your PM Yoshi...
I know damn well what I am talking about and post counts do not interest me a bit.
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.
@ LexArma (finally someone who understands me a bit): If yo make the files alot smaller, it can help a bit with compression.
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.
Also true. Butit can help you to get closer to that (now gome) limit.
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.
Coding Guidlines (http://wiki.simplemachines.org/smf/Coding_Guidelines).
Specifically pointing to this
Quote
Whitespace
Use the BSD/Allman indentation style (http://en.wikipedia.org/wiki/Indent_style#Allman_style_.28bsd_in_Emacs.29).
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.
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.
exactly... what compression utilities do is --- remove the spaces.
That's why text documents normally get such good compression and JPG images do not...