Ce sujet a été marqué résolu par Arantor, le 10 Février 2013 à 19:08
Uninitialized string offset

billy2

  • Trying to earn brownie points for a lads trip to the Red Sea. Minus 1 already - just for asking!!
  • Messages: 350
Uninitialized string offset
« le 20 Mars 2012 à 15:35 »Modifié le 20 Mars 2012 à 16:10 par 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.
  • Messages: 14 278
Re: Uninitialized string offset
« Réponse #1, le 20 Mars 2012 à 15:39 »
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)
Posté : 20 Mars 2012 à 15:37

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
  • Messages: 16 082
Re: Uninitialized string offset
« Réponse #2, le 20 Mars 2012 à 16:14 »
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.
  • Messages: 14 278
Re: Uninitialized string offset
« Réponse #3, le 20 Mars 2012 à 16:16 »
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
  • Messages: 16 082
Re: Uninitialized string offset
« Réponse #4, le 20 Mars 2012 à 16:18 »
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.
  • Messages: 14 278
Re: Uninitialized string offset
« Réponse #5, le 20 Mars 2012 à 16:25 »
Citation
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!!
  • Messages: 350