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

delete a theme | Forum

dudi
dudi Apr 3 '16
hello i have a layout redesign (proximus 2) this year
i have the layout for 1 year buy and redesign to.
i have delete in the sql ow_base_theme the entrys from proximus
(the delete button in the admin panel not working )
i have this now

Error details: Type: Exception Message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'proximus' for key 'name' File: /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php Line: 720 Trace: #0 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php(720): PDOStatement->execute() #1 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php(473): OW_Database->execute('INSERT INTO `ow...', Array) #2 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php(509): OW_Database->insert('INSERT INTO `ow...', Array) #3 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/base_dao.php(216): OW_Database->insertObject('ow_base_theme', Object(BOL_Theme)) #4 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_system_plugins/base/bol/theme_service.php(210): OW_BaseDao->save(Object(BOL_Theme)) #5 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_system_plugins/admin/controllers/themes.php(81): BOL_ThemeService->updateThemeList() #6 [internal function]: ADMIN_CTRL_Themes->chooseTheme(Array) #7 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/request_handler.php(266): call_user_func_array(Array, Array) #8 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/application.php(342): OW_RequestHandler->dispatch() #9 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/index.php(76): OW_Application->handleRequest() #10 {main}
dudi
dudi Apr 3 '16
Message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'proximus' for key 'name' File: /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php Line: 720 Trace: #0 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php(720): PDOStatement->execute() #1 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php(473): OW_Database->execute('INSERT INTO `ow...', Array) #2 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/database.php(509): OW_Database->insert('INSERT INTO `ow...', Array) #3 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/base_dao.php(216): OW_Database->insertObject('ow_base_theme', Object(BOL_Theme)) #4 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_system_plugins/base/bol/theme_service.php(210): OW_BaseDao->save(Object(BOL_Theme)) #5 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_system_plugins/admin/controllers/themes.php(81): BOL_ThemeService->updateThemeList() #6 [internal function]: ADMIN_CTRL_Themes->chooseTheme(Array) #7 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/request_handler.php(266): call_user_func_array(Array, Array) #8 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/ow_core/application.php(342): OW_RequestHandler->dispatch() #9 /is/htdocs/wp11008901_PPVF66W7PP/www/ox/index.php(76): OW_Application->handleRequest() #10 {main} Type: PDOException
ross Team
ross Apr 4 '16
Dudi, if you want to delete the theme, you need to delete it in the ow_themes folder on the server and then in ow_base_themes in the database.