Hi all,
probably is a my mistake, but i'm experiencing a strange behaviour.
1) i made a cc5 connectivity with a custom list and a cf5 for editing.
2) all works correctly
3) i added a column to the table used by the cc5 connectivity already made. but the last column is missing.
i inserted the debug, but is still missing.
i forced all the fields in Model->Fileds and the field appear in debug ( see array connectivity )
when i try to edit the row, the field disappear. ( see array edit )
can you suggest me where i'm wrong ?
Thanks
Paolo
Array( connectivity )
(
[0] => SELECT `Extension`.`id` AS `Extension.id`, `Extension`.`name` AS `Extension.name` FROM `pure_chronoengine_extensions` AS `Extension` WHERE `Extension`.`enabled` = '1' ORDER BY `Extension`.`ordering` ASC
[1] => SELECT `Connection`.`id` AS `Connection.id`, `Connection`.`title` AS `Connection.title`, `Connection`.`params` AS `Connection.params`, `Connection`.`extras` AS `Connection.extras`, `Connection`.`published` AS `Connection.published` FROM `pure_chronoengine_connections` AS `Connection` WHERE `Connection`.`title` = 'custom_contests' AND `Connection`.`published` = '1'
[2] => SELECT COUNT(*) AS `custom_contests.count` FROM `pure_custom_contest_contests` AS `custom_contests` WHERE `custom_contests`.`user_id` = '24'
[3] => SELECT `custom_contests`.`id` AS `custom_contests.id`, `custom_contests`.`active` AS `custom_contests.active`, `custom_contests`.`name` AS `custom_contests.name`, `custom_contests`.`folder` AS `custom_contests.folder`, `custom_contests`.`date_from` AS `custom_contests.date_from`, `custom_contests`.`date_to` AS `custom_contests.date_to`, `custom_contests`.`maxvalues` AS `custom_contests.maxvalues`, `custom_contests`.`maxload` AS `custom_contests.maxload`, `custom_contests`.`numwinner` AS `custom_contests.numwinner`, `custom_contests`.`values` AS `custom_contests.values`, `custom_contests`.`user_id` AS `custom_contests.user_id`, `custom_contests`.`group_id` AS `custom_contests.group_id`, `custom_contests`.`auth_folder` AS `custom_contests.auth_folder` FROM `pure_custom_contest_contests` AS `custom_contests` WHERE `custom_contests`.`user_id` = '24' LIMIT 25
)
Array (edit )
(
[cont] => lists
[ccname] => custom_contests
[act] => edit
[gcb] => 17
[custom_contests] => Array
(
[id] => 17
[active] => 0
[name] => Prova 1
[folder] => Contest_225581
[date_from] => 03-10-2014
[date_to] => 03-10-2014
[maxvalues] => 5
[maxload] => 1
[numwinner] => 3
[values] => [{"value":3,"icon":"Medal-Gold-3.png","active":1},{"value":2,"icon":"Medal-Silver-3.png","active":1},{"value":1,"icon":"Medal-Bronze-3.png","active":1}]
[user_id] => 24
[group_id] => 3
)
)
probably is a my mistake, but i'm experiencing a strange behaviour.
1) i made a cc5 connectivity with a custom list and a cf5 for editing.
2) all works correctly
3) i added a column to the table used by the cc5 connectivity already made. but the last column is missing.
i inserted the debug, but is still missing.
i forced all the fields in Model->Fileds and the field appear in debug ( see array connectivity )
when i try to edit the row, the field disappear. ( see array edit )
can you suggest me where i'm wrong ?
Thanks
Paolo
Array( connectivity )
(
[0] => SELECT `Extension`.`id` AS `Extension.id`, `Extension`.`name` AS `Extension.name` FROM `pure_chronoengine_extensions` AS `Extension` WHERE `Extension`.`enabled` = '1' ORDER BY `Extension`.`ordering` ASC
[1] => SELECT `Connection`.`id` AS `Connection.id`, `Connection`.`title` AS `Connection.title`, `Connection`.`params` AS `Connection.params`, `Connection`.`extras` AS `Connection.extras`, `Connection`.`published` AS `Connection.published` FROM `pure_chronoengine_connections` AS `Connection` WHERE `Connection`.`title` = 'custom_contests' AND `Connection`.`published` = '1'
[2] => SELECT COUNT(*) AS `custom_contests.count` FROM `pure_custom_contest_contests` AS `custom_contests` WHERE `custom_contests`.`user_id` = '24'
[3] => SELECT `custom_contests`.`id` AS `custom_contests.id`, `custom_contests`.`active` AS `custom_contests.active`, `custom_contests`.`name` AS `custom_contests.name`, `custom_contests`.`folder` AS `custom_contests.folder`, `custom_contests`.`date_from` AS `custom_contests.date_from`, `custom_contests`.`date_to` AS `custom_contests.date_to`, `custom_contests`.`maxvalues` AS `custom_contests.maxvalues`, `custom_contests`.`maxload` AS `custom_contests.maxload`, `custom_contests`.`numwinner` AS `custom_contests.numwinner`, `custom_contests`.`values` AS `custom_contests.values`, `custom_contests`.`user_id` AS `custom_contests.user_id`, `custom_contests`.`group_id` AS `custom_contests.group_id`, `custom_contests`.`auth_folder` AS `custom_contests.auth_folder` FROM `pure_custom_contest_contests` AS `custom_contests` WHERE `custom_contests`.`user_id` = '24' LIMIT 25
)
Array (edit )
(
[cont] => lists
[ccname] => custom_contests
[act] => edit
[gcb] => 17
[custom_contests] => Array
(
[id] => 17
[active] => 0
[name] => Prova 1
[folder] => Contest_225581
[date_from] => 03-10-2014
[date_to] => 03-10-2014
[maxvalues] => 5
[maxload] => 1
[numwinner] => 3
[values] => [{"value":3,"icon":"Medal-Gold-3.png","active":1},{"value":2,"icon":"Medal-Silver-3.png","active":1},{"value":1,"icon":"Medal-Bronze-3.png","active":1}]
[user_id] => 24
[group_id] => 3
)
)
Hello Paolo.Ferlini,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a new column to a database table or change a column type?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a new column to a database table or change a column type?
P.S: I'm just an automated service😉
This topic is locked and no more replies can be posted.
