Resolved Let's Figure Out Why Crystal's Profile Doesn't Work

Status
Not open for further replies.

Crystal

Formerly Apollo
Administrator
GW Elder
Messages
9,131
Just trying to sort things out, because I'm stumped.

I went to the dev board and found that if I disable all add-ons and then enable them one at a time, I don't run into the issue until I activate any of the following add-ons:

-XenAddons Pickem
-s9e/MediaSites
-PWA (DigitalPoint)
-Editor & BB Code Manager
-Advanced BbCode pack

As far as I can tell, they have NOTHING in common...so...yeah...I'm stumped.

Anyone feel like shooting some ideas to try?

:thinking
 
Solution
YES!

1713230649458.png

Crystal, you have a working profile page again.

I did start out by just deleting TD's post, but that was not actually the cause.

1713230368440.png

I then just went nuts and deleted everything from your profile, and it now loads.

I will start going back through and undeleting them one-by-one until I find the fucky one.

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
I took the forums offline for a few minutes and rebuilt all of the cached data, wondering if that'd fix anything. I think it actually did clear a couple of the errors I'm getting on the HTML markup validation, but not all of them.

Currently going through and making sure alt-text is set on all of the badges, in case that's the dumb reason.
 
Messages
1,071
Excited Season 4 GIF by The Office
1712940104129.png
Marquis de Clay

| "Ah, my dear Sparkles." |
 
So, it's spreading. :giggle

One of my PM conversations is now just showing as a white page.

Worth noting that I attached 5 images to the post that might have broken it. So... I mean that isn't particularly unique to that post, nor was the size of the post, nor was the total conversation size. But it's a thing all the same. 🤔

I also copy-pasted the contents of said post, including attachments, in a new PM conversation and those work/display just fine...


Edit/Update: I can direct link to previous pages and those all load just fine. It's just the last page that is blanking out.
 
  • Hmm
Reactions: Ben

Crystal

Formerly Apollo
Administrator
GW Elder
Messages
9,131
So, it's spreading. :giggle

One of my PM conversations is now just showing as a white page.

Worth noting that I attached 5 images to the post that might have broken it. So... I mean that isn't particularly unique to that post, nor was the size of the post, nor was the total conversation size. But it's a thing all the same. 🤔

I also copy-pasted the contents of said post, including attachments, in a new PM conversation and those work/display just fine...


Edit/Update: I can direct link to previous pages and those all load just fine. It's just the last page that is blanking out.
Damn, this is so strange!
 

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
So, it's spreading. :giggle

One of my PM conversations is now just showing as a white page.

Worth noting that I attached 5 images to the post that might have broken it. So... I mean that isn't particularly unique to that post, nor was the size of the post, nor was the total conversation size. But it's a thing all the same. 🤔

I also copy-pasted the contents of said post, including attachments, in a new PM conversation and those work/display just fine...


Edit/Update: I can direct link to previous pages and those all load just fine. It's just the last page that is blanking out.
The img tag is something I've been looking at. Debugging I get a lot of errors regarding the trailing / on void element tags like <img>, where an unquoted src variable can interpret the / in <img src=blah.jpg /> as part of the URL. So instead of "blah.jpg", it points to "blah.jpg/".

There's also some errors regarding a missing or incorrect height attribute to some <img> tags... Which might explain why some of them bust out of the frame.

I made a vague pass at removing the trailing / from the PAGE_CONTAINER template, but it threw an error on my trying to parse everything at once. I'll try to go through the markup validation line by line later.

I'm between it being an issue with Font Awesome in either the app_user_banner.less or extra.less template, and some markup error forcing Quirks mode and breaking the CSS entirely.

@Raine mind letting me know who the PM was to? I might be able to compare that account to Crystal's, or the threads that won't load.

@shortkut did ponder if it's just the number of images on the page, so that's another thing to investigate...
 
  • Badger
