Jump to content


Photo

Connection re-initialized..


  • Please log in to reply
17 replies to this topic

#1 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 12 September 2006 - 07:21 PM

I'm very often getting a 'Connection re-initialized' error from FF, especially when trying to submit or modify posts.

Anyone else experiencing  this?

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 12 September 2006 - 07:30 PM

No issues here.  How often are you seeing it?

Info: PHP Manual


#3 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 12 September 2006 - 07:40 PM

No issues here.  How often are you seeing it?


Quite often. At first I thought it had something to do with the forum being busy, but now I've noticed it only happens when I try to submit codeblocks. And only perticular ones. In a thread in App Design I could post all but one of about 5 methods, no matter how often I try. This is not the first time though.

It happens on 'post', 'save' (as in edit) and 'preview'. I'd show you the code it happens with, but I can't post it (Duh).

#4 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 12 September 2006 - 07:45 PM

Put it on pastebin.com.  We do have an active system here that will stop you from posting certain portions of code.  There is a thread in the FAQ board about it.  I could see it throwing that error if you've tripped that system.

Info: PHP Manual


#5 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 12 September 2006 - 07:48 PM

Guess what: I traced it down to this string: "/....", exactly four dots (I have the fourth wrapped it 'bold' tags now, so I'm able to post it). Try it out.


#6 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 12 September 2006 - 07:55 PM

....

Info: PHP Manual


#7 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 12 September 2006 - 07:56 PM

/....

Info: PHP Manual


#8 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 12 September 2006 - 07:57 PM

I can post those... but it won't let me edit.  Weird.

Info: PHP Manual


#9 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 12 September 2006 - 08:11 PM

FF javascipt debugger tells me this: "document.forms.postmodify[i].name has no properties".

How that causes re-initialization beats me, but it only shows when the error occurs.

Plus, can someone fix the fact that BBcode is parsed, even when endtags are omitted?

Above should be: document.forms.postmodify[\i].name (but without slash).

Edit: hey, that means I found two bugs in one thread...  :P

#10 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 13 September 2006 - 01:15 AM

I'm going to guess the first one is a result of a bug in the AJAX code.

As far as the second... most people probably want it parsed without the end tag because they're lazy.  It's kind of a catch all.

Info: PHP Manual


#11 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 13 September 2006 - 09:05 AM

I'm going to guess the first one is a result of a bug in the AJAX code.


I figured that much later.

As far as the second... most people probably want it parsed without the end tag because they're lazy.  It's kind of a catch all.


Bleh.  :-\ That is just 'wrong'. Maybe that would be less of an issue if the 'post submittal' text editor worked better.

#12 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 13 September 2006 - 01:02 PM

Why is that wrong?  What kind of logic leads you to think that something should not be parsed if you leave off the end tag?

Info: PHP Manual


#13 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 13 September 2006 - 01:18 PM

Not many people know about this BBCode, but use the nobbc bbcode:
[nobbc]bbcode [b]you dont[/b] want to be [i]parsed[/i] here[/nobbc] (note this is wrapped in nobbc tags)

Actuall result:
bbcode [b]you dont[/b] want to be [i]parsed[/i] here

Anyway why you complaining to us. Its not our problem its down to the SMF team. However I do preferer BBCodes parsers that parse BBCode tags in pairs, rather than parsing single BBCode tags.


#14 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 13 September 2006 - 02:16 PM

Why is that wrong?  What kind of logic leads you to think that something should not be parsed if you leave off the end tag?


Well, I quess I'm looking at it as an 'element node', like in X(HT)ML. Plus, I (the vistor in general) am more likely to forget to include an endtag, resulting in the markup being applied to the rest of my post wich I did not intend, than to deliberately omit the end tag because I intended the markup being applied to the rest of the post (very strange sentence but what can you expect from a Dutch guy).

I think you know what I'm trying to say.

It's not a bug, but maybe it is (or can be made) a configurable option.

Not many people know about this BBCode, but use the nobbc bbcode:
[nobbc]bbcode [b]you dont[/b] want to be [i]parsed[/i] here[/nobbc] (note this is wrapped in nobbc tags)

Actuall result:
bbcode [b]you dont[/b] want to be [i]parsed[/i] here

Good tip, thanks!

Anyway why you complaining to us. Its not our problem its down to the SMF team. However I do preferer BBCodes parsers that parse BBCode tags in pairs, rather than parsing single BBCode tags.


Who's complaining? I'm just pointing something out.

Ok, so maybe I was complaining a LITTLE bit  :P

I'm getting that 'people want me to shut up' feeling again. So I will.

#15 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 13 September 2006 - 02:41 PM

No one is trying to shut you up.

Info: PHP Manual


#16 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 13 September 2006 - 05:43 PM

<quickly hides the duct tape behind his back>

no, no...nobody is trying to shut anybody up...<shifty eyes>  :-X
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#17 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 13 September 2006 - 05:56 PM

ha ha ha!

#18 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 13 September 2006 - 06:13 PM

ha ha ha!


Yes.. Very funny CV.... I think I'll sit in a corner and cry now if you don't mind..... :'(






;D ;D ;D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users