Hi, I've got a MIGX tv to create a sidebar. I've set it up using the configurator. However, after adding some values to the tv and saving the page several times, refreshing etc., sometimes the content of the tv is suddenly gone. Also the entire entry in the database has disappeared at that point.
The export data of the config is:
{
"formtabs":"",
"contextmenus":"",
"actionbuttons":"",
"columnbuttons":"",
"filters":"",
"extended":{
"migx_add":"Voeg widget toe",
"disable_add_item":"",
"formcaption":"Widgets",
"update_win_title":"Widgets",
"win_id":"migx_widgets",
"maxRecords":"",
"addNewItemAt":"bottom",
"multiple_formtabs":"10||6||9||7",
"actionbuttonsperrow":4,
"winbuttonslist":"",
"extrahandlers":"",
"filtersperrow":4,
"packageName":"",
"classname":"",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":[
{
"MIGX_id":1,
"header":"Titel widget",
"dataIndex":"titel",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":""
}
]
}
When I save some entries in this tv the tv contentvalue is:
[{"MIGX_id":"1","MIGX_formname":"bestaande_widget","titel":"12"},{"MIGX_id":"2","MIGX_formname":"bestaande_widget","titel":"17"}]
In the error log I sometimes get these errors:
[2014-08-01 12:22:18] (ERROR @ /home/pfcy21dssd76/domains/mywebsite.nl/public_html/core/components/migx/model/migx/migx.class.php : 1911) PHP warning: Invalid argument supplied for foreach()
I first thought this had to do with using renderChunk for a column, but I removed that and the problem persists.
What could be causing this? It's quite scary that all content can disappear like this, wouldn't want that to happen to my client. Thanks for any help!
[ed. note: michelle84 last edited this post 12 years, 2 months ago.]