SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020141ClearOSapp-bandwidth-viewer - Bandwidth Viewerpublic2018-05-14 14:472019-02-23 13:06
Reportercjones 
Assigned Todloper 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformClearOSOSOS Version
Product Version7.4.0 
Target Version7.6.0 UpdatesFixed in Version 
Summary0020141: Time not matching system time zone setting
DescriptionExploring in '/usr/clearos/apps/bandwidth_viewer/htdocs/getnetdata.php':

Line 160: Timezone set to 'Europe/London' instead of following timezone settings in 'System' > 'Settings' > 'Date and Time'.

After editing the timezone to 'America/Denver' it shows '02:00' when it should show '14:00' for 2 PM. I fixed this by changing Line 162 to '$time = mktime($hours+12, $localtime[1], $localtime[0], $localtime[4]+1, $localtime[3], $localtime[5] + 1900);'
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0009231)
dloper (administrator)
2019-02-23 13:06

Migrated to: https://gitlab.com/clearos/clearfoundation/app-bandwidth-viewer/issues/1 [^]

- Issue History
Date Modified Username Field Change
2018-05-14 14:47 cjones New Issue
2018-05-15 09:17 user2 Status new => acknowledged
2018-05-16 07:48 user2 Target Version => 7.5.0 Updates
2018-10-30 18:11 user2 Target Version 7.5.0 Updates => 7.6.0 Updates
2019-02-23 13:06 dloper Note Added: 0009231
2019-02-23 13:06 dloper Status acknowledged => closed
2019-02-23 13:06 dloper Assigned To => dloper
2019-02-23 13:06 dloper Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7