PDA

View Full Version : Small bug?



mike
08.03.09, 12:12
Sometimes when I hit "Home", I get the following


Warnung: Invalid argument supplied for foreach() in [path]/index.php (Zeile 145)

popping up in the top left of the displayed page, it usually takes a few F5's for it to go away. I thought I'd check just in case :eek13:

Looks like a vBull error.

Images

http://i43.tinypic.com/2zdnp82.jpg

http://i40.tinypic.com/1zweouw.jpg

SealLion
08.03.09, 17:02
Hi Mike. I Had a look around the net and I found that the problem is, as far as I can tell, is related to the switching of daylight savings time.

basically, what I found is this: If you live in some part of the globe, let's say NewZealand and your time is GMT+12 and it is Daylight Savings Time there, that would make your own local time to GMT+13.

In the forum's code, in index.php that is, the .php caches information for 2 separate days.

It gets a "today" time value which is the local time date. The one before the daylight savings time took effect.

Now if that 'today' time value is equal to either a day 1 or day 2, then the cahched date values are used. The one before daylight time savings began.

Normally, the time value is recomputed and it would represent either the new day 1 or day 2.


I got a message too...though it wasn't the same message that you got. The message that I got was:

"your DST settings have been adjusted'.....or something like that. I can't remember what the message stated as it was displayed only for a short while.


You see, I believe we both got error messages due to daylight savings time having come into effect recently.

Hope that makes sense.


aT least, that is the information that I came across when I google'd your reported error message.


-

mike
08.03.09, 17:30
Hey SealLion, I think your onto something - that may have bearing on why some of the other members countdown timer (for the extreme mod) is still ticking over.... Good work my friend