Re: [MRBS-general] duplicate Periods that shouldn't be there
Brought to you by:
jberanek
From: Anselm M. H. <an...@ho...> - 2010-09-30 14:02:34
|
Am Donnerstag, den 30.09.2010, 09:31 -0400 schrieb Joseph, John: > Hello Everyone I have a strange problem... the web page is > http://apps.lakewoodcityschools.org/buildings/hayes when looking at the > webpage we have duplicate periods it goes: (This site is Version > 1.4.4.1) > > Period 1 > Period 2 > Before School then starts over again > > The Config file has the Periods defined as: > $enable_periods = TRUE; > > $periods[] = "Before School"; > $periods[] = "Period 1"; > $periods[] = "Period 2"; > $periods[] = "Period 3"; > $periods[] = "Period 4"; > $periods[] = "Period 5"; > $periods[] = "Period 6"; > $periods[] = "Period 7"; > $periods[] = "Period 8"; > $periods[] = "Period 9"; > $periods[] = "After School"; Hi John, to me it looks as if there is another $periods[] = "Period 1" somewhere else. Try inserting a line unset ($periods); right above the "$periods[] = Before schools" - line. That should get rid of those stray variables hopefully. Although it would be smarter to track them down. Try something like grep "periods.*Period.*1" * if you have a command line ready. If you have bookings already (not today, it seems, but I will not check all possible dates...), those will be mis-placed afterwards. That could be mended by running a SQL statement (UPDATE ... set start_time=start_time-2 or the like, should be in the mailing list archives). Best regards Anselm |