mmhh, strange. What version of MySQL and
PHP are you running?
I tested with
PHP 5.2.3 and MySQL 5.0.19
it's the
DB creation piece of code that is executed in pninit.php that gives the error. Aparantly the ON UPDATE statement is not taken in.
Do you have
phpMyAdmin [44] available for database access? You can try to get the database in there manually and see if it gives the same error:
create table `pn_sendform` (
`FormID` int(11) not null auto_increment,
`Name` varchar(100) not null default '',
`Subject` varchar(100) default null,
`MaxField` tinyint(4) default null,
`Recipient` varchar(250) default null,
`CCMail` varchar(250) default null,
`okPage` varchar(150) default null,
`htmlPage` varchar(150) default null,
`Charset` varchar(15) default null,
`Format` varchar(2) default null,
`FormType` char(1) default null,
`FormName` varchar(150) default null,
`SecurityType` char(1) default null,
`SecurityAttr` varchar(255) default null,
`date_add` timestamp not null default '0000-00-00 00:00:00',
`date_mod` timestamp not null default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
primary key (`FormID`)
) ENGINE=MyISAM default CHARSET=utf8 auto_increment=1 ;
--
campertoday.nl [45], Module development, Dutch Zikula Community