Hi, check your database settings and version. This is common value (Null) which add next higher auto increment ID for the item.
Such is the main sql query (no null - while installation):
INSERT INTO `#__phocagallery_styles` (`id`, `title`, `alias`, `filename`, `menulink`, `type`, `published`, `checked_out`, `checked_out_time`, `ordering`, `params`, `language`) VALUES
(1, 'Phocagallery', 'phocagallery', 'phocagallery.css', '', 1, 1, 0, '0000-00-00 00:00:00', 1, NULL, '*'),
(2, 'Rating', '', 'rating.css', NULL, 1, 1, 0, '0000-00-00 00:00:00', 2, NULL, '*'),
(3, 'Default', '', 'default.css', NULL, 2, 1, 0, '0000-00-00 00:00:00', 3, NULL, '*'),
(4, 'Bootstrap', '', 'bootstrap.min.css', NULL, 1, 0, 0, '0000-00-00 00:00:00', 4, NULL, '*');
When new style is copied, then the system will automatically add it (maybe this is your case):
If you didn't run the sql manually, then the php script tries to add automatically the newly addes css but there there should not be a problem with null as this is standard value for new autoincrement ID
Try to get to your phpMyAdmin and run the sql there:
Code: Select all
INSERT into bscwz_phocagallery_styles (id, title, filename, type, published, ordering, language) VALUES (null, 'Bootstrap.min' , 'bootstrap.min.css' , 1 , 1 , 1 , '*')
And check if you get more info or if you get it working - to test if in your database there are no some limits, etc (but first of course check your database version if it meets requirements for Joomla! 3)
Testing again this sql query and get no problem, Null will be translated to next higher number (auto_increment) as expected
EDIT - try to ask your webhosting provider for specific settings of your database too.

Jan