Reactions: TD
@Raine mind letting me know who the PM was to? I might be able to compare that account to Crystal's, or the threads that won't load.
Ongoing wolf/shenanigans PM chain with TD. Who is... naturally, fucking everywhere. :chuckle

I actually still have a tab open with the offending post in it, so I can run some experiments as long as whatever I'm doing doesn't reload the page.
 
  • Haha
Reactions: TD

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
Ongoing wolf/shenanigans PM chain with TD. Who is... naturally, fucking everywhere. :chuckle

I actually still have a tab open with the offending post in it, so I can run some experiments as long as whatever I'm doing doesn't reload the page.
Word. I 100% assumed it was him.

Espn No GIF


Probably IS badges though.
 
  • Haha
Reactions: TD
The img tag is something I've been looking at.
Okay so some of that is way above my pay grade...

But I can confirm that if I replace the text of the offending post with "Experiment 1." that the page is then viewable again. I do not need to remove/delete the 5 attachments for this to succeed.

The images within that post (and I'm going to keep this tab open just in case it fucks this thread up lol) are:

200w.gif


wink-got-it.gif

images.png

@shortkut did ponder if it's just the number of images on the page, so that's another thing to investigate...
Counting images in totality, there would be:

17 attachments (16 jpg/png, 1 gif)
54 gifs (including duplicates in quotes, 2 new gifs in offending post)
2 YouTube embeds using the media tag
461 smiles/emojis before offending post + 23 more in offending post
Edit: Plus we're silly and use reactions as bookmarks so every post on the page (45) has a reaction image as well

...That's a lot of counting let me catch my breath and read new responses in this thread. :giggle
 
Swapped the badges, it's not a specific one but broke every time with badge 6.
Okay, so, the above numbers and on that page you had:

28/45 posts

Although it's worth noting that, for me on desktop, it doesn't show badges in-convo. Requires mousing over. But, assuming that element counts, then we're also adding in any possible background images.

I feel like there's probably a thread I can blow up to test things with, uno momento.
 
  • Badger
Reactions: TD
So, Testing Grounds thread is now viewable again by removing 375 :) faces.

I could sit here and add small amounts back in, put into consideration how many badges are shown, background banners, yadda yadda, but... that sounds like a lot of work.

Ostensibly though if you temporarily limit displayed badges to like 1, Crystal's page might be viewable? Or maybe that's a separate issue and the two of us just went and found a different way to break things. ;)
 
  • Haha
Reactions: TD

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
As long as it doesn't involve 100+...

Right Ben?
:giggle
Schitts Creek Ok GIF by CBC


Thanks @Raine and @TD for testing things.

I don't know if it's specifically going to be a file size/cache issue with the number of images being loaded, although possibly. I'd think that statistically if something is busted with images, dropping 3000 into one thread just increases the odds that it'll trip up on the CSS and puke.
 
So, I pushed our PM conversation forward a page (we were only 3 posts away from a new page) using the still-open tab.

It was much, much more difficult to get the previous page to fix itself afterwards. I mean, I suppose that makes sense in theory - 3 new posts means 18 new badges + 3 new avatars + whatever else. But I definitely had to remove more than ~30 smiles/emojis/gifs to get it to load again.

But going back and forth between the new page and the old page doesn't result in the white/blank screen... so, uh, cave(wo)man unga bunga go? :giggle
 
  • Mind Blown!
Reactions: TD

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
It's gotta be the badges fucking things up and probably just contributing to things on pages with thousands of images. I turned off all of mine except the 100 one, and page 6 of my D&D thread that broke now works again.


It doesn't seem to be any particular badge, as I think @TD said earlier when he was fucking with it. 1 works fine, if I enable 2, it breaks.

I did go through and fix the height of the badge display (under ozzmodz_badges_featured_badges.less), so they don't bust out of the frame anymore. The upside down pineapple is now sized appropriately.

1712991726487.png

However this didn't solve the overall issue, it just fixes the stylistic bound-overflow issue.

