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
0008921ClearOSapp-events - Events Systempublic2016-05-27 08:292016-08-23 10:14
Reporterbchambers 
Assigned Tobchambers 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.2.0 Updates 
Target Version7.2.0 UpdatesFixed in Version7.2.0 Updates 
Summary0008921: Impossible to enable daily event summary
DescriptionWith any type enabled, always returns:

With daily notifications enabled, you must select at least one event type.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003331)
bchambers (administrator)
2016-05-27 09:23

In /usr/clearos/apps/events/deploy/events.js.php

update toggle_fields function to:

function toggle_fields() {
    if ($('#status').val() == 1) {
        $('.status-required').attr('disabled', false);
        if ($('#instant_status').val() == 1) {
            $('.instant-required').attr('disabled', false);
        } else {
            $('.instant-required').attr('disabled', true);
            $('.instant-required').prop('checked', false);
        }
        if ($('#daily_status').val() == 1) {
            $('.daily-required').attr('disabled', false);
        } else {
            $('.daily-required').attr('disabled', true);
            $('.daily-required').prop('checked', false);
        }
    } else {
        $('.status-required').attr('disabled', true);
    }
}
(0003341)
bchambers (administrator)
2016-05-27 09:24

As of May 27, 2016, can be installed via:

yum --enablerepo=clearos-updates-testing upgrade app-events

- Issue History
Date Modified Username Field Change
2016-05-27 08:29 bchambers New Issue
2016-05-27 08:29 bchambers Status new => assigned
2016-05-27 08:29 bchambers Assigned To => bchambers
2016-05-27 09:22 bchambers Status assigned => acknowledged
2016-05-27 09:23 bchambers Note Added: 0003331
2016-05-27 09:23 bchambers Status acknowledged => confirmed
2016-05-27 09:24 bchambers Note Added: 0003341
2016-05-27 09:24 bchambers Status confirmed => resolved
2016-05-27 09:24 bchambers Fixed in Version => 7.2.0 Updates
2016-05-27 09:24 bchambers Resolution open => fixed
2016-08-23 10:14 user2 Status resolved => closed

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