Support

Home Forums Event Espresso Premium urgent ! after changeing domain name no messages will be send!

urgent ! after changeing domain name no messages will be send!

Posted: March 7, 2018 at 2:48 am


KvB2018

March 7, 2018 at 2:48 am

Hi today we want to go live with the ticket system. After changening our domain from wooosn.de/dev/ to wooosn.de event registration messages will not send to receips after payment. The invoice button directs to an blank page. Please help!


KvB2018

March 7, 2018 at 2:49 am

at the thank you page i can resend the mail. This mail will be send but its empty


Tony

  • Support Staff

March 7, 2018 at 3:22 am

Hi there,

How did you change the domain on the site?


KvB2018

March 7, 2018 at 4:05 am

i copied the wp vrom the folder /dev to the root and i changed the paths in the mysql database.


Tony

  • Support Staff

March 7, 2018 at 5:28 am

With a basic search and replace? If so you’ve broken any serialised values that use the domain in the DB.

If you go to Event Espresso -> Messages -> Default message templates -> Receipt

Are the contents of the template all empty?

Same for Invoice?


KvB2018

March 7, 2018 at 5:43 am

yes messages and invoice are empty


KvB2018

March 7, 2018 at 5:46 am

i reset the templates. but the bigegr problem is that emails could not be send after transaction


Josh

  • Support Staff

March 7, 2018 at 9:08 am

Hi there,

If you go to test an email from one of the email Message template editors, do you receive the test? If so, it may help to go to Event Espresso > Messages > Message Settings and set the the option for emails to be sent on the same request.

In most cases, setting up a third party service to deliver email will resolve email delivery issues. The built-in mail servers (especially those that are used for shared hosting accounts) can be unreliable. We recommend using a service like Mandrill, Postmark, or any of the other services listed in our documentation for sending transactional email. More info here:

http://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/


KvB2018

March 7, 2018 at 10:11 am

how resilient is the system if maybe 500 users want to order tickets at the same time?


Josh

  • Support Staff

March 7, 2018 at 11:08 am

That will depend on your web hosting/server’s resources. A shared host will struggle and fail with 500 concurrent registration transactions. A VPS might work, but a dedicated server with more resources would be better.


KvB2018

March 7, 2018 at 10:40 pm

Ok thank you.

the delivery issues are not when i send a test from email Message template editors. when i do a test order i the mails wouldn’t be send.
I think this issue appears since i changed the url path s in database.

Whats the best way to change url paths in database without any issues like empty contents in mails and invoice.


Tony

  • Support Staff

March 8, 2018 at 1:34 am

Do you have a copy of the original database before you use search and replace?

When you change a domain with a basic search and replace you break any serialized objects stored in the database that have the URL in them because when you serialize you store the length of the value, if thats the domain and you change it the unserailize function fails.

(This isn’t just the case with EE but any plugin)

So what you need is copy of the database from before you moved it, then use a plugin that handles serialized objects to handle search and replace for you, for example: https://en-gb.wordpress.org/plugins/wp-migrate-db/

Or if you want a script that can do it: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

The plugin is the easier option of the 2.


KvB2018

March 8, 2018 at 2:36 am

ok thanks for the information.
is this the issue why mails cannot be send after placing a order?

i have an original dump with no changes in the url path but this database contains no transactions and Registrations. Can i import this?


Tony

  • Support Staff

March 8, 2018 at 4:02 am

is this the issue why mails cannot be send after placing a order?

Possibly yes, the messages system uses serialized objects so its possible, although I can’t be 100% sure.

Do you see the messages in the message queue?

Event Espresso -> Messages -> Message activity.

If so what colour status bar do the have on the left?

i have an original dump with no changes in the url path but this database contains no transactions and Registrations. Can i import this?

If you move the full database then the transactions/registrations will be lost.

The support post ‘urgent ! after changeing domain name no messages will be send!’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 9 months, 1 week ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!