freaking1 / wordpress-custom-content-type-manager

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

Not showing the custom Content types in admin #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I installed CCTM and created four different custom content types and I added 
records under them. It was working fine. I changed the server and moved all the 
files and database to new place and now everything is working except it is not 
showing custom content types in admin and on front it is not showing custom 
content type posts. I can see all the custom content type posts in database.

Pls help me in solving this. I have lots of data in custom content types which 
is not coming on the front and in admin also I m not finding them.

Thank You

Original issue reported on code.google.com by hpt.ar...@gmail.com on 1 Feb 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Moving sites in WordPress can be problematic due to limitations in how 
WordPress hard-codes URLs and the repercussions of using PHP serialized data.  
The best course of action here is to export your CCTM definition (under Custom 
Content Types --> Tools --> Export), then migrate the site, then re-import the 
definitions on the new site.

I'm not sure I follow your description of what is and what isn't working, but 
it sounds like a common WP ailment: changing the server can corrupt the storage 
of PHP serialized data in the wp_options table.  Let me know if the above 
solution doesn't fix the problem.

Original comment by ever...@fireproofsocks.com on 1 Feb 2012 at 8:44

GoogleCodeExporter commented 9 years ago
Thanks for you help..I exported and than imported on new server and it worked.

Thanks a lot.

Original comment by hpt.ar...@gmail.com on 2 Feb 2012 at 11:23

GoogleCodeExporter commented 9 years ago
Cool.  Glad that fixed it.  I'm gonna see if I can force the data array to be 
stored as json instead of as serialized PHP since JSON is not affected by 
changes in character length.  The same situation crops up a lot when other 
plugins or themes store URLs or paths in wp_options.

Original comment by ever...@fireproofsocks.com on 2 Feb 2012 at 9:35