Experiment not saving data to server #746
Replies: 5 comments
-
Hello! Can you please share the record_results.php code too? |
Beta Was this translation helpful? Give feedback.
-
Could you investigate the POST request using either Firefox or Chrome developer tools and report back? Specifically, the response code and the response are of interest. |
Beta Was this translation helpful? Give feedback.
-
Ah sorry, I thought I had. I have just edited the post to show the PHP code |
Beta Was this translation helpful? Give feedback.
-
Thank you for the link on how to do that (I must admit I am a bit out of my depth here). I have done that I think and attached a photo here. Under "Response" it says "No response data available for this request." |
Beta Was this translation helpful? Give feedback.
-
Hmm, the response has no errors. I think this might be a PHP thing, that I don't have much experience with. Is there a reason you're using sprintf instead of just the filedata? Can you make your code look more like the jsPsych example? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am relatively new to jsPsych (I have taken a short course through my department and attempted some self-learning), so it very well could be a simple mistake, but I cannot seem to get my experiment to save the data to the server (via CyberDuck). The experiment runs locally and will save data locally, but once on the server it does not save data to the server, though, there are not any error messages in Chrome or Firefox at the save data stage.
I am at a loss! Any help or insights would be greatly appreciated!! I have included by PHP code and saveData functions and call below, please let me know if any other code would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions