I suggest you check your WP timezone setting and also the PHP timezone setting (usually this is in your hosting control panel)
Hi Xnau,
thank you for your fast answere. I don’t know whats wrong.
I checked the timezone setting in my wordpress installation and on php settings in the hosting control panel. Both values are set to timezone Berlin.
I also noticed that when i change a second date field then the first date field will also changed, this by using different field names. I used 70 fields in 12 groups. Is this to much for the participants database?
My site is still under construction. Something is wrong with the date fields.
No, it’s not too many fields. Does the date change when saved every time, or only sometimes?
This happens each time if you save the record. All date fields will be changed. What do you thing should i do? Reinstall?
Reinstalling won’t help, because whatever the problem is, it’s not caused by a change in the code. I’m sorry, without some pretty deep debugging, I can’t tell you what the problem is. The plugin doesn’t normally do this, of course.
I think you’re right. Nevertheless, I’ll try a reinstallation with a new data import. Otherwise I have no way. Maybe it runs. If it works then I will write this here again. Thank you for your help.
I have the plugin new installed with the default data. I have added a new date field. When I save the record the date will every time changed. .. It is as before.
I do not know what happened. Everything is standard. Do you think that it may be possible that we have a confilct with another plugin? I am the only one who has these problems?
Participans Database is a great plugin and you did a very good work.
Please, please help me.
Same problem if I disable all plugins except Participants Database.
Used PHP Version 5.4 – Run PHP as FastCGI-Application
People sometimes have issues with a timezone shift due the configuration of the web server. For instance, if the PHP timezone setting is not active in all scripts, then you can have a situation where the PHP timezone defaults back to the server timezone. You my need to make sure that your PHP timezone is set globally.
The global timezone is correctly set. Is it possible, that an old options value is not up to date? I want to sure, when I install the plugin again that no options value is set. How can I find all participants database option values in the wordpress table präfix_options and delete the entries for a new clear installation? Does this make sense?
The Participants Database plugin doesn’t set the timezone, so there isn’t a value in the plugin options that affects the timezone. The setting it uses is the current PHP timezone setting. Where that setting comes from can vary depending on your particular setup.
It is possible for the timezone setting to be correct in one script, but in another script, it will revert to the server default timezone. This happens if, for instance, the timezone is set in a php.ini file in the web root, but due to the server configuration, that setting is not active in all subdirectories. You may want to ask your web host about this.
You may find that setting the timezone in the wp-config.php helps to ensure the PHP timezone is consistent in all scripts.
It works, you were right. :-).
Here is the solution. I add the functions.php with the following code:
function op_fix_timezone() {
date_default_timezone_set('Europe/Berlin');
}
add_action('init', 'op_fix_timezone', 1);
Now it works and I am happy.
Thank you, for your helpful support and the great plugin.