Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Joey_M Posted September 2 Posted September 2 I have updated my details via the client area, but any IP's might be blocked by firewall. If this is the case, I would need to know any IP's that would requite whitelisting. This error comes up after trying to save a new block. INSERT INTO `cms_blocks` ( `block_position`, `block_type`, `block_active` ) VALUES ( 61, 'custom', 1 ) IPS\Db\Exception: Field 'block_key' doesn't have a default value (1364) #0 /home/userx/domains/domainname/public_html/system/Db/Db.php(941): IPS\_Db->preparedQuery() #1 /home/userx/domains/domainname/public_html/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert() #2 /home/userx/domains/domainname/public_html/system/Node/Model.php(2575): IPS\Patterns\_ActiveRecord->save() #3 /home/userx/domains/domainname/public_html/applications/cms/sources/Blocks/Block.php(1012): IPS\Node\_Model->save() #4 /home/userx/domains/domainname/public_html/applications/cms/sources/Blocks/Block.php(742): IPS\cms\Blocks\_Block->save() #5 /home/userx/domains/domainname/public_html/system/Node/Controller.php(420): IPS\cms\Blocks\_Block->formatFormValues() #6 /home/userx/domains/domainname/public_html/system/Dispatcher/Controller.php(107): IPS\Node\_Controller->form() #7 /home/userx/domains/domainname/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #8 /home/userx/domains/domainname/public_html/applications/cms/modules/admin/pages/blocks.php(44): IPS\Node\_Controller->execute() #9 /home/userx/domains/domainname/public_html/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\pages\_blocks->execute() #10 /home/userx/domains/domainname/public_html/admin/index.php(13): IPS\_Dispatcher->run() #11 {main} Back Trace Quote #0 /home/userx/domains/domainname/public_html/init.php(1042): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} I have changed the folder and domain name only, the error is logged in my site's ACP. No other information has been changed above. I have just removed anything which publicly identifies my site.
Joey_M Posted September 3 Author Posted September 3 When I run the query to check the strict mode, it returns this "STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_..." Is this the issue?
Joey_M Posted September 3 Author Posted September 3 Yeah, I need to note this down as I remember being told before. My memory isn't great. ☹️ It's resolved, thank you. Marc 1
Recommended Posts