Version
7.0.x.
Issue
When going to the Events page in the Bit9 Console, the following error (or similar) is presented:
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (15/4/2014 9:47:01) at position 0 (1): Unexpected character' in C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Util.php:1923 Stack trace: #0 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Util.php(1923): DateTime->__construct('15/4/2014 9:47:...', Object(DateTimeZone)) #1 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\TableInfo\EventsTableInfo.php(111): convertLocalToUTCTime('15/4/2014 9:47:...') #2 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\TableSettings.php(960): EventsTableInfo->getFilterString('ReceivedTimesta...', '15/4/2014 9:47:...', '-U') #3 C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\TableSettings.php(1379): TableSettings->getWhereClauses() #4 C:\Program Files (x86)\Bit9\Parity Console\WebUI\html\events.php(301): applyFilters(Object(TableSettings), Object(DataObjects_EventsGUI)) #5 {main} thrown in C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Util.php on line 1923
Symptoms
This can happen after adding a date filter on the Events page. The error is persistent and will not go away after:
- Reopening the browser
- Bouncing the Parity Server and Parity Reporter services
- Clearing the browser cache
Solution
- From the Bit9 console, go to Tools --> Preferences
- On the right hand side of the screen click on 'Reset Current Settings' to reset your default view settings.