My current thought is that it seems more common on the badges I've put in, which are generally at a way higher resolution than the others (even though they're still being scaled down.) I'm going to guess that it's choking on caching so much data at once, although the "big" pineapple image png is only 206kb. That's... Not huge. I can try scaling some of them down though, and testing whether that loads any easier.

Gonna sleep on it for now, though. 😴
 

Crystal

Formerly Apollo
Administrator
GW Elder
Messages
9,131
It's gotta be the badges fucking things up and probably just contributing to things on pages with thousands of images. I turned off all of mine except the 100 one, and page 6 of my D&D thread that broke now works again.


It doesn't seem to be any particular badge, as I think @TD said earlier when he was fucking with it. 1 works fine, if I enable 2, it breaks.

I did go through and fix the height of the badge display (under ozzmodz_badges_featured_badges.less), so they don't bust out of the frame anymore. The upside down pineapple is now sized appropriately.

View attachment 13375

However this didn't solve the overall issue, it just fixes the stylistic bound-overflow issue.

My current thought is that it seems more common on the badges I've put in, which are generally at a way higher resolution than the others (even though they're still being scaled down.) I'm going to guess that it's choking on caching so much data at once, although the "big" pineapple image png is only 206kb. That's... Not huge. I can try scaling some of them down though, and testing whether that loads any easier.

Gonna sleep on it for now, though. 😴
Yeah, worry about it later, go sleep!
 
  • I Always Feel Like...
Reactions: Ben

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
Yeah, worry about it later, go sleep!
Go Away Power GIF


((I was gonna do it anyway, but... Not 'cause you told me. :crossarm ))

If I didn't have a fucking life that took up my free time until past 12am, I wouldn't have to start coding by werewolf rules. :shrug

But yah, I'll get back at it tomorrow.


OH. Also I had tried bumping down all of the max badges for usergroups to 5, and/or setting them to 5 where they had been unlimited still (like TD's 10k group letting him show EVERYTHING without a specific featured badge.) However it again didn't force unselect badges for anyone. If you had 6 turned on, you've still got 6 turned on. I'm not sure if reducing them will even help since it seems to be anything over 1 but...

Also none of the fixes unfortunately did anything for Crystal's profile, so I'm still at a loss there. Still leaning towards just crawling through the markup errors line by line.

12829670-bd4d-49a7-869b-45bccded52c7_text.gif
 
  • Hmm
Reactions: TD

Crystal

Formerly Apollo
Administrator
GW Elder
Messages
9,131
Go Away Power GIF


((I was gonna do it anyway, but... Not 'cause you told me. :crossarm ))

If I didn't have a fucking life that took up my free time until past 12am, I wouldn't have to start coding by werewolf rules. :shrug

But yah, I'll get back at it tomorrow.


OH. Also I had tried bumping down all of the max badges for usergroups to 5, and/or setting them to 5 where they had been unlimited still (like TD's 10k group letting him show EVERYTHING without a specific featured badge.) However it again didn't force unselect badges for anyone. If you had 6 turned on, you've still got 6 turned on. I'm not sure if reducing them will even help since it seems to be anything over 1 but...

Also none of the fixes unfortunately did anything for Crystal's profile, so I'm still at a loss there. Still leaning towards just crawling through the markup errors line by line.

View attachment 13429
The answer is as I said it was -- because I'm horrible and my profile doesn't want anyone to see how bad.

NOW GO SLEEP!
 
  • Nope!
Reactions: Ben

Ben

Stoned Guardian
Badministrator
Executive
Moderator
GWF Sponsor
Administrator
GW Elder
Messages
3,921
The answer is as I said it was -- because I'm horrible and my profile doesn't want anyone to see how bad.

NOW GO SLEEP!
The only thing you're horrible at is being horrible, so (lovingly) sod off with that bollocks.

I'm going, I'm going. 🙄
 

TD

ES COO Shitposting Dept. of GWF
10K Post Club
Executive
GW Elder
Messages
16,916
Status
Not open for further replies.
Back
Top Bottom