Jump to content

EX1366 (Creating Rooms)

Closed 2.3.3 2.4.3

INSERT INTO `babble_rooms` ( `rooms_bit`, `rooms_title`, `rooms_password`, `rooms_num_shouts`, `rooms_flood`, `rooms_truncate`, `rooms_rules`, `rooms_max_size`, `rooms_file_types`, `rooms_count_bot_member`, `rooms_count_bot_message`, `rooms_phrase_bot_member`, `rooms_phrase_bot_max_matches`, `rooms_phrase_bot_phrases`, `rooms_time_bot_member`, `rooms_time_bot_message`, `rooms_pass_hash`, `rooms_group_content`, `rooms_seo_title` ) VALUES ( 0, 'Community Room2', '', '', 3, 0, '', 1, '["png","jpg","jpeg","gif"]', NULL, '', NULL, NULL, '', NULL, '', '', '{"4":"0","3":"0","6":"0"}', 'community-room2' )
IPS\Db\Exception: Incorrect integer value: '' for column 'rooms_num_shouts' at row 1 (1366)
#0 /var/www/html/system/Db/Db.php(807): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array)
#1 /var/www/html/system/Patterns/ActiveRecord.php(459): IPS\_Db->insert('babble_rooms', Array)
#2 /var/www/html/system/Node/Model.php(2183): IPS\Patterns\_ActiveRecord->save()
#3 [internal function]: IPS\Node\_Model->save()
#4 /var/www/html/init.php(447) : eval()'d code(990): call_user_func_array('parent::save', Array)
#5 /var/www/html/applications/babble/sources/Rooms/Rooms.php(795): IPS\Node\collab_hook_ipsNodeModel->save()
#6 /var/www/html/system/Node/Model.php(2967): IPS\babble\_Rooms->save()
#7 /var/www/html/system/Node/Controller.php(391): IPS\Node\_Model->saveForm(Array)
#8 /var/www/html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form()
#9 /var/www/html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#10 /var/www/html/applications/babble/modules/admin/manage/rooms.php(49): IPS\Node\_Controller->execute()
#11 /var/www/html/system/Dispatcher/Dispatcher.php(146): IPS\babble\modules\admin\manage\_rooms->execute()
#12 /var/www/html/backdoor/index.php(13): IPS\_Dispatcher->run()
#13 {main}

Share this comment


Link to comment
×
×
  • Create New...