I had the same problem, when running localy on my windows, mashine (IIS 6.0, php 5.2.5, MySQL 5.0.51a), on Linux, it ran OK (interesting… mightbe some MySQL setting or what…)
After some invetigation, I found a bug in the code. Problem was in INSERT mysql command, trying insert ” value into not null integer value, MYSQL then reported error:
Incorrect integer value: '' for column 'private'
I solved this problem for me, adding some code to gigs-classes.php:
into the class venue:
`var $_defaults = array(‘private’ => 0,
‘apiID’ => 0,
‘deleted’ => 0); `
into the class dtc_gigs_baseAR :
function set_defaults(){
foreach($this->_fields as $field){
if(!isset($this->$field) && isset($this->_defaults[$field]))
$this->$field = $this->_defaults[$field];
}
}
and finally in dtc_gigs_baseAR->save() function I added:
$this->set_defaults();
after calling $this->pre_insert() function