topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:56 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Problems with attaching an attachment to a post...  (Read 13555 times)

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 93
    • View Profile
    • Donate to Member
Problems with attaching an attachment to a post...
« on: January 15, 2011, 04:59 AM »
Hi folks,

Anyone else having problems attaching a file to a post?
This file won't attach: TransparentMove.zip
EDIT: removed link, it's now attached, but not without problems, see below

Tried a couple of times with:
Firefox 3.6.13
Pale Moon 3.6.13 (clean profile)
IE7
Opera 11

Results:
Screenshot - 15-1-2011.png

Does anyone know a solution?

« Last Edit: January 15, 2011, 06:38 AM by Winkie »

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: Cannot attach an attachment to a post...
« Reply #1 on: January 15, 2011, 05:03 AM »
4875_210274225133_527285133_7210487_6021588_n.jpgProblems with attaching an attachment to a post...


Try uploading a different file, see if you have the same problems, doesnt seem like a server error.

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 93
    • View Profile
    • Donate to Member
Re: Cannot attach an attachment to a post...
« Reply #2 on: January 15, 2011, 06:34 AM »
OK, did some testing. The results:

First, I did manage to attach the above file to the post.

But attaching files larger than about 100 kB doesn't always work for me in one go.
If* I encounter the above error and go back to the post (not in editing mode) and then click modify again and attach the file than it does work.

* 9 out of 10 trying to attach a file for the first time.
« Last Edit: January 15, 2011, 06:58 AM by Winkie »

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,857
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #3 on: January 15, 2011, 08:30 AM »
Happens to me regularly since the server switchover.

It may be related to image dimensions on the initial post. Once any dimension gets up over 600 the problem starts cropping up for me. It also doesn't seem to like PNG format if you want to display the image as a thumbnail.

So for now, I try to stick to GIF or JPG and watch the dimensions. That and try again when it happens.

Luck! :)




« Last Edit: January 15, 2011, 08:32 AM by 40hz »

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,641
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #4 on: January 15, 2011, 10:17 AM »
But attaching files larger than about 100 kB doesn't always work for me in one go.
If* I encounter the above error and go back to the post (not in editing mode) and then click modify again and attach the file than it does work.

* 9 out of 10 trying to attach a file for the first time.

This is the same problem I was having with the site even before the server switch, anything over approx. 100k whether in one or multiple attachments - my solution was simple.

Switch to HTTPS - problem solved.

As I mentioned back here.
« Last Edit: January 15, 2011, 10:19 AM by 4wd »

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 93
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #5 on: January 15, 2011, 11:18 AM »
Pff, glad I'm not the only one having these problems.

Switch to HTTPS - problem solved.

I'll keep that in mind, thanks.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #6 on: January 15, 2011, 12:35 PM »
hmm -- i am seeing this error more frequently in the server log.

i'd like to figure out why it might be happening.. any clues?

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,857
    • View Profile
    • Donate to Member

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #8 on: January 15, 2011, 01:54 PM »
yes i wonder.. did you attach an image to the post you lost?

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,857
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #9 on: January 15, 2011, 02:00 PM »
Possibly related to this issue as well?

https://www.donation....msg231057#msg231057

https://www.donation....msg230106#msg230106

One thing I have noticed. If you're using the Quick Reply, then hit preview, then continue editing/writing in the modify message box for long periods of time, there's a very good chance you'll get a server reset notice. It has happened to me often enough that I now do a select all/copy before I posting unless I'm using my own text editor.

Seems to indicate there's a timing issue somewhere with the database or a script. Does a new message entry tombstone out if it says open too long before being committed?

« Last Edit: January 15, 2011, 02:03 PM by 40hz »

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #10 on: January 15, 2011, 03:54 PM »
This is why, when I write long posts (on those rare occasions), I type it all up in notepad first :D

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,857
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #11 on: January 15, 2011, 05:13 PM »
yes i wonder.. did you attach an image to the post you lost?

Originally no. All text plus several pasted URLs. The disappearing act happened after I had been editing for a while. When I finally went to save - poof! Which was odd because I hit preview several times and that worked just fine.

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #12 on: January 15, 2011, 05:18 PM »
Today I've uploaded 4 attachments, each of around with 2.5mbs, with no problems. Also done a ton of posting with no issues. Or no technical issues anyway  :D

Tell you when I have seen problems: occasionally when I try to post at the bottom of a very long set of AutoPager pages, I cannot get anything to save. Just end up with a blank message box.

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,641
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #13 on: January 15, 2011, 06:59 PM »
Seems to indicate there's a timing issue somewhere with the database or a script. Does a new message entry tombstone out if it says open too long before being committed?

If it were a problem with the DC server side of things, (database access, scripts, etc), then I would have expected that I'd keep getting the same problem even after I switched to SSL.......but I don't, after going to SSL I have yet to have even one problem.

To me that seemed to indicate that there was a proxy/server my connection was passing through that was causing lost packets or doing some strange filtering.

I might switch back to non-SSL and see if the problem still exists for me, it was fairly consistant, almost any attachment over ~100k would cause it to time out after a loonggg period, (>20min in some cases).

Of course, I have changed ISP and router since those times and currently the uploading of three ~3MB pics seems to be going smoothly.
I wish I'd kept a tracert from when I was having trouble.

I made an initial post regarding the problems I was having some time ago, I'll see if I can search it out - if nothing else it should give you a rough timeframe of when this problem started, (at least for me), and you could check to see what site changes were done in the temporal vicinity.

EDIT: Found it here - first time I noticed problems with trying to attach things, 2010-09-07.
« Last Edit: January 15, 2011, 09:37 PM by 4wd »

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 93
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #14 on: January 18, 2011, 01:05 PM »
Just an update:
Attaching the two pictures to this post failed when adding them both to the post.
Size ~69 kB and ~29 kB. The connection reset message appears almost immediately after hitting save*. Both on 'normal' connection and on HTTPS. Adding one, save, adding the other goes fine.

* Which was always the case when I saw the error message.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #15 on: January 18, 2011, 01:25 PM »
can you email me those attachments -- and i can test here.  [email protected]

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #16 on: January 19, 2011, 02:48 AM »
I myself have noticed pages timing out or connections resetting since the server move. It is very infrequent and I can't find any pattern, and at first I thought it was my internet being screwy.. but re-reading this topic, I have to conclude that this sort of behaviour has only been happening for my on DoCo pages and not other websites. :/

adammarleymtts

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #17 on: July 06, 2011, 12:51 AM »
Hmm this is a great post. How to upload a video to a log??

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: Problems with attaching an attachment to a post...
« Reply #18 on: August 28, 2011, 09:12 PM »
Hmm this is a great post. How to upload a video to a log??

-adammarleymtts (July 06, 2011, 12:51 AM)


If you mean things like youtube videos, do it like the following:

[youtube]http://www.youtube.com/blah[/youtube]