Support the Arctic Sea Ice Forum and Blog

Author Topic: Trouble when uploading PNG images (and/or other file types ?)  (Read 7028 times)

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Well, I still don't have found why, but it seems that some members have trouble when the upload png files.

When it happens, can you please try this trick and post the result back below ? Thanks !

- when you upload a png image, you get a 'Connection was reset" error - or perhaps a message ""your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow"
- just try to upload a jpg (or a gif ?) image
- then try again with the guilty png file.

It did work on my tests... but I'm not 100% sure.

Thanks for helping with your results !
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

Jim Hunt

  • ASIF Governor
  • Posts: 3346
    • View Profile
    • The Arctic sea ice Great White Con
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #1 on: April 27, 2013, 06:31:14 PM »
Hi DM,

I don't know if this is related, but I just had a problem attaching some .JPGs to my latest post. The message I received was:

An Error Has Occurred!
Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator.

Then I tried a .PNG instead, which at least seemed to upload the image. However then I saw:

No data received
Unable to load the web page because the server sent no data.

Any suggestions about how to get around this issue?

P.S. After some random experimentation I eventually got things to work. See http://forum.arctic-sea-ice.net/index.php?topic=262.msg4752#msg4752

I'm not sure which steps (if any!) were significant though!
« Last Edit: April 27, 2013, 07:31:24 PM by Jim Hunt »
Reality is merely an illusion, albeit a very persistent one - Albert Einstein

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #2 on: May 07, 2013, 10:01:11 PM »
That's As Weird As The Arctic Sea Ice
(would write Joe Romm - me poor frenchie don't like those damn'd Caps)
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

Sigmetnow

  • ASIF Royalty
  • Posts: 9864
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #3 on: May 11, 2013, 03:40:22 PM »
Tried a couple times to upload a gif (640kb) last night -- browser just hangs.
Tried again this morning with a slightly smaller file (528kb) -- same results.
  But, was able to upload a jpeg!
