Replies: 1 comment
-
Hi @Vizitok, I'm not a PHP person so I can't comment on that side of things, but one possibility is that your participants are closing the browser tab/window before the data has been sent back to the server. To get around that problem, you can try sending the data earlier in the experiment. For instance, you could move the code that's currently in your Ideally your experiment wouldn't actually show the participant a "Thanks, you're done!" page until the data has been successfully sent back to the server. To do this, you can use the I hope this helps. Please let us know if this ends up being the problem, or if it's something else. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am really having trouble saving csv responses on my server and I don't understand why. I have attached a screenshot of my php code as well as a list of qualtrics responses with times (the qualtrics survey redirects to jspsych after the end of the survey). The last modified date for the csv files was when I last looked at the files, and the last id recorded was R_2YQ. I don't understand why this isn't working :( I have tested it on my own computer and it has worked fine. NB I appended 2 to the file names to see if it creates a new file for the next participant
This is the php code and saving function which should append data to the csv files.
<img width="886" alt="phpcode" src="https://user-images.githubusercontent.com/71668806/154006023-cf875663-3653-4f1f-935c-f5


376b8d8a5d.png">
Thank you
Beta Was this translation helpful? Give feedback.
All reactions