This topic was marked solved by Arantor, on February 10th, 2013, 07:08 PM
Uninitialized string offset

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350
Uninitialized string offset
« on March 20th, 2012, 03:35 PM »Last edited on March 20th, 2012, 04:10 PM by Nao
Notice: Uninitialized string offset: 562 in /Sources/Subs-BBC.php on line 514

this also on home page  - gone now
<br /><br />cough, cough.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Uninitialized string offset
« Reply #1, on March 20th, 2012, 03:39 PM »
Hmm, interesting.

This tells me there's potentially two separate bugs here :/

(Firstly, the debug information should not be shown to anyone except admins, and secondly why there is an uninitialised string offset)
Posted: March 20th, 2012, 03:37 PM

Hmm, first glance would suggest a strange bug separately occurring in the bbc parser (in an area we haven't touched AFAIR), perhaps with cached content. Whatever, there's definitely an issue as indicated by the rate of stuff in the error log...
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,079
Re: Uninitialized string offset
« Reply #2, on March 20th, 2012, 04:14 PM »
I'll look into it. Blame me, I'm watching a recording of the 40th anniversary special of Countdown (well the original French version of course). I'm f'ing old. I should be working on the 10000 bugs I could fix right now.

Only things I did today were adding the Facebook link in the footer and making the previous SMF-based website browsable (not perfect but it has so many hardcoded links, shame on me), in case we need to compare features. Won't post URL in public but it's easy to guess.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Uninitialized string offset
« Reply #3, on March 20th, 2012, 04:16 PM »
You might want to put said version into a robots.txt Disallow rule, looking at the logs.

I'm currently trying to hammer out a log viewer for BB so I can really start examining WTF is going on with some of these things.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Uninitialized string offset
« Reply #4, on March 20th, 2012, 04:18 PM »
Also, please don't post full paths to errors. I edited yours to hide it. I don't think it can be exploited but I won't take any chances ;)

Robots.txt nope: non conforming robots could discover the URL this way. I added noindex everywhere but again - won't take any chances!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Uninitialized string offset
« Reply #5, on March 20th, 2012, 04:25 PM »
Quote
Robots.txt nope: non conforming robots could discover the URL this way. I added noindex everywhere but again - won't take any chances!
They could discover it anyway. I'm pretty sure certain bots already know about it already in fact.

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Posts: 350