Posted: 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. |
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. |
|
|
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 Just completed purchase (on screen info from website) also attached the full invoice after payment Registration Details: So that leaves TXN date from admin panel Payment provider authorize.net Wordpress time zone setting from general settings screen Honolulu Server time is set to Honolulu On this page the TXN date is wrong @ September 17, 2014 3:37 pm on this page the REG date is wrong September 17, 2014 3:37 pm However when we goto /wp-admin/admin.php?page=espresso_transactions&action=view_transaction&TXN_ID=1&view_transaction_nonce=2f66b3ba8a&return=default So… its not aother plugin or theme related so fresh wp install twentyfouteen theme with no other plugins, server and wp configured to honolulu time. what could it be? |
|
September 17, 2014 at 10:39 am oh and naturally yes my even espresso settings are correct 🙂 |
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)? — |
|
|
I checked and the SQL database is also set to UTC -10 (Honolulu). |
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. |
|
|
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. |
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? |
|
|
September 19, 2014 at 10:43 am Would you like access to the installation? |
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. |
|
|
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? |
|
September 19, 2014 at 12:25 pm My number is 808-754-6622. |
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. |
|
|
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? |
Hi Alan, Please follow up with me here with the following information:
I’ll follow up with your other questions:
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.
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.
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? |
|
|
EVENT ISSUE: 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: 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). |
|
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. |
September 22, 2014 at 11:44 am Hi Alan, Thanks for the follow up. I have an update for the registration time issue:
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. |
|
|
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. |
|
We installed 4.4.2 and the TNX time issue is now resolved. We still have the issue of events disappearing from the calendar. |
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. |
|
|
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. |
|
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. |
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. |
|
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.