Then tried again on the smaller gif file -- still no luck.
I have "never" gotten an error message (except some time ago when I made a second attempt on a post I thought hadn't made it through, and got a message that this had already posted).

Bugger!
People who say it cannot be done should not interrupt those who are doing it.

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #4 on: July 24, 2013, 12:31:11 AM »
New params and tests under way...
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #5 on: July 24, 2013, 12:40:27 AM »
Image
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #6 on: July 24, 2013, 12:42:05 AM »
Another image - couldn't be uploaded by another user NOR me, seems to be OK now !!

Edit : I could upload it tonight, while it was impossible this morning. I changed a parameter after managing to find its purpose, so it's not entirely by chance ;) . OR it might be related to the load on the server, or time ??

Please report any problem with images here.

Your DM
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

Artful Dodger

  • ASIF Citizen
  • Posts: 439
  • The era of procrastination is coming to a close.
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #7 on: July 24, 2013, 05:38:52 AM »
Hi Dungeonmaster,

I have solved the problems I had previously with uploading attachments. The problem only occurs when uploading with HTTPS. If I switch to HTTP, my session is preserved, and the uploading problem does not occur.  ???

Cheers,
Lodger
Cheers!
Lodger

Sigmetnow

  • ASIF Royalty
  • Posts: 9864
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #8 on: September 01, 2013, 01:32:23 AM »
I just now tried to upload a PNG image with my "NASA_ICE Q&A tweet" post, and the attachment was just ignored (in Preview).  I saved the image as JPG and tried again, same results.  (Using https:)
People who say it cannot be done should not interrupt those who are doing it.

Artful Dodger

  • ASIF Citizen
  • Posts: 439
  • The era of procrastination is coming to a close.
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #9 on: September 01, 2013, 09:12:02 AM »
(Using https:)
Hi Sigmetnow,

If you just use HTTPS to login in, and while reading personal messages, all the other operations work well over plain HTTP.
Cheers!
Lodger

Sigmetnow

  • ASIF Royalty
  • Posts: 9864
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #10 on: September 01, 2013, 04:17:47 PM »
OK, I'll try this using http.

PNG file selected, but it's not showing under Preview.

And I've added the jpg version -- still not showing under Preview.

But -- is showing up when posted!  Hunh.
People who say it cannot be done should not interrupt those who are doing it.

oren

  • ASIF Upper Class
  • Posts: 1604
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #11 on: July 13, 2015, 08:21:07 AM »
I've upload an animated GIF and it's not being animated, even after clicking on it. Any ideas?
It was created in Gimp and its size is 4.5 MB

Wipneus

  • ASIF Governor
  • Posts: 3649
    • View Profile
    • Arctische Pinguin
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #12 on: July 13, 2015, 09:12:37 AM »
Oren, big animated gif's just do not always work. I usually fiddle a bit, cutting it slightly smaller or reduce the number of colors and exporting again. 4.5 Mb is rather big, but not impossible.

Laurent

  • ASIF Governor
  • Posts: 2525
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #13 on: July 13, 2015, 09:34:48 AM »
May be it is because, the system cannot load the frames by the time you have define !? try also to increase the time of exposition. Last time I had a 7.5 Mb file with 33 frames and 750 ms between them and it did work fine.
« Last Edit: July 13, 2015, 09:56:15 AM by Laurent »

oren

  • ASIF Upper Class
  • Posts: 1604
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #14 on: July 13, 2015, 11:07:57 AM »
Thank you Laurent. I had 300 ms, I will try to edit tonight and re-up.

Archimid

  • ASIF Middle Class
  • Posts: 726
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #15 on: July 14, 2016, 06:41:10 PM »
Hello I'm trying to upload the following gif. Test Post
I am an energy reservoir seemingly intent on lowering entropy for self preservation.

sidd

  • ASIF Upper Class
  • Posts: 1827
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #16 on: July 15, 2016, 01:22:32 AM »
it seems clear https is broken on may browsers. i had to play around to get https working. mebbe enable SSL/TLS  logging verbosity for a clue ?

Sigmetnow

  • ASIF Royalty
  • Posts: 9864
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #17 on: July 15, 2016, 09:57:25 PM »
Can the Forum be updated to allow jpeg images, in addition to jpg?

The latest iOS apparently stores images as jpeg now, and I get an error message if I try to post them here, via http or https.
(Currently, my workaround is an app that converts to png format. :-\ )

Thanks for your help!
People who say it cannot be done should not interrupt those who are doing it.

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #18 on: July 15, 2016, 10:51:04 PM »
Sig, could you give it another try? I've changed a setting.
Il faut cultiver notre jardin

Sigmetnow

  • ASIF Royalty
  • Posts: 9864
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #19 on: July 15, 2016, 11:40:58 PM »
OK, here's a try with jpeg and https.

(I see what you did there!  ;) )
People who say it cannot be done should not interrupt those who are doing it.

Sigmetnow

  • ASIF Royalty
  • Posts: 9864
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #20 on: July 15, 2016, 11:41:41 PM »
Yay!   \o/

Thanks so much!
People who say it cannot be done should not interrupt those who are doing it.

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #21 on: July 15, 2016, 11:46:38 PM »
Glad it worked.  :)
Il faut cultiver notre jardin

Wipneus

  • ASIF Governor
  • Posts: 3649
    • View Profile
    • Arctische Pinguin
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #22 on: October 27, 2017, 08:32:39 AM »
Uploading PNG attachments (as I have been doing many times before) I now get:

Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator.

It is this file:

https://drive.google.com/open?id=0B8NUHa4P2gmlS1p2V0tLZklsQzg


« Last Edit: October 27, 2017, 08:38:16 AM by Wipneus »

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #23 on: October 27, 2017, 08:48:14 AM »
Uploading PNG attachments (as I have been doing many times before) I now get:

Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator.

It is this file:

https://drive.google.com/open?id=0B8NUHa4P2gmlS1p2V0tLZklsQzg

Other have experienced problems as well. Very weird. I'll see what I can do.
Il faut cultiver notre jardin

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #24 on: October 27, 2017, 09:04:45 AM »
Test.

Tried to test, can't upload it either. Weird. I've unchecked everything that has to do with security checks.

Edit: Thumbnailed version does pass...
Il faut cultiver notre jardin

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #25 on: October 27, 2017, 09:10:38 AM »
Test 2, increased thumbnail width from 700 to 1200.

Not working...
Il faut cultiver notre jardin

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #26 on: October 27, 2017, 09:14:59 AM »
Uploading PNG attachments (as I have been doing many times before) I now get:

Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator.

It is this file:

https://drive.google.com/open?id=0B8NUHa4P2gmlS1p2V0tLZklsQzg


Gosh. I’ll try to fix it this afternoon.
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #27 on: October 27, 2017, 09:16:16 AM »
Test 3, checked 'Save thumbnails as PNG' box.

Not working either...

Gosh. I’ll try to fix it this afternoon.

You should get further then I can.  :)
Il faut cultiver notre jardin

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #28 on: October 27, 2017, 09:27:08 AM »
DM, I don't know if this has anything to do with it, but found this on the SMF forum (from a long time ago, 2010):

This error message usually springs up in a previously functional PHP script when the memory requirements exceed the default 8MB limit. Don’t fret, though, because this is an easy problem to overcome.

To change the memory limit for one specific script by including a line such as this at the top of the script:

ini_set("memory_limit","12M");

The 12M sets the limit to 12 megabytes (12582912 bytes). If this doesn’t work, keep increasing the memory limit until your script fits or your server squeals for mercy.

You can also make this change permanently for all PHP scripts running on the server by adding a line like this to the server’s php.ini file:

memory_limit = 12M
Il faut cultiver notre jardin

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #29 on: October 27, 2017, 09:41:51 AM »
On another thread Michael reports having trouble uploading an animated GIF. So, it's not just restricted to PNGs.
Il faut cultiver notre jardin

DungeonMaster

  • Administrator
  • ASIF Citizen
  • *****
  • Posts: 135
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #30 on: November 01, 2017, 07:45:44 PM »
Sorry dear friends, there's an old and ugly bug due to ugly programming, https://www.simplemachines.org/community/index.php?topic=544243.msg3863415.


Ugly programming --> Ugly bug --> Ugly fix.


done !
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.
Read again  Maslowski paper : why Arctic could melt in 2016 +/- 3Y !

Michael

  • ASIF Lurker
  • Posts: 46
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #31 on: November 02, 2017, 11:37:28 AM »
The fix appears to work - Thank you for your efforts.

Neven

  • Administrator
  • ASIF Governor
  • *****
  • Posts: 4231
    • View Profile
    • Arctic Sea Ice Blog
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #32 on: November 02, 2017, 12:54:06 PM »
Great stuff, DM. Thanks for making the effort.
Il faut cultiver notre jardin

magnamentis

  • ASIF Upper Class
  • Posts: 1250
    • View Profile
    • Philosophy Ethics Numerology Mikrocirkulation Vaskular Therapie Gesundheit Blut Gesundheit Schmerzen Multiple Sklerose Diabetes Immunsystem Fibromyalgia Modular Mobile Computing iOS Software OSX Android Custom Rom Rooted
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #33 on: November 03, 2017, 05:54:51 PM »
hi,

did anyone encounter this:

thought to post here in case it's only me instead of opening a thread or post just somewhere :-)
http://magnamentis.com
Knowledge, Understanding & Insight Are Among The Best Sources For Personal Freedom & Vitality !

gerontocrat

  • ASIF Middle Class
  • Posts: 806
    • View Profile
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #34 on: November 03, 2017, 06:12:13 PM »
hi,

did anyone encounter this:

thought to post here in case it's only me instead of opening a thread or post just somewhere :-)
Yes, today pm on pc and mobile.
"Para a Causa do Povo a Luta Continua!"

magnamentis

  • ASIF Upper Class
  • Posts: 1250
    • View Profile
    • Philosophy Ethics Numerology Mikrocirkulation Vaskular Therapie Gesundheit Blut Gesundheit Schmerzen Multiple Sklerose Diabetes Immunsystem Fibromyalgia Modular Mobile Computing iOS Software OSX Android Custom Rom Rooted
Re: Trouble when uploading PNG images (and/or other file types ?)
« Reply #35 on: November 03, 2017, 06:17:49 PM »
hi,

did anyone encounter this:

thought to post here in case it's only me instead of opening a thread or post just somewhere :-)
Yes, today pm on pc and mobile.

ok, thanks for feedback, hence i won't further try to troubleshoot, must be server-side or something :-)
http://magnamentis.com
Knowledge, Understanding & Insight Are Among The Best Sources For Personal Freedom & Vitality !