Title: cforms breaks when editing the database manually
Last modified: August 30, 2016

---

# cforms breaks when editing the database manually

 *  Resolved [rudek](https://wordpress.org/support/users/rudek/)
 * (@rudek)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cforms-breaks-when-editing-the-database-manually/)
 * Hi, I tried changing the CSS format of the admin email for cforms2 directly in
   the database in the record ‘cforms_settings’ in table ‘wp-options’. I changed
   the following string:
    Original: `"key_td";s:99:"style="padding: 0.3em 1em; border-
   bottom:1px dotted #ddd; padding-right:2em; color:#888; width:1%;"";s:6:` Changed
   to: `"key_td";s:99:"style="padding: 0.3em 1em; border-bottom:1px dotted #ddd;
   padding-right:2em; color:#888; width:250px;"";s:6:`
 * After saving the database change, cforms throws a fatal error.
 * Any hints/ideas?
 * Thanks
    rudek
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cforms-breaks-when-editing-the-database-manually/#post-6724337)
 * You have to keep the serialisation intact, i.e. also change the s.99 and s.6 
   values. I do not know the right values, just search for PHP serialisation.
 *  Thread Starter [rudek](https://wordpress.org/support/users/rudek/)
 * (@rudek)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cforms-breaks-when-editing-the-database-manually/#post-6724354)
 * Thanks for the hint. I managed to change the desired CSS setting. To do the database
   change, you need to deserialize, edit and re-serialize the database record. Best
   done with the DB tool
    downloaded from here: [https://interconnectit.com/products/search-and-replace-for-wordpress-databases/](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/).
   This will do the DB change automatically.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘cforms breaks when editing the database manually’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [rudek](https://wordpress.org/support/users/rudek/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/cforms-breaks-when-editing-the-database-manually/#post-6724354)
 * Status: resolved