New revs - Public comments

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670
Re: New revs - Public comments
« Reply #285, on January 13th, 2012, 03:26 AM »
Quote
updated visible copyright dates. Not brave enough to update every file in distribution so left it purely at the publicly visible dates
I know you're brave enough :)
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs - Public comments
« Reply #287, on January 13th, 2012, 08:07 AM »Last edited on January 13th, 2012, 11:49 AM by Nao
I'll do a sitewide global replace if you want.

Congrats on your return!
I will have made a total of 67 consecutive commits, my personal record. 81 if not counting your single-character commit of a semi-colon ;)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs - Public comments
« Reply #289, on January 13th, 2012, 08:12 AM »Last edited on January 13th, 2012, 09:41 AM by Nao
Priority should be on fixing skin_folders for now.
Re: New revs - Public comments
« Reply #290, on January 14th, 2012, 11:14 AM »
Looking through my Apache error log... Interesting things to be found, including PHP errors that aren't reported on screen.

I noticed that one: it seems that sometimes, $_SERVER['HTTP_HOST'] isn't even set at all... cleanRequest() relies on this on a couple of occasions (and also once in Errors.php, at least.)
Any idea why this shouldn't be set at all...? And in this case, what could it be replaced with...?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs - Public comments
« Reply #291, on January 14th, 2012, 04:36 PM »
Quote
$_SERVER['HTTP_HOST'] isn't even set at all...
What page(s) is that being requested on?

The only time that it shouldn't be being set is if the user is using HTTP/1.0 not 1.1 and you're using very specific configuration in the webserver itself so that you're using virtual management through IP address, not name based (and/or only have one site on the server so it doesn't matter what you do, you end up on the site anyway)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs - Public comments
« Reply #292, on January 14th, 2012, 05:33 PM »
Among other things it's used to re create the current URL... pretty urls etc.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs - Public comments
« Reply #295, on January 15th, 2012, 02:39 AM »
That's the point, it tells me nothing.

All of the $_SERVER['HTTP_*'] items are directly injected into $_SERVER from the request headers. That means either something is *removing it* from $_SERVER when it shouldn't be, or it's not being passed down through the chain between browser and PHP (i.e. either the browser isn't sending it, or it's not being passed onwards properly between Apache and PHP)

The chain is broken. I can't diagnose the end of the chain without seeing more of it...

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs - Public comments
« Reply #296, on January 15th, 2012, 09:54 AM »
I don't know. The error appeared twice in my log in November (early and late), IIRC. It's not THAT important... Let's just put that aside and deal with it if it happens again.

ethankcvds

  • Good news I finally have a new computer. Bad news I have to RMA the memory got a bad stick of RAM.
  • Posts: 35

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs - Public comments
« Reply #299, on January 20th, 2012, 08:03 PM »
It's a fake site, AFAIK... IP was already circulating this morning, with the same stupid content.