Jump to content

Creating a block in IP.Pages won't save (error generated)


Joey_M
Go to solution Solved by Jim M,

Recommended Posts

INSERT INTO `cms_blocks` ( `block_position`, `block_type`, `block_active` ) VALUES ( 52, 'custom', 1 )
IPS\Db\Exception: Field 'block_key' doesn't have a default value (1364)
#0 /home/server/public_html/system/Db/Db.php(938): IPS\_Db->preparedQuery('/*...', Array)
#1 /home/server/public_html/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert('cms_blocks', Array)
#2 /home/server/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save()
#3 /home/server/public_html/applications/cms/sources/Blocks/Block.php(1014): IPS\Node\_Model->save()
#4 /home/server/public_html/applications/cms/sources/Blocks/Block.php(744): IPS\cms\Blocks\_Block->save()
#5 /home/server/public_html/system/Node/Controller.php(419): IPS\cms\Blocks\_Block->formatFormValues(Array)
#6 /home/server/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form()
#7 /home/server/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#8 /home/server/public_html/applications/cms/modules/admin/pages/blocks.php(44): IPS\Node\_Controller->execute()
#9 /home/server/public_html/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\pages\_blocks->execute()
#10 /home/server/public_html/admin/index.php(13): IPS\_Dispatcher->run()
#11 {main}+

When I try to create any type of block with IP.Pages, I get the above error.

My details for the site and FTP are correct.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...