Page 1 of 1

[SOLVED] Can't create fms forum under cmsms 1.5.4

Posted: Thu May 07, 2009 6:05 am
by whisere
I installed fms .92 under cmsms 1.5.4 according to http://wiki.cmsmadesimple.org/index.php ... ions/Forum

But it failed to create new forum, and didn't show any error messages. After I submitted the form, it just returned to the new forum page, there are no records saved in database, I can edit setting, banned information though.

Re: Can't create fms forum under cmsms 1.5.4

Posted: Thu May 07, 2009 6:59 am
by alby
whisere wrote: I installed fms .92 under cmsms 1.5.4 according to http://wiki.cmsmadesimple.org/index.php ... ions/Forum

But it failed to create new forum, and didn't show any error messages. After I submitted the form, it just returned to the new forum page, there are no records saved in database, I can edit setting, banned information though.
Active debug in config.php and look for error in SQL

Alby

Re: Can't create fms forum under cmsms 1.5.4

Posted: Fri May 08, 2009 4:02 am
by whisere
Thanks for the reply, It shows the error:

(postgres7): INSERT INTO cms_module_forum_forums (id, name, description, position, forum_icon) VALUES ('10','test','test','1','')
Error (ERROR:  null value in column "topics_count" violates not-null constraint): ERROR:  null value in column "topics_count" violates not-null constraint

Re: Can't create fms forum under cmsms 1.5.4

Posted: Fri May 08, 2009 4:04 am
by whisere
It works after I cancel the not null on topics_count, posts_count