Hi, I'm trying to get a CC6 set,up to be used for updating a database. When it loads all of the db fields are loaded into a table using a 'read data' option. The 'data settings' type option is set to 'All Matching Records'. When one of the rows of the table is selected via an 'edit link', an edit form is displayed with all of the fields shown and all of the fields can be edited. When the 'save/submit' button is selected, I get a 'saved successfully' message, but only two of the fields actually get updated in the database. Using the 'debug' option, I can see that the field values have been changed, but not saved to the db. Below are the relative debug messages show the data being loaded and the after the save option is selected. How do I get the form to save all fields?
DEBUG (After Read Data)
DEBUG (After Read Data)
Array
(
[read_club] => Array
(
[log] => Array
(
[0] => SELECT COUNT(`Club`.`id`) AS `Club.count` FROM `areaclubs` AS `Club` WHERE `Club`.`id` = '12b';
[1] => SELECT `Club`.`dayweek` AS `Club.dayweek`, `Club`.`clubicon` AS `Club.clubicon`, `Club`.`id` AS `Club.id`, `Club`.`area` AS `Club.area`, `Club`.`category` AS `Club.category`, `Club`.`clubname` AS `Club.clubname`, `Club`.`dancelevel` AS `Club.dancelevel`, `Club`.`clubdesc` AS `Club.clubdesc`, `Club`.`weblink` AS `Club.weblink`, `Club`.`clubschedule` AS `Club.clubschedule`, `Club`.`schedulestarts` AS `Club.schedulestarts`, `Club`.`scheduleends` AS `Club.scheduleends`, `Club`.`clubcontactinfo` AS `Club.clubcontactinfo`, `Club`.`clubcontactemail` AS `Club.clubcontactemail`, `Club`.`comments` AS `Club.comments`, `Club`.`venuename` AS `Club.venuename`, `Club`.`venueaddress1` AS `Club.venueaddress1`, `Club`.`venueaddress2` AS `Club.venueaddress2`, `Club`.`venuecity` AS `Club.venuecity`, `Club`.`venuestate` AS `Club.venuestate`, `Club`.`venuezipcode` AS `Club.venuezipcode`, `Club`.`cssdamember` AS `Club.cssdamember`, `Club`.`latlng` AS `Club.latlng`, `Club`.`state` AS `Club.state` FROM `areaclubs` AS `Club` WHERE `Club`.`id` = '12b' LIMIT 30;
)
[var] => Array
(
[Club] => Array
(
[dayweek] => 1 Sun
[clubicon] => gunnisonGorgeDancers.jpg
[id] => 12b
[area] => CWASRDC
[category] => Square
[clubname] => Gunnison Gorge Dancers
[dancelevel] => MS +
[clubdesc] => We are a banner stealing Mainstream/Plus Club. We dance on the 1st & 3rd Sunday. Our club caller is Ervin Wyatt.
[weblink] => http://www.cosquaredancing.com/ggd/
[clubschedule] => gunnisonGorgeDancers2012.pdf
[schedulestarts] => 1/8/2012 0:00
[scheduleends] => 12/23/2012 23:59
[clubcontactinfo] => Ervin Wyatt 970-596-4252
[clubcontactemail] => sqdancers@cosquaredancing.com
[comments] =>
[venuename] => Cunnison Community Center
[venueaddress1] => 200 Spencer
[venueaddress2] =>
[venuecity] => Gunnison
[venuestate] => CO
[venuezipcode] => 81230
[cssdamember] => Yes
[latlng] => _blank
[state] => 0
)
)
)
[check_club_exists] => Array
(
[finished] => 1
[var] =>
)
)
DEBUG (After SAVE/SUBMIT selected)
Array
(
[option] => com_chronoconnectivity6
[cont] => manager
[conn] => test-club-listing
[event] => save
[club_id] => 12b
[Club] => Array
(
[id] => 12b
[clubname] => Gunnison Gorge Dancers
[clubdesc] => We are a banner stealing Mainstream/Plus Club. We dance on the 1st & 3rd Sunday. Our club caller is Ervin Wyatt.
)
[clubicon] =>
[area] => 0
[member] => y
[contactinfo] =>
[weblink] =>
[calendarlink] =>
[venue] => test
[radios22] => 0
[state] => 0
[save] =>
)
Array
(
[save_club] => Array
(
[data] => Array
(
[id] => 12b
[clubname] => Gunnison Gorge Dancers
[clubdesc] => We are a banner stealing Mainstream/Plus Club. We dance on the 1st & 3rd Sunday. Our club caller is Ervin Wyatt.
)
[_success] => Data saved successfully
[log] => Array
(
[0] => UPDATE `areaclubs` AS `Club` SET `clubname` = 'Gunnison Gorge Dancers', `clubdesc` = 'We are a banner stealing Mainstream/Plus Club. We dance on the 1st & 3rd Sunday. Our club caller is Ervin Wyatt.' WHERE `id` = '12b';
)
[var] => Array
(
[clubname] => Gunnison Gorge Dancers
[clubdesc] => We are a banner stealing Mainstream/Plus Club. We dance on the 1st & 3rd Sunday. Our club caller is Ervin Wyatt.
)
)
[check_save_result] => Array
(
[finished] => 1
[var] =>
)
)