thats my first posting here, sorry when it's not the correct place for my question.
i'm using the connectivity since a few days and the possibilities are in my opinion amazing.
but when i want to create a new record link for the frontend there will be always the same error message
like this one
Fatal error: Call to a member function load() on a non-object in C:\xampp\htdocs\_hpc\components\com_chronoconnectivity\chronoconnectivity.php on line 213
the code from 203 line to 214 shows:
if(JRequest::getVar('task') == 'editrecord'){
$body = $connection->ccCache1;
foreach($table_fields as $table_field){
$body = str_replace("{".$table_field."}", $row->$table_field, $body);
}
}else{
${$primary} = 0;
$body = $connection->front_edit_template;
$row =& JTable::getInstance(str_replace($mainframe->getCfg('dbprefix'), '', $connection->tablenames), 'Table');
$a = 12;
$row->load(${$primary});
}
when i want to edit a record and clicked before the edit link indeed there is no error message, but editing is impossible. there is no record which i can edit. i only see a blank page (with template) an d two buttons, save and cancel.the only link that got functionality is the delete link.
what can i do to create a new record? and what can i do to edit a record set?
when there is no idea, perhaps you got a link where a tutorial or something like this is explained.
thanks for your support!
ismx