4 Replies - 3125 Views - Last Post: 02 April 2013 - 02:30 PM

#1 Keylogger  Icon User is offline

  • D.I.C Regular

Reputation: 7
  • View blog
  • Posts: 343
  • Joined: 14-February 11

status of 502 (Bad Gateway)

Posted 02 April 2013 - 01:59 PM

I'm getting this error in the console of chrome/firefox:
img=http://s11.postimg.org/zetakksg3/untitled.jpg
The problem, is that I can run the website in the localhost, but I'm not able to run it online, because the page crashes.

What can be the problem? I don't have any kind of reference to that website..and there are few information about it.

I already delete all cookies etc.

Edit: I just saw that this forum has the same problem. The page continues to try refreshing and loading this "shpr.co" url.

This post has been edited by Keylogger: 02 April 2013 - 02:01 PM


Is This A Good Question/Topic? 0
  • +

Replies To: status of 502 (Bad Gateway)

#2 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5178
  • View blog
  • Posts: 26,870
  • Joined: 10-May 07

Re: status of 502 (Bad Gateway)

Posted 02 April 2013 - 02:15 PM

Not sure why this is posted in 'web development'.

Are you asking about your own site or Dream In Code? The topic should be under 'web hosting' if yours, & 'site questions & support' if Dream In Code.

Please post the url as well :)
Was This Post Helpful? 0
  • +
  • -

#3 Keylogger  Icon User is offline

  • D.I.C Regular

Reputation: 7
  • View blog
  • Posts: 343
  • Joined: 14-February 11

Re: status of 502 (Bad Gateway)

Posted 02 April 2013 - 02:17 PM

Well, actually my website is now ok, but I would like to know what error is this:
http://s11.postimg.o...g3/untitled.jpg

Because, also dreamincode have it.
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3193
  • View blog
  • Posts: 10,696
  • Joined: 12-December 12

Re: status of 502 (Bad Gateway)

Posted 02 April 2013 - 02:22 PM

Quote

A server (not necessarily a Web server) is acting as a gateway or proxy to fulfil the request by the client (e.g. your Web browser or our CheckUpDown robot) to access the requested URL. This server received an invalid response from an upstream server it accessed to fulfil the request.

This usually does not mean that the upstream server is down (no response to the gateway/proxy), but rather that the upstream server and the gateway/proxy do not agree on the protocol for exchanging data. Given that Internet protocols are quite clear, it often means that one or both machines have been incorrectly or incompletely programmed.


http://www.checkupdo...tatus/E502.html
Was This Post Helpful? 0
  • +
  • -

#5 Keylogger  Icon User is offline

  • D.I.C Regular

Reputation: 7
  • View blog
  • Posts: 343
  • Joined: 14-February 11

Re: status of 502 (Bad Gateway)

Posted 02 April 2013 - 02:30 PM

I just saw that link. Thanks!

May that be the problem that (in localhost) when I make login, my icon of login changes normally to the icon of "logout".

In the website, I need to do "F5" to actually appears the icon of logout after the login. What may be the problem?

I was thinking that could be that gateway problem..

header("location: " . $_SERVER['PHP_SELF']);

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1