WordPress.org

Forums

Events Manager
[resolved] Moved to new server, lost locations for events (6 posts)

  1. drsceifers
    Member
    Posted 2 years ago #

    Newest version.

    Copied all files to new server for everything, plugins, uploads, etc.

    When I bring up events, I see the custom post types in the list as expected, but none of them have a location connected and ALL did before restoring the database I brought over.

    Any ideas?

    Which table/field connects an event to a location?

    Thanks

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    hi,

    you’d have to import the wp_posts and wp_postmeta tables as well. If you import those, and all the wp_em_ tables, it should work fine.

    You may also want to resave your settings so that capabilities are correctly added (even if you copy over your wp_options table or contents).

  3. drsceifers
    Member
    Posted 2 years ago #

    Well, I imported all of the tables from the original site. The events are there, the locations are there, but the events don't have locations assigned.

  4. Daedalon
    Member
    Posted 2 years ago #

    Which solution did you use for migrating the database? I successfully migrated my site to another location with the WP Migrate DB plugin.

    Which table/field connects an event to a location?

    The em_events table contains a column location_id that corresponds to a column of the same name in the em_locations table.

  5. drsceifers
    Member
    Posted 2 years ago #

    I used WP Move to move the DB, I used FTP to move all of the files

    I think I might give WP Migrate DB a shot tonight.

    Thanks

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    I'd just use something like phpmyadmin or maybe even directly with the plugin Adminer and export/import all your tables that way.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic