Hi
I experienced this Strict Mode issue as well and since it was a test installation on my local machine, I decided to proceed with the process without disabling that setting. Unsurprisingly, the installation was terminated prematurely with this message:
Looks like there have been some errors with inserting data into your database! You cannot continue.
and the following error log was generated:
SQL=BLOB/TEXT column 'text' can't have a default value:
- - - - - - - - - -
# Table structure for table `mia_poll_data`
CREATE TABLE `mia_poll_data` (
`id` int(11) NOT NULL auto_increment,
`pollid` int(4) NOT NULL default '0',
`text` text NOT NULL default '',
`hits` int(11) NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `pollid` (`pollid`,`text`(1))
) TYPE=MyISAM
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
# Dumping data for table `mia_poll_data`
INSERT INTO `mia_poll_data` VALUES (20, 15, '', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (19, 15, '', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (18, 15, '', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (17, 15, 'Scott Adams', 1)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (16, 15, 'Tim Berners-Lee', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (15, 15, 'Linus Torvalds', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (14, 15, 'Bill Gates', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (13, 15, 'Steve Jobs', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (21, 15, '', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (22, 15, '', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (23, 15, '', 0)
= = = = = = = = = =
SQL=Table 'miacms_db.mia_poll_data' doesn't exist:
- - - - - - - - - -
INSERT INTO `mia_poll_data` VALUES (24, 15, '', 0)
= = = = = = = = = =
This raises a serious question. What happens if a user does not have administrative rights to alter the Strict Mode setting? A possible answer to this is that the user, if dealing with a hosting company, can simply request that action be taken. If the host is uncooperative, the subscriber can switch to a more accommodating provider.
The problem with this scenario is that it practically forces an idividual to make possibly highly disruptive changes. I have performed numerous full or test installations using other CMS, Wikis, Learning Management Systems, Shopping Cart Systems, Blogging Engines, Forums, etc which use a MySQL database and none have required Strict Mode to be disabled.
The folks at MySQL evidently saw the merits of having this setting enabled and based on my experience its appears that most system developers have designed their frameworks to be compliant. When can we expect MiaCMS to become compatible?
Regards
Licensed to thrill