Hi,
I ran across the following issue while working with the 9.9.5 release-
When trying to create a new category (by clicking 'Add A New Category' in admin_categories.php), the page simply refreshes without any new category being added.
I found that the query issued
"insert into `pligg_categories` (`category_name`) VALUES ('new category');"
throws the error
"no default value set for field category_desc".
After setting a default value manually, the error came up as
"no default value set for field category_keywords"
Setting a default value for this field rectified the problem and a new category finally appeared.
A look at the installtables.php used to create the tables at installation reveals that the sql used to create the categories table is
`category_desc` varchar(255) NOT NULL,
`category_keywords` varchar(255) NOT NULL,
It should have been
`category_desc` varchar(255) NOT NULL default '',
`category_keywords` varchar(255) NOT NULL default '',
Not sure if this bug has been reported before.
Anyways, hope it helps someone.
Regards







Linear Mode




