Error in creating new article
Posted: Fri 2. Feb 2007, 04:47
I have problem in creating new article. I just kept on receving "error while connecting to database" message. I also tried to excute that sql command in phpmyadmin but doesn't work. Any idea why?
SQL command
[Quote]
INSERT INTO phpwcms_article (article_cid, article_uid, article_username, article_title, article_keyword, article_public, article_aktiv, article_begin, article_end, article_subtitle, article_redirect, article_sort, article_notitle, article_created, article_cache, article_nosearch, article_nositemap, article_aliasid, article_headerdata, article_morelink) VALUES ('6','1','goadmin','Test Article','Testing','1','1','2007-02-01 22:33:26','2017-01-29 23:59:59','','', 10,0, '1170387206', '', '', 1, 0, 0, 1);
[/Quote]
Error shown by phpmyadmin
[Quote]
#1364 - Field 'article_summary' doesn't have a default value
[/Quote]
PHP - 5.1.2
MYSQL - 5.0.2
APACHE - 2
SQL command
[Quote]
INSERT INTO phpwcms_article (article_cid, article_uid, article_username, article_title, article_keyword, article_public, article_aktiv, article_begin, article_end, article_subtitle, article_redirect, article_sort, article_notitle, article_created, article_cache, article_nosearch, article_nositemap, article_aliasid, article_headerdata, article_morelink) VALUES ('6','1','goadmin','Test Article','Testing','1','1','2007-02-01 22:33:26','2017-01-29 23:59:59','','', 10,0, '1170387206', '', '', 1, 0, 0, 1);
[/Quote]
Error shown by phpmyadmin
[Quote]
#1364 - Field 'article_summary' doesn't have a default value
[/Quote]
PHP - 5.1.2
MYSQL - 5.0.2
APACHE - 2