google-code-export / wordpress-custom-content-type-manager

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

custom post types and custom fields disappeared! #580

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please make sure you are including enough information to make this a valid
bug report: https://code.google.com/p/wordpress-custom-content-type-
manager/wiki/ReportingBugs

What steps will reproduce the problem? (Be *specific*)
1. export database and change the name and then import it back
2. change domain & Home URLs in options from www to dev.
basically clone the live site into dev environment

What is the expected output?
i expect the custom posts and the custom fields to be present

What do you see instead?
ALL my custom post types and custom fields are gone!

Does the problem continue if you disable all other plugins? (plugin
conflicts cause a LOT of problems, so please isolate the problem)
YES

Please copy and paste the system information that appears in a yellow
textarea when you click on "Report a Bug" on any CCTM admin screen (this
includes the version of the
plugin, the version of PHP, the version of MySQL, a list of other active
plugins etc.):

*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.7.13-pl
WordPress Version: 4.0
PHP Version: 5.3.28
MySQL Version: 5.1.57-community
Server OS: WINNT
Language: 
------------------------ 
ACTIVE PLUGINS: 
 * Gravity Forms v.1.8.19 [http://www.gravityforms.com]
 *  v. []
 * Admin Log v.1.44 [http://www.presscoders.com/]
 *  v. []
 *  v. []
 * Breadcrumb NavXT v.5.1.1 [http://mtekk.us/code/breadcrumb-navxt/]
 *  v. []
 * Category Custom Fields v.1.0 [http://av-studio.org/CategoryCustomFields.zip]
 *  v. []
 * Custom Content Type Manager : Advanced Custom Post Types v.0.9.7.13 [http://code.google.com/p/wordpress-custom-content-type-manager/]
 * Disable Comments v.1.2 [http://wordpress.org/extend/plugins/disable-comments/]
 *  v. []
 *  v. []
 * Dynamic Widgets v.1.5.9 [http://dynamic-widgets.com/]
 * Easy User Fields v.1.5 []
 * Edit Author Slug v.1.0.3 [http://brandonallen.org/wordpress/plugins/edit-author-slug/]
 * Elastic Email v.1.0 [http://esideout.com]
 * Enable Media Replace v.3.0.1 [http://www.mansjonasson.se/enable-media-replace]
 * Flowplayer HTML5 for WordPress v.1.10.0 [http://wordpress.org/plugins/flowplayer5/]
 * Google XML Sitemaps v.4.0.7.1 [http://www.arnebrachhold.de/redir/sitemap-home/]
 *  v. []
 * Gravity Forms MailChimp Add-On v.3.0.1 [http://www.gravityforms.com]
 * Gravity Forms User Registration Add-On v.2.0 [http://www.gravityforms.com]
 * Increase Upload Max Filesize v.1.1 [http://wordpress.org/plugins/increase-upload-max-filesize/]
 *  v. []
 *  v. []
 * Members v.0.2.4 [http://themehybrid.com/plugins/members]
 *  v. []
 * Nextend Smart Slider 2 Full v.2.3.7 [http://nextendweb.com/]
 * Nextend v.1.3.4 [http://www.nextendweb.com]
 *  v. []
 * PHP Code Widget v.2.2 [http://ottopress.com/wordpress-plugins/php-code-widget/]
 * Redirection v.2.3.10 [http://urbangiraffe.com/plugins/redirection/]
 *  v. []
 * Revision Control v.2.3 [http://dd32.id.au/wordpress-plugins/revision-control/]
 * Rich Tax Description Editor v.1.2.4 [http://wordpress.org/support/plugin/rich-tax-description-editor]
 * Right Now Reloaded v.2.2 []
 * ShowID for Post/Page/Category/Tag/Comment v.2.5 [http://ounziw.com/2010/02/05/showid/]
 *  v. []
 * Simple Local Avatars v.2.0 [http://10up.com/plugins/simple-local-avatars-wordpress/]
 * Simple Taxonomy v.3.5 [https://github.com/herewithme/simple-taxonomy]
 * Ultimate Category Excluder v.0.96 [http://www.planetmike.com/plugins/ultimate-category-excluder/]
 * User Meta Manager v.3.4.4 [https://github.com/jasonlau/Wordpress-User-Meta-Manager]
 * Visual Biography Editor v.1.4 [http://www.kevinleary.net/]
 *  v. []
 * Weasel's HTML Bios v.1.0 [http://www.thedailyblitz.org/weasels-html-bios]
 * White Label CMS v.1.5.2 [http://www.videousermanuals.com/white-label-cms/?utm_campaign=wlcms&utm_medium=plugin&utm_source=readme-txt]
 * Widgets on Pages v.0.0.12 [http://gingerbreaddesign.co.uk/wordpress/plugins/widgets-on-pages.php]
 *  v. []
 *  v. []
 * WP-Memory-Usage v.1.2.2 [http://alexrabe.boelinger.com/]
 *  v. []
 * WP No Taxonomy Base v.1.0 [http://projectsbydavid.com/wp-no-taxonomy-base-plugin/]
 * WP-Paginate v.1.2.5 [http://www.ericmmartin.com/projects/wp-paginate/]
 * Google XML Sitemap for Videos v.2.6.1 [http://www.labnol.org/software/xml-video-sitemaps-for-google/14085/]
------------------------ 
CURRENT THEME: Dandelion v.3.0.0 http://pexeto.com/dandelion_wp/

Original issue reported on code.google.com by aou...@gmail.com on 13 Nov 2014 at 8:16

GoogleCodeExporter commented 9 years ago
Did you grab an export of your content type definitions (under the CCTM --> 
Tools --> Export menu) then re-import on the new install? The cause of this 
problem is how WP stores data in the database.  Se 
ehttps://code.google.com/p/wordpress-custom-content-type-manager/wiki/FAQ#Everyt
hing_Broke_after_Moving_my_Site!

Original comment by ever...@fireproofsocks.com on 13 Nov 2014 at 8:43

GoogleCodeExporter commented 9 years ago
yes the export part was ok but when i tried to import it to the dev site it 
failed saying that i don't have a well formatted json file. 

Original comment by aou...@gmail.com on 14 Nov 2014 at 1:02

GoogleCodeExporter commented 9 years ago
Make sure the json file includes the ".cctm.json" extension and inspect the 
file for any weird characters (e.g. foreign letters or other unicode looking 
things).  Different servers and different OS's can implement different 
encodings, so the foreign characters can be problematic, but the json 
conversion should normally catch that stuff...

Original comment by ever...@fireproofsocks.com on 14 Nov 2014 at 1:13

GoogleCodeExporter commented 9 years ago
there are no odd chars 

i tried validating the json file (jsonlintdotcom) and it turns out it was 
missing 2 closing brackets in the last line. adding "}}" fixed the issue.

Original comment by aou...@gmail.com on 17 Nov 2014 at 4:44

GoogleCodeExporter commented 9 years ago
Ok -- can you verify what caused the error?  Can you attach the file here as a 
reference?

Original comment by ever...@fireproofsocks.com on 17 Nov 2014 at 5:12