[Solved] Chef Apache2 recipe failing during server build

With OHAI 7, you don’t need (and can’t) reload plugins on the basis of the filename where the specific function is provided. Instead, you reload it based on the specific attribute you want to reload. Thus, while the attributes in node[‘etc’][‘passwd’] still are provided by a plugin named passwd.rb, you can’t reload it that way. … Read more

[Solved] PHP issue with checkbox value [closed]

First of all you are going to want to change your $datesAvailableArray so that it contains an actual dates. ISO 8601 strings are an excellent format. $datesAvailableArray = array( ‘Saturday’ => array( ‘2014-11-14T11:00:00Z’, ‘2014-11-14T12:00:00Z’, ‘2014-11-14T13:00:00Z’, ‘2014-11-14T14:00:00Z’ ), ‘Sunday’ => array( ‘2014-11-15T11:00:00Z’, ‘2014-11-15T12:00:00Z’, ‘2014-11-15T13:00:00Z’, ‘2014-11-15T14:00:00Z’ ) ); Now that we have date strings we can create … Read more