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
0003791ClearOSapp-dhcp - DHCP Serverpublic2015-07-20 07:522015-07-31 13:50
Reporterbchambers 
Assigned Tobchambers 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.1.0 RC1 
Target Version7.1.0 RC1Fixed in Version7.1.0 RC1 
Summary0003791: Minimum 12 hour lease time not always ideal
DescriptionSome users would like short least times (eg. guest networks) of down to 1 hr. Options should be expanded with some lower lease times.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001721)
bchambers (administrator)
2015-07-20 07:55

Temporary 'hack' for v6 users.

Edit:

/usr/clearos/apps/dhcp/controllers/subnets.php

and find the following lines:

$data['lease_times'] = array();
$data['lease_times'][12] = 12 . " " . lang('base_hours');
$data['lease_times'][24] = 24 . " " . lang('base_hours');

Modify this file with editor like 'nano' or 'vi' as follows:

$data['lease_times'] = array();
$data['lease_times'][1] = 1 . " " . lang('base_hour');
$data['lease_times'][2] = 2 . " " . lang('base_hours');
$data['lease_times'][4] = 4 . " " . lang('base_hours');
$data['lease_times'][6] = 6 . " " . lang('base_hours');
$data['lease_times'][12] = 12 . " " . lang('base_hours');
$data['lease_times'][24] = 24 . " " . lang('base_hours');

- Issue History
Date Modified Username Field Change
2015-07-20 07:52 bchambers New Issue
2015-07-20 07:52 bchambers Status new => assigned
2015-07-20 07:52 bchambers Assigned To => bchambers
2015-07-20 07:55 bchambers Note Added: 0001721
2015-07-20 08:15 bchambers Status assigned => acknowledged
2015-07-20 08:15 bchambers Status acknowledged => confirmed
2015-07-20 08:15 bchambers Status confirmed => resolved
2015-07-20 08:15 bchambers Fixed in Version => 7.1.0 RC1
2015-07-20 08:15 bchambers Resolution open => fixed
2015-07-31 13:50 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