We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Oxwall cannot write to blog (Advanced blog) - Advanced Blogs | Forum

Kimmo Kivelä
Kimmo Kivelä Dec 4 '16

Hello!


I run Oxwall site at colossus.fi . I updated the site to 1.8.4, and today one user noticed me it’s impossible to write into blog at

https://colossus.fi/ow/blogs .


I tested it with debug on and I got:


Message:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id' cannot be null

File:

/srv/disk1/1746522/www/colossus.fi/ow/ow_core/database.php

Line:

723

Trace:

#0 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/database.php(723): PDOStatement->execute()

#1 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/database.php(476): OW_Database->execute('INSERT INTO `tu...', Array)

#2 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/database.php(512): OW_Database->insert('INSERT INTO `tu...', Array)

#3 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/base_dao.php(216): OW_Database->insertObject('tucg_blogs_post', Object(ADVANCEDBLOGS_BOL_Post))

#4 /srv/disk1/1746522/www/colossus.fi/ow/ow_plugins/advancedblogs/bol/post_service.php(97): OW_BaseDao->save(Object(ADVANCEDBLOGS_BOL_Post))

#5 /srv/disk1/1746522/www/colossus.fi/ow/ow_plugins/advancedblogs/controllers/save.php(390): ADVANCEDBLOGS_BOL_PostService->save(Object(ADVANCEDBLOGS_BOL_Post))

#6 /srv/disk1/1746522/www/colossus.fi/ow/ow_plugins/advancedblogs/controllers/save.php(119): SaveForm->process(Object(ADVANCEDBLOGS_CTRL_Save))

#7 [internal function]: ADVANCEDBLOGS_CTRL_Save->index(Array)

#8 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/request_handler.php(250): ReflectionMethod->invokeArgs(Object(ADVANCEDBLOGS_CTRL_Save), Array)

#9 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/request_handler.php(226): OW_RequestHandler->processControllerAction(Object(ReflectionMethod), Object(ADVANCEDBLOGS_CTRL_Save))

#10 /srv/disk1/1746522/www/colossus.fi/ow/ow_core/application.php(346): OW_RequestHandler->dispatch()

#11 /srv/disk1/1746522/www/colossus.fi/ow/index.php(76): OW_Application->handleRequest()

#12 {main}

Type:

PDOException



I send this to Oxwall forum/bugs&troubleshooting/ and Dave wrote:


dave

53 minutes ago

the advanced blogs plugin has an issue, the id field is set to NOT NULL so that means that is must have a value and cannot be null. It does not have a value so you get this error 


Integrity constraint violation: 1048 Column 'id' cannot be null


contact the plugin developer. 







iDragon Solution Co., Ltd
Can you send us ftp info and admin account to check it via pm? thanks.
You do not have permission to reply this topic