| Anonymous | Login | Signup for a new account | 2010-09-03 06:19 MDT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0000513 | [v2.1 Release (Under Development)] System Admin | crash | always | 2010-07-15 18:58 | 2010-08-24 16:58 | ||
| Reporter | trevormorse | View Status | public | ||||
| Assigned To | trevormorse | ||||||
| Priority | normal | Resolution | fixed | ||||
| Status | resolved | ||||||
| Summary | 0000513: Viewing System Admin causes php error | ||||||
| Description | When I view the System Admin section I only get a partial page load. See attached image for screenshot. | ||||||
| Additional Information |
From my php error log: [16-Jul-2010 01:39:48] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in /home/trevor/source/web2project/modules/system/index.php:41 Stack trace: #0 /home/trevor/source/web2project/modules/system/index.php(41): DateTimeZone->__construct('') 0000001 /home/trevor/source/web2project/index.php(363): require('/home/trevor/so...') 0000002 {main} thrown in /home/trevor/source/web2project/modules/system/index.php on line 41 I have double checked and my php.ini does have: date.timezone = "America/Halifax" |
||||||
| Tags | No tags attached. | ||||||
| Attached Files |
|
||||||
|
|
|||||||
Notes |
|
|
(0001131) trevormorse (manager) 2010-07-15 19:08 |
If I update line 39 in modules/system/index.php from: $tzName = w2PgetConfig('system_timezone'); to: $tzName = w2PgetConfig('system_timezone', 'Europe/London'); The error in my php logs disappears, but I still get the same partial page load. |
|
(0001132) trevormorse (manager) 2010-07-15 19:22 |
This was due to the fact that I did not have a timezone set in w2p, but had date.timezone set in my php.ini file. Fix is here - http://github.com/trevormorse/web2project/commit/ab14f7f1ccd39b0f8fdda4996a7719d16c6e6d84 [^] |
| Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group |