Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Атаман

EX1364 Что-то пошло не так. Пожалуйста, попробуйте еще раз.

Recommended Posts

Добрый! Пробую создать подраздел, в ответ ошибка. С чем может быть связанная ?

INSERT INTO `conv_forums_forums` ( `parent_id`, `forums_bitoptions`, `position` ) VALUES ( '324', 0, 461 )
IPS\Db\Exception: Field 'post_rules_on' doesn't have a default value (1364)
#0 /var/www/vhosts//httpdocs/forums/system/Db/Db.php(937): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array)
#1 /var/www/vhosts//httpdocs/forums/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert('forums_forums', Array)
#2 /var/www/vhosts//httpdocs/forums/system/Node/Model.php(2335): IPS\Patterns\_ActiveRecord->save()
#3 /var/www/vhosts//httpdocs/forums/applications/forums/sources/Forum/Forum.php(1229): IPS\Node\_Model->save()
#4 /var/www/vhosts//httpdocs/forums/system/Node/Controller.php(413): IPS\forums\_Forum->formatFormValues(Array)
#5 /var/www/vhosts//httpdocs/forums/applications/forums/modules/admin/forums/forums.php(127): IPS\Node\_Controller->form()
#6 /var/www/vhosts//httpdocs/forums/system/Dispatcher/Controller.php(85): IPS\forums\modules\admin\forums\_forums->form()
#7 /var/www/vhosts//httpdocs/forums/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#8 /var/www/vhosts//httpdocs/forums/applications/forums/modules/admin/forums/forums.php(39): IPS\Node\_Controller->execute()
#9 /var/www/vhosts//httpdocs/forums/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\admin\forums\_forums->execute()
#10 /var/www/vhosts//httpdocs/forums/admin/index.php(14): IPS\_Dispatcher->run()
#11 {main}

 

Share this post


Link to post
Field 'post_rules_on' doesn't have a default value (1364)

Поле "post_rules_on" не имеет значение по умолчанию, если оно не определенно при вставке. Нужно задать ему DEFAULT значение типа пустой строки или NULL.
 

Share this post


Link to post
54 минуты назад, siv1987 сказал:

Field 'post_rules_on' doesn't have a default value (1364)

Поле "post_rules_on" не имеет значение по умолчанию, если оно не определенно при вставке. Нужно задать ему DEFAULT значение типа пустой строки или NULL.
 

Спасибо.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...