I fixed my issues with the incorrect time showing in the "24 h activity" graph and the "Network stats/Own station stats" areas of the display with the following procedure.
- Temporarily stop cron updates by editing my crontab and removing the bo_update.php entry.
- Verify that "date_default_timezone_set" is set to "UTC" in bo_update.php
- Verify that "$localtimezone" in bo_update.php is set to my correct local timezone, "America/Chicago" for my location.
- Verify that "date_default_timezone_set" is set to "UTC" in bo.php.
- Delete all files in the BO/cache/ directory.
- Delete all files in the BO/reports directory
- Using phpMyAdmin, "Empty" (don't "Drop"!) all data in the three EuroBlitz database tables: bo_hourly, bo_stat and bo_strikes.
- Restart the bo_update.php cron job.
This resyncs the time in the database with the time settings in the bo_update.php and bo.php files. After doing the above steps, all my timestamps began displaying correctly. Unfortunately, you will lose the historical data.
I had tried editing the JavaScript files to add fixed time offsets in various places in the code. This sort of worked, but it seemed there was a more fundamental problem with my installation. All is working well now:
http://projectmf.homelinux.com Regards,
Don