Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Welcome to BZPower!

Hi there, while we hope you enjoy browsing through the site, there's a lot more you can do if you register. Some perks of joining include:
  • Create your own topics, participate in existing discussions, and vote in polls
  • Show off your creations, stories, art, music, and movies
  • Enter contests to win free LEGO sets and other prizes
  • Participate in raffles to win LEGO prizes
  • Organize with other members to attend or send your MOCs to LEGO fan events all over the world
  • Much, much more!
Enjoy your visit!

Issue Information

  • #000308

  • Issue

Issue Confirmations

  • Yes (4)No (0)
Photo

Comedies chapters getting "cut off"

Posted by Lewa0111 Nuva on Feb 07 2015 - 07:17 AM

Recently I've been having a recurring issue with a few of my posts in the Comedies forum. I've never seen this happen to me before and am not sure what is causing it or how to fix it (aside from resorting to double-posting, which is against the rules). What's happening is that my last few story chapters in one particular comedy are posting okay, but then a day or so later when I go back to look at the topic, they are both cut-off; they just end abruptly at a certain point (the same point in the chapters every time). I have edited the posts and added in the missing parts, only to again return to see them back to the cut-off versions. Strangely, though at first I thought it was a length issue, my similar-length chapters in both the same story and one of my other stories have been just fine.

 

Post #1

 

Post #2

 

Any help would be appreciated!

 

:mirunu: Lewa0111 Nuva  :mirunu:

 

P.S. I also noticed that the first post (but not the second) with this issue seems to have something weird going on with the signature as well. It's not "separated" out from the rest of the post like most signatures are.


See this ticket, too. Similar issue, I think. As GSR pointed out, each line of text in the posts you've mentioned here includes its own set of formatting tags. If you go to edit the post and switch to BBCode mode (the light switch icon), you can see it. Each line is being formatted individually, which is suspicious.




Lewa0111 Nuva
Feb 07 2015 12:46 PM

Huh, that is strange. I haven't been copy-pasting or anything like that; I have been using the default settings at the top (font box, color changer, etc). Wonder why it's only these chapters?

 

:mirunu: Lewa0111 Nuva :mirunu:




Ballom Nom Nom
Feb 07 2015 06:08 PM
It should also be noted how these posts linked to also have a downvote option, along with the upvote option to the left side instead of the right. It seems to be something beyond just size problems.

Yeah, this seems to be very similar to the issue I had.

 

I eventually ended up fixing it by setting my default post color to black and making sure to type in "arial" font wherever I wrote the chapters (since that's the default font on BZPower). That seemed to fix it, so I think there might be an issue somewhere with different codes clashing together and causing this weird string of errors.



Yeah, for some reason the board software just stops generating code for the post body after a certain point - which results in unfinished HTML tags, which throws off the rest of the post.  I wonder if this is some IPB setting - if post takes X time to render, cut it off early, for example.



Can I ask - how are you writing your stories? Are you writing them in an external program (say, Google Docs or Word) and then copy-pasting them into BZP?



Putting my findings here so that this can be escalated to Invision if need be.

Here's what I've noticed:

The posts in question have excessive BBCode. For this post in Comedies, we get BBCode looking like this:

[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Onua:[/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Narrator: Shut up, I don't want to hear it.[/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Onua: But I didn't even say anything yet![/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Narrator: You and I both know you're going to complain about something in the title sequence, I'm going to argue with you, and it will end with us declaring how much we hate each other. Why don't we just skip that part and start the story right away? No dumb Onua intro this time?[/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Onua: Okay, first, I'm not dumb, second, it's not [/size][/background][size=15][background=transparent]my[/size][/background][size=15][background=transparent] intro, and third, you're a bit too late for that. We're doing an intro right now![/size][/background][/color][/font]
In other words, we get needless duplication of BBCode for formatting - most of the above could be achieved with a single font, color, and size tag.

Now let's take a look at the end of the post as generated HTML:

<p><span style="font-family:'times new roman', times, serif;"><span style="color:#006400"><span><span style="font-size:15px;font-style:italic;background-color:transparent">On Mount Ihu I can build a huge bridge,</span></span></span></span></p>
<p><span style="font-family:'times new</span>
                    
                    <br />
                    <p class='edit'>
                            <strong>Edited by Lewa0111 Nuva, Jan 26 2015 - 09:42 PM.</strong>
                            
                        </p>
                </div>
                
                
                <div class='rep_bar clearfix right' id='rep_post_831244'>
                                <ul class='ipsList_inline'>
                    <li >
                            <a href='http://www.bzpower.com/board/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=831244&amp;rating=1&amp;secure_key=94109becb0a73adfc926ca20b060a142&amp;post_return=831244' class='rep_up' title='Vote this post up'><img src='http://www.bzpower.com/board/public/style_images/staff_skin/rep_up.png' alt='+' /></a>
                        </li>
                        <li style=" display:none"="">
                            <a href="http://www.bzpower.com/board/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=831244&amp;rating=-1&amp;secure_key=94109becb0a73adfc926ca20b060a142&amp;post_return=831244" class="rep_down" title="Vote this post down"><img src="http://www.bzpower.com/board/public/style_images/staff_skin/rep_down.png" alt="-"></a>
                        
                    
                        
                            </span></p><li><span class="reputation positive rep_show" title="Reputation">
                        
                        
                            2
                            </span>
                        </li>
                
            </span></div>
It's messy, but it looks like what's happening here is that the HTML corresponding to the post body gets cut off mid-<span>, resulting in a big chunk of the code winding up inside the style attribute of that <span> tag. As such, the upvote button vanishes, and the downvote button's "display:none" styling does as well, resulting in the downvote button popping up.

With this in mind, here's my guess as to what's happening:
  • IPB, for whatever reason, fails to generate efficient BBCode for a post. (This doesn't appear to be effected by where the post was written - in this case the post was composed in the standard post box, in another case it was composed with Google Docs.)
  • IPB goes to generate the code for the post upon request.
  • Having more BBCode than expected to deal with, but not exceeding the standard word/character count, the BBCode->HTML parsing times out.
  • IPB inserts the partial HTML that was generated into the page, and proceeds as normal, resulting in mis-matched tags and errors.
This is all a hypothesis - it could be something entirely different's happening. But the symptoms (over-generated BBCode, post body HTML being only partially generated) seem fairly certain at this point.

Looks like we have another repro here.  We might want to bump the severity on this up a bit, since it seems quite a few folks are running into it.



Roger that.



Thank you, GSR. Here's further information:

 

Document was originally composed in Pages on OS X.

Font: Times New Roman, Regular

Size: 12pt

Alignment: Justified

Spacing: 1.5

In addition, I have set an automatic indent at the beginning of each new paragraph for 1.27 cm.

 

I copy and paste this directly to the post field in Safari browser, and I only change the line spacing between each paragraph since it seems the software can't do 1.5 spacing like a document processor. Otherwise, I add a font, size the Chapter title larger, and add in the review link. I don't need to centre a divider (***) since that seems to copy over fine.




Lewa0111 Nuva
Feb 18 2015 04:27 AM

Putting my findings here so that this can be escalated to Invision if need be.

Here's what I've noticed:

The posts in question have excessive BBCode. For this post in Comedies, we get BBCode looking like this:
 

[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Onua:[/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Narrator: Shut up, I don't want to hear it.[/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Onua: But I didn't even say anything yet![/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Narrator: You and I both know you're going to complain about something in the title sequence, I'm going to argue with you, and it will end with us declaring how much we hate each other. Why don't we just skip that part and start the story right away? No dumb Onua intro this time?[/size][/background][/color][/font]
 
[font='times new roman', times, serif][color=#006400][size=15][background=transparent]Onua: Okay, first, I'm not dumb, second, it's not [/size][/background][size=15][background=transparent]my[/size][/background][size=15][background=transparent] intro, and third, you're a bit too late for that. We're doing an intro right now![/size][/background][/color][/font]
In other words, we get needless duplication of BBCode for formatting - most of the above could be achieved with a single font, color, and size tag.

Now let's take a look at the end of the post as generated HTML:

<p><span style="font-family:'times new roman', times, serif;"><span style="color:#006400"><span><span style="font-size:15px;font-style:italic;background-color:transparent">On Mount Ihu I can build a huge bridge,</span></span></span></span></p>
<p><span style="font-family:'times new</span>
                    
                    <br />
                    <p class='edit'>
                            <strong>Edited by Lewa0111 Nuva, Jan 26 2015 - 09:42 PM.</strong>
                            
                        </p>
                </div>
                
                
                <div class='rep_bar clearfix right' id='rep_post_831244'>
                                <ul class='ipsList_inline'>
                    <li >
                            <a href='http://www.bzpower.com/board/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=831244&amp;rating=1&amp;secure_key=94109becb0a73adfc926ca20b060a142&amp;post_return=831244' class='rep_up' title='Vote this post up'><img src='http://www.bzpower.com/board/public/style_images/staff_skin/rep_up.png' alt='+' /></a>
                        </li>
                        <li style=" display:none"="">
                            <a href="http://www.bzpower.com/board/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=831244&amp;rating=-1&amp;secure_key=94109becb0a73adfc926ca20b060a142&amp;post_return=831244" class="rep_down" title="Vote this post down"><img src="http://www.bzpower.com/board/public/style_images/staff_skin/rep_down.png" alt="-"></a>
                        
                    
                        
                            </span></p><li><span class="reputation positive rep_show" title="Reputation">
                        
                        
                            2
                            </span>
                        </li>
                
            </span></div>
It's messy, but it looks like what's happening here is that the HTML corresponding to the post body gets cut off mid-<span>, resulting in a big chunk of the code winding up inside the style attribute of that <span> tag. As such, the upvote button vanishes, and the downvote button's "display:none" styling does as well, resulting in the downvote button popping up.

With this in mind, here's my guess as to what's happening:
  • IPB, for whatever reason, fails to generate efficient BBCode for a post. (This doesn't appear to be effected by where the post was written - in this case the post was composed in the standard post box, in another case it was composed with Google Docs.)
  • IPB goes to generate the code for the post upon request.
  • Having more BBCode than expected to deal with, but not exceeding the standard word/character count, the BBCode->HTML parsing times out.
  • IPB inserts the partial HTML that was generated into the page, and proceeds as normal, resulting in mis-matched tags and errors.
This is all a hypothesis - it could be something entirely different's happening. But the symptoms (over-generated BBCode, post body HTML being only partially generated) seem fairly certain at this point.

 

 

Thanks for this analysis! I know next to nothing about code, so it looked like a jumbled mash of brackets and slashes to me. That clears things up immensely.

 

I guess the problem now is figuring out why Step 1 is happening. Were there any forum updates recently that might have been the cause? I never saw this issue at all until a few weeks ago.

 

:mirunu: Lewa0111 Nuva :mirunu:



Any updates for this one?




Lewa0111 Nuva
Jul 03 2015 12:33 AM

I've been trying for months to use different combinations, etc. and get it to work, to no avail. Still hoping someone who knows more about coding than I do will be able to figure out the solution--for me it's just a bunch of shots in the dark as far as I can do.

 

Hope this gets fixed soon, as I really miss writing!

 

:mirunu: Lewa0111 Nuva :mirunu:



Have you tried posting the chapters using the "BBCode Mode", and manually coding whatever needs it?




Lewa0111 Nuva
Jul 09 2015 01:17 AM

Yep, same problem. I've tried both switching the existing text over and completely re-coding everything, without success. Each time it shows up completely posted at first, but then a few minutes later after refreshing the page, it cuts off in the exact same spot.

 

:mirunu: Lewa0111 Nuva :mirunu:







0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users