Skip to content

Default value #35

Description

@GoogleCodeExporter
During the pre-release, please update your files with the latest svn before
reporting a defect
-----

What steps will reproduce the problem?
1. When i add new categories and news, field ID and PID can't include, and
show error.Exp:

A Database Error Occurred

Error Number: 1366

Incorrect integer value: '' for column 'pid' at row 1

UPDATE `ci_news_cat` SET `id` = '3', `pid` = '', `title` = 'Test', `icon` =
0, `desc` = '

:-S
', `date` = 0, `username` = 0, `lang` = 'vn', `weight` = 0, `status` = '1',
`acces` = 0, `uri` = 'test' WHERE `id` = '3'


How to fix, i can unset one to one field in database.
Thanks.


Original issue reported on code.google.com by mr.thachvinh@gmail.com on 27 Dec 2009 at 12:59

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions