« Project home page

phpSQLiteCMS Forum

Back to the forum index
Linear

Mysql Engine - Column 'include_news' cannot be null (Bugs)

by lma, Russia, Wednesday, June 23, 2010, 09:44 (77 days ago)

In Mysql Engine

On add page make this Error:

Message: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'include_news' cannot be null
Code: 23000
File: /www/cms/includes/edit.inc.php
Line: 461

Temporary patсh:
in cms/includes/edit.inc.php
after line 222:
if(empty($_POST['edit_permission_general'])) $_POST['edit_permission_general'] = 0;

add:
// patсh for include_news column error
if(empty($_POST['include_news'])) $_POST['include_news'] = 0;
// end patch

RSS Feed of thread
192 Postings in 89 Threads, 63 registered users, 5 users online (0 registered, 5 guests)
Forum time: 2010-09-08, 15:21
RSS Postings  RSS Threads | Contact
powered by my little forum