• Resolved mrogero

    (@mrogero)


    Hi Fireproofsocks, I’m having a problem with the plugin.

    When I clean and import MySQL Database, the plugin reset every changes and I have to import again the file cctm.json. And worse, when I do this in my server localhost:8888, every thumb from the menu appears broken. When I inspect those elements I see that url is with // before, and that is generating the broken images. So when I try to fix this in MySQL the plugin reset again and every change I made is lost. I can’t change anything in MySQL inside cctm_data the plugin reset everything and I have to import again cctm.json.

    Why this is happening?
    Thanks for support!
    Marcos

    http://wordpress.org/plugins/custom-content-type-manager/

Viewing 1 replies (of 1 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Man, this is an issue that has driven me crazy for YEARS. It would be much easier (and much more common) if WP simply use constants to identify its path and URL like nearly every other CMS out there. Because it doesn’t do this, I have to try and detect the local URLs and paths, and sometimes this does not calculate correctly (partly because different servers report different bits of path info differently). So the end result is that the thumbnail urls become broken in the admin.

    The band-aid fix is to edit your post types and re-select the custom image you want to use for your post-type. Sometimes you can repair the URLs used by editing them — sometimes it’s just a matter of a subdirectory or a leading slash or something that has broken the URL.

    Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Having trouble when export and import MySQL’ is closed to new replies.