Author Topic: 500 Internal Server Error/502 Bad Gateway  (Read 108332 times)

Online Something Fishy

  • Global Moderator
  • Dansdeals Lifetime Presidential Platinum Elite
  • **********
  • Join Date: Jan 2011
  • Posts: 8708
  • Total likes: 6077
  • DansDeals.com Hat Tips 44
    • View Profile
    • Kosher Horizons
  • Location: Iceland
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #580 on: July 29, 2016, 12:51:18 PM »
OK, just had a discussion with BAHayman. Looks like it's not DDF, rather Flickr serving up wrongly-sized images.

I'm looking into that angle, hopefully it's just a temp issue.

Darn it, it's happening again >:(.
Check out my site for epic kosher adventures: Kosher Horizons

Offline AJK

  • Dansdeals Lifetime 20K Presidential Platinum Elite
  • ********
  • Join Date: Jun 2011
  • Posts: 25419
  • Total likes: 721
  • DansDeals.com Hat Tips 15
  • Gender: Male
    • View Profile
  • Programs: United Concierge Key; Delta Global Services; American Chairman; US Airways 1K; Hilton Sapphire; Hyatt Tritium; Marriott Californium; Starwood Kryptonium; Hertz Plutonium; National Adamantium, Avis Executive Proactanium
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #581 on: July 29, 2016, 01:17:25 PM »
Yup. TR's are all out of whack.  >:(
2015: 116K bkd | 1.6M brnd | F: OZ,NH,AA,EK | J: UA,CA,TK,DL,TN,AF,VA | LIH,NRT,ROR,PEK,CNS,BOB,MEL,TLV & Pacific Hopper

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #582 on: July 29, 2016, 02:18:42 PM »
OK, just had a discussion with BAHayman. Looks like it's not DDF, rather Flickr serving up wrongly-sized images.

I'm looking into that angle, hopefully it's just a temp issue.
Darn it, it's happening again >:(.
Yup. TR's are all out of whack.  >:(

add max-width:100%; to the .bbc_img class, that should eliminate the problem in the future (and also eliminate the scrollbars when the page is too narrow for the image)

Offline AJK

  • Dansdeals Lifetime 20K Presidential Platinum Elite
  • ********
  • Join Date: Jun 2011
  • Posts: 25419
  • Total likes: 721
  • DansDeals.com Hat Tips 15
  • Gender: Male
    • View Profile
  • Programs: United Concierge Key; Delta Global Services; American Chairman; US Airways 1K; Hilton Sapphire; Hyatt Tritium; Marriott Californium; Starwood Kryptonium; Hertz Plutonium; National Adamantium, Avis Executive Proactanium
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #583 on: July 29, 2016, 02:35:21 PM »
Where am I adding that? In the bbcode?
2015: 116K bkd | 1.6M brnd | F: OZ,NH,AA,EK | J: UA,CA,TK,DL,TN,AF,VA | LIH,NRT,ROR,PEK,CNS,BOB,MEL,TLV & Pacific Hopper

Online Something Fishy

  • Global Moderator
  • Dansdeals Lifetime Presidential Platinum Elite
  • **********
  • Join Date: Jan 2011
  • Posts: 8708
  • Total likes: 6077
  • DansDeals.com Hat Tips 44
    • View Profile
    • Kosher Horizons
  • Location: Iceland
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #584 on: July 29, 2016, 02:36:06 PM »
Could you put up an example?
Check out my site for epic kosher adventures: Kosher Horizons

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #585 on: July 29, 2016, 02:38:20 PM »
Where am I adding that? In the bbcode?
sorry, that wasn't meant for you, it was meant for Dan/BAHayman.

You could do it (temporarily) with inspect element though if you want.

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #586 on: July 29, 2016, 02:52:50 PM »
Here's an example of doing it with inspect element in Firefox. (Chrome and IE are the same idea)

It'll need to be redone for every page load.

Online Something Fishy

  • Global Moderator
  • Dansdeals Lifetime Presidential Platinum Elite
  • **********
  • Join Date: Jan 2011
  • Posts: 8708
  • Total likes: 6077
  • DansDeals.com Hat Tips 44
    • View Profile
    • Kosher Horizons
  • Location: Iceland
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #587 on: July 29, 2016, 02:54:18 PM »
Here's an example of doing it with inspect element in Firefox. (Chrome and IE are the same idea)

It'll need to be redone for every page load.

Wow, would be great if it were implemented across DDF.

If I understand correctly, we could just link pictures at their highest resolution and DDF will automatically resize it to fill the width of the screen. Is that correct?
Check out my site for epic kosher adventures: Kosher Horizons

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Diamond Elite
  • **********
  • Join Date: May 2008
  • Posts: 67599
  • Total likes: 16912
  • DansDeals.com Hat Tips 16442
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA GS, AA EXP, DL Dirt, Hyatt Glob, Fairmont Lifetime Plat, DD Diamond, Blocked By @NeriaKraus
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #588 on: July 29, 2016, 02:55:24 PM »
sorry, that wasn't meant for you, it was meant for Dan/BAHayman.
Beyond my paygrade.
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #589 on: July 29, 2016, 02:55:50 PM »
Here's an example of doing it with inspect element in Firefox. (Chrome and IE are the same idea)

