quoted text in 1 forum post causes crash when trying to modify

soaringeagle
@soaringeagle
9 years ago
3,304 posts
when trying to feature this post
https://www.dreadlockssite.com/dreadlocks-forums/forum/member-journals-and-timelines/60655/my-amazing-journey
i get a script error (in ff) then the code,..everything in the edit box vanishes in safari it just crashes the browser
in inspect element i see below the visible text the same text quoted and hidden
thats the only thing i can think of that can be causing the crashes


any solution?

<div style="" id="q60655">[quote="Sarah Smeester"]
So I started my dreads about 2 months ago and I can not even begin to explain the emotional connection I have with them already. I feel like if I didn't have them I would be going no where in life. Before I got my dreads I thought I would get them and they would look cool and be kind of unique. I admit I did buy some nasty dreadhq stuff but luckily I found this site before I could use it. After getting them I was kind of beating myself up about doing it with so much stress in my life at the time I thought they would be hard to manage and would fall apart.Now iv always delt with some confidence issues and not thinking I'm pretty or skinny or anything like that but after 1 month I would find myself thinking wow I look pretty today or that I would not have to check the scale everyday to see if I'm finally skinny. I didn't kno why at first but now after 2 months with my maturing dreads I finally realize that the emotional and somewhat spiritual connection I have with my dreads is making me overall more confident and in turn more happy. Everyday I wake up and look at my babies and think wow these are great, or I'll add more of a personal touch by wrapping them.People are always asking me about them and I am happy to talk about them, even eager because these dreads have not only become a fashion statement but the reason I can wake up and feel like I matter every morning &amp;lt;3I hope with my personal journey I can inspire others to take a leap of faith and get dreads :)
[/quote]
</div>



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 03/15/15 10:51:49AM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
when i debug the script it said its 'blackboxed"
whatever that means when i unblackbox it line 4 was highlighted

search the below (too huge i know) code for
i.remove(e)}return e}}var i=this,o=i.createRng(),a,s,l;return e&&t?(o.setStart(e.parentNode

its that line that was highlighted




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
maybe back down on the coffee a little? =8-o


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
soaringeagle
@soaringeagle
9 years ago
3,304 posts
thnx for reminding me havent had my 1st sip yet


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
@SE -

PLEASE edit your post. This is what it looks like in my browser - Firefox. There's so much of it that even zoomed out 4x I can't see it all. And it takes FOREVER to load and there's something that's not getting parsed properly and it's leaking out to where it shouldn't be.

If you have a big code dump, please arrange to send it privately to an admin as there is NO WAY this is useful to anyone in this format.

Okay?
:: Clay
updated by @claygordon: 01/31/15 11:04:10AM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
i wanted to unclude the whole script for debugging didnt realize how big it was till i posted it and for some reason the closing code got stuck in the middle but ill edit it down to line 4


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
cant edit it when i hover over it the edit option disapears
and trying to copy just line 4 copies all the code
srry guys was just trying to be thourough


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Do you think ANYONE is going to be able to read your post and help you with a solution by scanning that code?

You should have had less coffee yesterday.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
soaringeagle
@soaringeagle
9 years ago
3,304 posts
someone familiar with the code will yes
thats why its provided
if they cant see where the codes breaking how will they debug it
so i gave them the mysteriosly hidden quoted code and the debug script and the line its breaking on
you cant possibly debug it without that


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
i am 10000% completely unfamiliar with the code but a simple scan of that line that it broke on gave me some clues
i think its failing because of self closing elements
like part of the qouted text was added from a comment since quoted text shouldnt be part of the original post

verified http://dreadlockforums.ning.com/forum/topics/my-amazing-journey
thats the post it was imported from
there is no quoted text hidden or otherwise in the original code


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
soaringeagle:
someone familiar with the code will yes
thats why its provided
if they cant see where the codes breaking how will they debug it
so i gave them the mysteriosly hidden quoted code and the debug script and the line its breaking on
you cant possibly debug it without that

I guess that kind of makes sense.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
soaringeagle
@soaringeagle
9 years ago
3,304 posts
im a debugger and detective even if i dont know what im looking at or looking for i keep looking till i find a clue
and i think ..but im not sure that it was part of a comment being imported into the post that caused that

i think the php page display was able to handle it gracefully but the editor...what that crazy codes for.. threw an error when it encountered a unclosed quoute tried to remove it and crashed
deleting the whole text box contents with it


when i copy pasted it from the debig window it did not look so huge as each line was 1 line with most hidden offscreen so it looked like 10 lines of code but each line was way longer then it looked


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Yes, I don't see your entire posting strategy working for you.

Try a little empathy.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
soaringeagle
@soaringeagle
9 years ago
3,304 posts
cant fix it ..it wont let me


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Well done.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
douglas
@douglas
9 years ago
2,790 posts
I removed your code as that most likely has nothing to do with your issue. Do you have a link to the forum post in question?

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags