Support

Home Forums Event Espresso Premium Registration Time in EE 4.0.0 (and previous versions) is wrong

Registration Time in EE 4.0.0 (and previous versions) is wrong

Posted: September 13, 2014 at 8:50 pm

Viewing 24 reply threads


ALAN VAN ZEE

September 13, 2014 at 8:50 pm

Despite the WP site showing the correct time, and confirming our server is showing the correct time (both showing correct time for time zone), the registration time is off.

I had a registration today that was placed at 1:37 p.m. local time, and the registration showed 10:51 p.m.

I believe this has also affected the ability to buy tickets prior to the event, as the event is no longer showing on the calendar. I even tried to change the cutoff to purchase tickets, and the event is still gone from the calendar.


Tony

  • Support Staff

September 15, 2014 at 4:48 am

Hi,

The most likely cause of this is another plugin (or even possibly the theme) using the date_default_timezone_set() function which is highly discouraged within WordPress.

Firstly double check that the timezone within Settings -> General is set to a City located close to you, rather than UTC timezones.

If that’s not currently the case, set it can retry a registration.

Then I would try a full troubleshoot. Temporarily de-activate all Non-EE plugins and test a registration. Does it then display the correct registration time?

If it does re-activate each plugin one by one re-test in between. Then see which plugins causes the problem.

If not its likely the theme, try switching to one of the default themes such as TwentyFourteen and re-test. (You can do this without effecting the front end using a plugin such as Theme Test Drive)

Re-test and see if the registrations then still show the incorrect time.


ALAN VAN ZEE

September 17, 2014 at 10:12 am

Note I obscured some stuff from below , as I am going to post this via the forum

Set up Fresh WP install with base theme no plugins outside of event espresso and event espresso calendar.

Setup a live test event
Completed live purchase

Just completed purchase (on screen info from website) also attached the full invoice after payment
The attached pdf is the receipt it correctly shows (honolulu) timezone indicating the event espresso and WP agree its Honolulu time zone under event then in the bottom payment states payment date September 17, 2014 5:39am that would be correct as it is 6hrs behind me.

Registration Details:
for: Test
REGISTRANT NAME REG CODE REG STATUS
Private
edit info resend email
Obscured Approved
Click here to edit All Attendee Information
Transaction Details
Total Cost: $0.01 (USD)
Amount Owing: $0.00 (USD)
Transaction Status: Complete
Primary Registrant: Private
Payment Overview
PAYMENT DATE TYPE AMOUNT STATUS
September 17, 2014 5:39 am Aim $0.01 (USD) Accepted

So that leaves TXN date from admin panel
Shows registration at September 17, 2014 3:37 pm it is 11:41am here and should be 5:41am there ? where is this 3:37 coming from

Payment provider authorize.net

Wordpress time zone setting from general settings screen Honolulu
UTC time is 2014-09-17 15:42:25 Local time is 2014-09-17 5:42:25

Server time is set to Honolulu

On this page the TXN date is wrong @ September 17, 2014 3:37 pm
wp-admin/admin.php?page=espresso_registrations

on this page the REG date is wrong September 17, 2014 3:37 pm
/wp-admin/admin.php?page=espresso_registrations&event_id=9&action=default&default_nonce=d2f452f1e2

However when we goto /wp-admin/admin.php?page=espresso_transactions&action=view_transaction&TXN_ID=1&view_transaction_nonce=2f66b3ba8a&return=default
it shows the transaction as correctly timed at 2014-09-17 05:39 am

So… its not aother plugin or theme related
Current theme Twenty Fourteen
Plugins None besides event espresso and event espresso calendar

so fresh wp install twentyfouteen theme with no other plugins, server and wp configured to honolulu time.

what could it be?


ALAN VAN ZEE

September 17, 2014 at 10:39 am

oh and naturally yes my even espresso settings are correct 🙂


Lorenzo Orlando Caum

  • Support Staff

September 17, 2014 at 2:10 pm

Hi Alan! Thanks for getting a head start on troubleshooting.

Can you confirm that your WordPress timezone is set to Honolulu or a city/region near you (not UTC)?

Also, you mentioned that the server was set to Honolulu as well. Could you ask the web host to check the time zone settings for MySQL (the database)?


Lorenzo


ALAN VAN ZEE

September 17, 2014 at 3:12 pm

I checked and the SQL database is also set to UTC -10 (Honolulu).


Josh

  • Support Staff

September 17, 2014 at 5:01 pm

Hi Alan,

The times that don’t match your settings are in UTC time. I’ll send a note over to the dev team to see if there’s a possibility in making them not be UTC time.


ALAN VAN ZEE

September 17, 2014 at 6:15 pm

Can you also ask them about the time used to drop events off the calendar? I posted another item in the forums that with the release of 4.4.0 I had an event last Saturday that dropped off the calendar exactly 10 hours before the end of the event. The event ended at 11:30 p.m. and at 1:30 p.m. is disappeared from the calendar. That matches the difference between HST (Hawaii Standard Time) and UTC.


Josh

  • Support Staff

September 18, 2014 at 5:02 pm

Hi Alan,

I’d create a ticket for this if I could reproduce the issue locally. Can you check to see if the event’s post status was changed?


ALAN VAN ZEE

September 19, 2014 at 10:43 am

Would you like access to the installation?


Josh

  • Support Staff

September 19, 2014 at 11:14 am

Hi Alan,

At this point I’m not sure that it will make a difference if we have access to your server. If you can provide more details about this event (its start/end datetimes and post status) and your calendar settings we can investigate things from our end.


ALAN VAN ZEE

September 19, 2014 at 12:21 pm

Josh,

Would you have the ability to give me a call or a phone number I could contact you at?


ALAN VAN ZEE

September 19, 2014 at 12:25 pm

My number is 808-754-6622.


Josh

  • Support Staff

September 19, 2014 at 2:53 pm

Hi Alan,

We currently only offer support by email and forums, and I’m sure we can help you this way!

If you can give me some details about your setup, I’ll be glad to help you directly here.


ALAN VAN ZEE

September 19, 2014 at 3:15 pm

How about an email address, so we can get this resolved without having to communicate through the forums?

My email address is alan@nakane.us

In regards to our set-up, not sure how that will determine things. Our site is hosted on Arvixe. We are running the latest wordpress release. We created a test site with all plug-ins removed except event espresso and still encounter the problem. Is this an issue that that only we are experiencing? If you set up a dummy site on your end and select Honolulu as the region, do you not get the same result?

Maybe your plugin doesn’t recognize my time zone and is defaulting to UTC?


Josh

  • Support Staff

September 19, 2014 at 3:47 pm

Hi Alan,

Please follow up with me here with the following information:

  • The event’s start and end datetimes
  • The event’s current Active status. Right now it should be Expired, but if it’s something else, please let me know.

I’ll follow up with your other questions:

Is this an issue that that only we are experiencing?

I don’t know, it may be. Your’s is the first and only report that I’m aware of. I’m going to advise we follow up in the forums because if someone else runs into this, they’ll be able to read the outcome here and it will help them.

If you set up a dummy site on your end and select Honolulu as the region, do you not get the same result?

That’s correct. I do not get the same result, the event doesn’t disappear from the calendar prematurely when I have Honolulu set for the timezone.

Maybe your plugin doesn’t recognize my time zone and is defaulting to UTC?

I don’t think so. I’ve verified this locally where if I set up my timezone to Honolulu time, then set up an event to end a few hours from now, it displays on the calendar page. The calendar page has the show_expired=false parameter set, so expired events are not being displayed. But the test event that’s set up (and currently Active) is displayed.

If you set up a dummy event that ends in a few hours, does it display for you on your calendar?


ALAN VAN ZEE

September 19, 2014 at 7:43 pm

EVENT ISSUE:
The event start time is 9/19/2014 7:00 p.m. The end time is 9/19/201 11:30 p.m.

It is now 3:13 p.m. in Honolulu. The event is no longer on the calendar. When I edit the event, it shows its status as upcoming.

This is not a single event, as we have 3 events on 3 different calendars and each has the same problem. The events disappear exactly at the end of the event – if the event time was UTC. Since these events end at 11:30 p.m., they disappear at 1:30 p.m. Hawaii time.

I also just created a dummy event on our site. I had a start time of 10:00 p.m. and an end time of 11:55 p.m. The event does not show up on the calendar. If I change the end time to 12:00 a.m. on the next day the event shows up on the calendar. Mind you this is not 10 hours from the current time as I have experienced with my other events. But I can recreate this issue over and over. If I change the end time back to the end of today, the event disappears. If I switch the end time back to 12 a.m. or later, the event is shown on the calendar.

REGISTRATION ISSUE:
I just manually entered a registration, and the TNX date and time is 10 hours ahead of me.

This issue of the TNX time showing UTC time is for all events in our system, and not a single event. The registration was placed at 2:29 p.m., yet the TNX time shows 12:29 a.m. tomorrow (Hawaii time plus 10 hours).


ALAN VAN ZEE

September 19, 2014 at 7:58 pm

Here’s another update to help diagnose the issue:

If I set the event end time to end before midnight, no matter when I set the registration time to end, the event will disappear from the calendar.

If I set the event end time to end at 12:00 a.m. tomorrow, but have registration time end today, it will disappear.

If I set the event to end at 12:00 a.m. tomorrow, but set the registration time to end at 12:00 a.m. as well, the event shows back up.

It is currently 2:00 a.m. UTC, so it seems there is a date issue with the calendar display – not that is disappears only when the event or registrations end 10 hours in the future.

As you can see, this is a very specific bug in the software and would appreciate communicating with you in a manner more efficient than a forum.


Josh

  • Support Staff

September 22, 2014 at 11:44 am

Hi Alan,

Thanks for the follow up. I have an update for the registration time issue:

REGISTRATION ISSUE:
I just manually entered a registration, and the TNX date and time is 10 hours ahead of me.
This issue of the TNX time showing UTC time is for all events in our system, and not a single event. The registration was placed at 2:29 p.m., yet the TNX time shows 12:29 a.m. tomorrow (Hawaii time plus 10 hours).

This was fixed and is included in the Event Espresso 4.4.2.p release.

We will need to look into the calendar issue further. If we have any more questions for you we’ll send you an email.


ALAN VAN ZEE

September 22, 2014 at 12:18 pm

We are currently using 4.4.0. We’ll install the update and see if that fixes both issues.


ALAN VAN ZEE

September 22, 2014 at 8:45 pm

We installed 4.4.2 and the TNX time issue is now resolved. We still have the issue of events disappearing from the calendar.


Josh

  • Support Staff

September 24, 2014 at 1:56 pm

For your issue with events disappearing from the calendar: Can you try this?

1) Go to edit the calendar page, change the shortcode on the page from:

[ESPRESSO_CALENDAR]

to:

[ESPRESSO_CALENDAR show_expired=true]

2) Save the page.


ALAN VAN ZEE

September 24, 2014 at 2:21 pm

Josh,

The specific string I am using is:

[ESPRESSO_CALENDAR event_category_id=”7″ show_expired=”false” cal_view=”month”]

I changed it to:

[ESPRESSO_CALENDAR event_category_id=”7″ show_expired=”true” cal_view=”month”]

Yes, our old events do show up on the calendar. But we don’t want to show old events. The issue is when the system considers an event expired.


ALAN VAN ZEE

September 25, 2014 at 12:15 pm

Josh,

Do you think a solution to this issue will be forthcoming?

Our next event is tomorrow, and the event will disappear half way through the busiest day of bookings.


Josh

  • Support Staff

September 25, 2014 at 1:34 pm

Hi Alan,

The current solution I can give you right now is to use [ESPRESSO_CALENDAR event_category_id=”7″ show_expired=”true” cal_view=”month”] for the calendar page.

Viewing 24 reply threads

The support post ‘Registration Time in EE 4.0.0 (and previous versions) is wrong’ 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