Welcome, Guest
Username: Password: Remember me

TOPIC: Incorrect value of saved_date in saved_control table

Incorrect value of saved_date in saved_control table 1 year 9 months ago #93732

  • lorenzo51
  • lorenzo51's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
When saving my responses in order to answer the survey at a later time, the saved_date field in saved_control table is always valorized with 1970-01-01 01:00:00.
Do anyone knows if there is any parameter to configure in order to store the correct date?
Thanks in advance
Lorenzo
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 1 year 9 months ago #93758

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6658
  • Thank you received: 887
  • Karma: 263
Survey settings / Date stamp
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 1 year 9 months ago #93803

  • lorenzo51
  • lorenzo51's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Also with Date stamp = YES parameter in Survey settings, saved_date field in saved_control table is always valorized with 1970-01-01 01:00:00.
On the other hand all dates (submitdate,startdate,datestamp) are correctly valorized in the survey table.

Concerning my installation, the problem seems to be connected to the instruction "$today = dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", $timeadjust);" in application\libraries\Save.php line 167, where the variable $timeadjust is not correctly valorized.
If I modify the above mentioned file, i.e. by setting the variable $timeadjust = "+1 hours", then the saved_date field in saved_control table is correctly valorized.
Do you have any hint regarding this issue?
Many thanks.
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 1 year 9 months ago #93804

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6658
  • Thank you received: 887
  • Karma: 263
Sorry,

Don't understand/read it's in saved_control.

Please test with the last version and fill a bug with this information.

Denis
The administrator has disabled public write access.
The following user(s) said Thank You: lorenzo51
Moderators: ITEd
Time to create page: 0.115 seconds
Donation Image