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

Error 500 when trying to save privacy settings | Forum

Topic location: Forum home » Support » General Questions
Emil
Emil Aug 13 '17
Hi team, the site returns the folioing error when a user tries to save their privacy settings:


Error 500
Internal Server Error.
If you are the site admin, click here for details (+)Something went wrong!
To get the error details follow these steps:
- Open ow_includes/config.php file and set DEBUG_MODE to true
- Reproduce your last action.Error details:Type:ExceptionMessage:SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-confessions_view_confession_conf' for key 'userId'File:/home/bgaybgf4/public_html/ow_core/database.phpLine:707Trace:#0 /home/bgaybgf4/public_html/ow_core/database.php(707): PDOStatement->execute() #1 /home/bgaybgf4/public_html/ow_core/database.php(460): OW_Database->execute('INSERT INTO `ow...', Array) #2 /home/bgaybgf4/public_html/ow_core/database.php(496): OW_Database->insert('INSERT INTO `ow...', Array) #3 /home/bgaybgf4/public_html/ow_core/base_dao.php(216): OW_Database->insertObject('ow_privacy_acti...', Object(PRIVACY_BOL_ActionData)) #4 /home/bgaybgf4/public_html/ow_plugins/privacy/bol/action_service.php(419): OW_BaseDao->save(Object(PRIVACY_BOL_ActionData)) #5 /home/bgaybgf4/public_html/ow_plugins/privacy/controllers/privacy.php(152): PRIVACY_BOL_ActionService->saveActionValues(Array, 1) #6 [internal function]: PRIVACY_CTRL_Privacy->index(Array) #7 /home/bgaybgf4/public_html/ow_core/request_handler.php(266): call_user_func_array(Array, Array) #8 /home/bgaybgf4/public_html/ow_core/application.php(329): OW_RequestHandler->dispatch() #9 /home/bgaybgf4/public_html/index.php(73): OW_Application->handleRequest() #10 {main}

I suspect it's something to do with the confessions plugin,
any idea how to get this fixed?

Ebenezer Obasi
Ebenezer Obasi Aug 14 '17
Please enable debug mode and take a screenshot.