bgame-hunter / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

All types and fields just disappeared! #567

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I had my custom post type that was working. I had a number of custom fields. 
Then I added a new post type. I clicked the activate link for my new type and I 
got an error message. Now there are no custom types listed under custom content 
types and no custom fields either?

How can I get my content back?

*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.7.13-pl
WordPress Version: 3.9.2
PHP Version: 5.3.27
MySQL Version: 5.0.67
Server OS: Linux
Language: sv_SE
------------------------ 
ACTIVE PLUGINS: 
 * AddThis Social Bookmarking Widget v.3.5.10 [http://www.addthis.com]
 * Custom Content Type Manager : Advanced Custom Post Types v.0.9.7.13 [http://code.google.com/p/wordpress-custom-content-type-manager/]
 * User Access Manager v.1.2.5.0 [http://www.gm-alex.de/projects/wordpress/plugins/user-access-manager/]
 * User Role Editor v.4.14.3 [http://role-editor.com]
 * wp-jquery-lightbox v.1.4.5 [http://wordpress.org/extend/plugins/wp-jquery-lightbox/]
------------------------ 
CURRENT THEME: Hors v.1.0

Original issue reported on code.google.com by kristo...@laios.se on 18 Aug 2014 at 11:55

GoogleCodeExporter commented 8 years ago
In all likelihood, your content is still in the database: the CCTM does not try 
to manipulate raw data.  It sounds like maybe your definitions got corrupted 
(in which case, I would love to know exact steps/names/characters used to 
repeat the problem).  To restore your definitions, you can either load a saved 
definition (if you saved one), or you must recreate them.  There is a wizard 
built in to help detect existing fields and post-types.

Original comment by ever...@fireproofsocks.com on 18 Aug 2014 at 4:19

GoogleCodeExporter commented 8 years ago
I've used some Swedish characters (åäö) for some types. The last thing I 
created before everything disappeared had an å in the Menu Name. I only 
avoided special characters for the post_type.

Where can I find the wizard that helps detect existing fields and post-types?

Original comment by kristo...@laios.se on 18 Aug 2014 at 5:57

GoogleCodeExporter commented 8 years ago
Go do the CCTM menu --> Custom Fields, then click on the "Bulk Add Fields".  
You can look up the fields defined for any given post id(s), and rebuild your 
definitions from that.  

You can see all the post_types in use in your database on the CCTM --> Info 
tab.  

Thanks for the info re the swedish characters.  Seems like this is an encoding 
issue that causes the JSON to get corrupted.

Original comment by ever...@fireproofsocks.com on 18 Aug 2014 at 6:12

GoogleCodeExporter commented 8 years ago
Moving to file-based defs in Github refactor.

Original comment by ever...@fireproofsocks.com on 11 May 2015 at 5:34