I have a problem where the incorrect time is shown when someone registers on for an event. It always seems to be an hour off. The correct time is set in espresso general settings and in WordPress general settings but not in the log when the user comes back from Realex.
yeah the blog posts are showing the correct date and time. I checked out phpinfo from the root directory and can confirm that the server time is correct too.
I’m not sure why that would be happening, unless there’s something overriding your server’s settings. Event Espresso grabs the current time when it adds an attendee record to the database.
Can you try adding this code to a php file on the server and view the file in the browser and see what it returns?
SERVER[“REQUEST_TIME”] marks when the current request began, and is the time set on the server. The PHP date() function initially utilizes the time set on the server but can then be offset in multiple ways, such as timezone settings or by adjusting for daylight savings.
You mention “the log when the user comes back from Realex” what log are you talking about? If that data is generated by Realex, then you may simply be seeing a timestamp from the Realex server, which of course would only be the same as your server’s time, if they were in the same time zone and set up identically.
Viewing 6 reply threads
The support post ‘Incorrect time when someone registers’ 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.