It'll need to be redone for every page load.

And of course it won't work for this image. (or any of the uploaded rather than embedded ones)
Oh the irony...

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #590 on: July 29, 2016, 03:11:21 PM »
If I understand correctly, we could just link pictures at their highest resolution and DDF will automatically resize it to fill the width of the screen. Is that correct?
Yes, but that's probably not a very good idea.
It'll make the pages load a lot slower and kill a ton of bandwidth and memory unnecessarily.

Although in this case it's not "our" bandwidth we're concerned with, unless your on a cellphone with limited data...

5 years ago that would've been acceptable. the trend these days (and for a good reason) is "mobile first."
The "smart" way of doing it would be to either have the default be a small image and use javascript to have it load a bigger image as appropriate, or to use CSS media queries to load an appropriately sized image (as a background image) to begin with.

Online Something Fishy

  • Global Moderator
  • Dansdeals Lifetime Presidential Platinum Elite
  • **********
  • Join Date: Jan 2011
  • Posts: 8708
  • Total likes: 6077
  • DansDeals.com Hat Tips 44
    • View Profile
    • Kosher Horizons
  • Location: Iceland
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #591 on: August 03, 2016, 05:20:57 PM »
There seems to be a limit on the number of lines allowed in a wiki. This is becoming a problem, as pieces of the TR wiki have gotten lost.

We need to find a way of disabling that/allowing more lines.
Check out my site for epic kosher adventures: Kosher Horizons

Offline BAHayman

  • Administrator
  • Dansdeals Lifetime Platinum Elite
  • **********
  • Join Date: Mar 2010
  • Posts: 1939
  • Total likes: 28
  • DansDeals.com Hat Tips 0
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #592 on: August 09, 2016, 12:27:58 PM »
add max-width:100%; to the .bbc_img class, that should eliminate the problem in the future (and also eliminate the scrollbars when the page is too narrow for the image)
added. thanks.

There seems to be a limit on the number of lines allowed in a wiki. This is becoming a problem, as pieces of the TR wiki have gotten lost.

We need to find a way of disabling that/allowing more lines.
changed the column type. can you check if it allows more text now?

Online Something Fishy

  • Global Moderator
  • Dansdeals Lifetime Presidential Platinum Elite
  • **********
  • Join Date: Jan 2011
  • Posts: 8708
  • Total likes: 6077
  • DansDeals.com Hat Tips 44
    • View Profile
    • Kosher Horizons
  • Location: Iceland
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #593 on: August 09, 2016, 12:42:25 PM »
added. thanks.

Thanks!

changed the column type. can you check if it allows more text now?

Nope... The preview looks good, but once it's saved the bottom gets cut off.
Check out my site for epic kosher adventures: Kosher Horizons

Offline BAHayman

  • Administrator
  • Dansdeals Lifetime Platinum Elite
  • **********
  • Join Date: Mar 2010
  • Posts: 1939
  • Total likes: 28
  • DansDeals.com Hat Tips 0
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #594 on: August 09, 2016, 01:01:20 PM »
Nope... The preview looks good, but once it's saved the bottom gets cut off.
Try again? I think I had to change another table.

Online Something Fishy

  • Global Moderator
  • Dansdeals Lifetime Presidential Platinum Elite
  • **********
  • Join Date: Jan 2011
  • Posts: 8708
  • Total likes: 6077
  • DansDeals.com Hat Tips 44
    • View Profile
    • Kosher Horizons
  • Location: Iceland
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #595 on: August 09, 2016, 01:06:52 PM »
Try again? I think I had to change another table.

It works ;D!

Thanks!
Check out my site for epic kosher adventures: Kosher Horizons

Offline JayR

  • Dansdeals Platinum Elite + Lifetime Silver Elite
  • *****
  • Join Date: Dec 2014
  • Posts: 734
  • Total likes: 9
  • DansDeals.com Hat Tips 4
    • View Profile
  • Location: The City That Never Sleeps
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #596 on: August 09, 2016, 04:13:17 PM »
My TR photos are back to normal. Thank you!
You can modify your original post. The modify button is right next to the quote button.

Online mgarfin

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Dec 2012
  • Posts: 2566
  • Total likes: 294
  • DansDeals.com Hat Tips 2
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #597 on: August 12, 2016, 01:01:48 AM »
Youtube embedded videos not displaying correctly.

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #598 on: August 15, 2016, 01:37:17 AM »
On the subject of youTube embeds, can we get the videos embedded a little bigger? It's not 2008 anymore :P

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3213
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: 500 Internal Server Error/502 Bad Gateway
« Reply #599 on: August 30, 2016, 01:27:21 AM »
On the subject of youTube embeds, can we get the videos embedded a little bigger? It's not 2008 anymore :P
I just noticed this was fixed. Thanks!