Support

Home Forums Event Espresso Premium Event links not working after moving domain from dev to live server (2)

Event links not working after moving domain from dev to live server (2)

Posted: September 3, 2015 at 2:53 am

Viewing 9 reply threads


JimByrne

September 3, 2015 at 2:53 am

Hi, I’ve move to a new domain and I’m having an issue with the Event links not working.

For example, on the event list page when clicking the url http://www.birnamarts.com/whats-birnam-arts/?ee=37 the ‘?ee=37′ part seems to be stripped off and the the page that is returned is http://www.birnamarts.com/whats-birnam-arts/

So all the event links just go back to that same page.

I’d appreciate any suggestions for fixing this; as clearly the event management is not working at all right now.

Thanks,
Jim


Tony

  • Support Staff

September 3, 2015 at 3:00 am

Hi Jim,

How did you move the site from dev to live?

If you edit this page – http://www.birnamarts.com/whats-birnam-arts/

What shortcode is currently in use there?


JimByrne

September 3, 2015 at 3:16 am

Hi, I copied the entire WordPress install from one server to the other; replacing relevant urls and file paths in the database.

That page just has the simple shortcode:

[ESPRESSO_EVENTS]


JimByrne

September 3, 2015 at 3:18 am

Even the links in the calendar are not working. Even if use a shortcode to link to a particular event and then click to register – that link doesn’t work either.

Your help is appreciated.
Jim


JimByrne

September 3, 2015 at 6:30 am

Ok I seem to have sorted it. The Mysql database created by 1and1 was version 5.1 which apparently was not compatible. I only created that database recently – would have expected such a large hosting firm to be on to of these things.

Jim


Tony

  • Support Staff

September 3, 2015 at 6:54 am

Hi Jim,

I’m glad you fixed this.

However when you mentioned above:

replacing relevant urls and file paths in the database.

Was this just a simple search and replace or using a plugin/script that handles this correctly such as WP Migrate or https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

The reason I ask is using a simple search and replace will break any serialized arrays that store the url (unless the lengths just happen to match) which will cause further problems later on.


Dean

September 3, 2015 at 6:55 am

Hi Jim,

I’m glad you found the issue and resolved it. Sadly, a lot of large hosting companies are slow to update the software versions, especially PHP and MySQL.


JimByrne

September 3, 2015 at 7:45 am

I just did a find and replace.

RE: serialized arrays
What kind of issues are you thinking of – and how would I now fix them?

Thanks,
Jim


JimByrne

September 3, 2015 at 7:46 am

I’ve tried migrate plugins a few times but not managed to ever get one to work yet. They time out or tell me that there are too many files or that the files are too big.

All the best,
Jim


Tony

  • Support Staff

September 3, 2015 at 8:31 am

What kind of issues are you thinking of…

It could be anything, for example update_post_meta() serialize the values as they are added. There isn’t a specific issue within EE but anywhere within WordPress, it depends what it being stored and what you have changed as to what is breaking so its not something we can say go to X and look for Y to find.

I’ve tried migrate plugins a few times but not managed to ever get one to work yet. They time out or tell me that there are too many files or that the files are too big.

That will either be limitations within the plugin you’ve used or not enough resources on the server, however that sounds like full site migrations rather than just updating values within the database.

See here for some details:

http://wptavern.com/3-efficient-tools-for-wordpress-database-migration

The Duplicator plugin sounds similar to what you have previously tried, but is one of the easiest to use.

As for fixing them its better to use the original DB, migrate it correctly using one of the tools above and using that on your site. Although sometimes that’s not possible if the db has already been used on the site for a period of time.

As mentioned it may not actually cause you any problems, it depends on what data it stored and what you’ve changed, but when migrating you should use one of the methods above, not a standard search and replace.

Viewing 9 reply threads

The support post ‘Event links not working after moving domain from dev to live server (2)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso