Jump to content

One page of my forum is broken: can't edit, can't reply, can't see last post?


Go to solution Solved by Nathan Explosion,

Recommended Posts

Posted

Someone replied to an older topic. When I try to see his reply, I can't access it: it takes me to the last page of the topic but I don't see his reply. There is no "Reply to this topic..." box at the bottom and clicking the green "Reply to this topic" doesn't do anything. Clicking the "..." icon at the top right of a post to edit it doesn't do anything. Clicking a checkbox to select a post to moderate it selects the checkbox but does not pop up the moderation control menu. I'm missing the footer at the bottom of that page. 

Other pages of the same topic work as expected, and other topics work as expected. 

Here's the broken page: https://www.logicprohelp.com/forums/topic/118846-logic-pro-x-compressor-circuit-type-cheat-sheet/page/3/

Posted

Given the ads on there, I would disable those and test first of all, in case one of those is causing you the issue. If that doesnt work, disable anything that is not stock and test. Failing that, let us know and we can take a closer look

Posted
4 minutes ago, Marc Stridgen said:

Given the ads on there, I would disable those and test first of all, in case one of those is causing you the issue. If that doesnt work, disable anything that is not stock and test. Failing that, let us know and we can take a closer look

I created a default stock Invision theme. No ads. Disabled all plug-ins. That page is still broken. 

Posted (edited)
5 minutes ago, DawPi said:

Where is the rest of your page? 🙂

That's basically my question: why is the footer missing, and why is the page malfunctioning. In that last post, the following video should be embedded: https://www.youtube.com/watch?v=1Tx6SRCwWug

5 minutes ago, DawPi said:

Maybe you should check content (raw - in the database) of that last post and check for errors?

Can you access the db with cloud hosting? 

Edited by David N.
Posted
Marc
This post was recognized by Marc!

Nathan Explosion was awarded the badge 'Helpful' and 5 points.

That last post is breaking the HTML:

Could contain: File, Page, Text, Webpage

This looks like the culprit:

<p><div class="ipsEmbeddedVideo"><div><iframe allowfullscreen="" frameborder="0" height="270" width="480" data-embed-src="https://www.youtube.com/embed/1Tx6SRCwWug</iframe></div></div> </p>

Opens the data-embed-src, but doesn't close it, and there is no closing > for the <iframe

It should be:

<p><div class="ipsEmbeddedVideo"><div><iframe allowfullscreen="" frameborder="0" height="270" width="480" data-embed-src="https://www.youtube.com/embed/1Tx6SRCwWug"></iframe></div></div> </p>

 

Posted (edited)
23 minutes ago, David N. said:

how could the HTML break like that? 

No idea...but I will point out that the following is the expected HTML source for an embedded YT video, tested on here:

My chosen video...

<div class="ipsEmbeddedVideo" contenteditable="false">
  <div>
    <iframe allowfullscreen="" frameborder="0" height="113" src="https://www.youtube-nocookie.com/embed/_RpuFR0KQHI?feature=oembed" title="Lamb of God - “Walk With Me in Hell” - Live @ Bloodstock Festival 2022" width="200"></iframe>
  </div>
</div>

Your video...

<div class="ipsEmbeddedVideo" contenteditable="false">
  <div>
    <iframe allowfullscreen="" frameborder="0" height="113" src="https://www.youtube-nocookie.com/embed/1Tx6SRCwWug?feature=oembed" title="The Mastering Compressor - Advanced Functions - TDR Kotelnikov Gentleman's Edition" width="200"></iframe>
  </div>
</div>

 

The following is the source from your now fixed embeded video on your site:

<div class="ipsEmbeddedVideo" contenteditable="false">
  <div>
    <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="" frameborder="0" height="113" src="https://www.youtube-nocookie.com/embed/1Tx6SRCwWug?feature=oembed" title="The Mastering Compressor - Advanced Functions - TDR Kotelnikov Gentleman's Edition" width="200"></iframe>
  </div>
</div>

Maybe you have something installed that is doing something with the submitted content?

Edited by Nathan Explosion
Posted (edited)
21 minutes ago, Marc Stridgen said:

Only really if someone has access to post html and has broken it

But no one (but me) can post HTML and I never use it to edit a post in the forum. 

11 minutes ago, Nathan Explosion said:

Maybe you have something installed that is doing something with the submitted content?

I don't. I just copy pasted the video from YouTube. 

Edited by David N.
Posted
44 minutes ago, Marc Stridgen said:

I would suggest testing this with no 3rd party items enabled, as something there is breaking your content on submitting

I have tested it and I can post videos as expected with or without 3rd party items enabled. The issue was with these two older topics (who knows if there aren't others). 

I haven't added new or removed old 3rd party plug-ins. I have only a minimum setup with 4 simple plug-ins: 

Enhanced Joined Date Enabled15.0.0 Marketplace  
By All Astronauts
https://all-astronauts.com

Trim Empty Lines in Posts Enabled1.0.3 Marketplace  
By Ahmed Zayed
https://invisioncommunity.com/profile/189809-a-zayed/

Remove Pages from Search Enabled1.0.0 Marketplace  
By Adriano Faria
https://invisioncommunity.com/profile/114025-adriano-faria/

Default Quick Search Option Enabled1.0.0 Marketplace  
By Ahmed Zayed
https://invisioncommunity.com/profile/189809-a-zayed/

 

Posted

Unfortunately all I can say is there is an issue in those topics in which you would need to correct the items. It may well be it was an issue in an older version. You do have at least one item there which is manipulating post content (trim empty lines) so if you do see it happening in the future, I would certainly disable that 

Posted
9 minutes ago, Marc Stridgen said:

You do have at least one item there which is manipulating post content (trim empty lines) so if you do see it happening in the future, I would certainly disable that 

Actually "Trim Empty Lines" is just a CSS add-on that hides empty <p> tags, it doesn't manipulate the post content.

Ok so I'll just fix the broken threads I can find manually... but this is a bummer. 

Posted

That is really the only way in which to fix them, no matter who does it. If you see it happen again however, and can replicate it, let us know and we can take a look. Something is obviously manipulating it as it posts, but given you can post fine now, its likely no longer present

Posted
6 minutes ago, Marc Stridgen said:

That is really the only way in which to fix them

Got it. 

Any idea why even with all plug-ins disabled, when I copy paste the same YouTube link to my forum it adds allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen=" — which isn't added to @Nathan Explosion's forum?

Posted (edited)

 

8 minutes ago, David N. said:

which isn't added to @Nathan Explosion's forum?

Not my forum, as I stated:

2 hours ago, Nathan Explosion said:

...tested on here:

If I test on my forum, those are included too.

Anyway...for reference, those are the default items that are returned by Youtube's oembed endpoint. See https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=URJH3ZJzxB0 and you'll see it in the HTML field.

 

 

Edited by Nathan Explosion
Posted (edited)

For further reference...on my own forum:

  • YT embeds posted prior to me upgrading to 4.7.9 don't include those elements in the posted content.
  • YT embeds posted today include those elements in the posted content.

Possible that YT has started including those in their HTML in the past few days.

Anyway...I'm out. Not overly concerned about the above now that I know the source of it.

Edited by Nathan Explosion
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...