Replies: 2 comments 1 reply
-
OK, so after much debugging, I can now write individual trials to the remote database using the saveData MySQL function with
The weird thing is that it will write one row to the database (the very first trial), but then nothing after that. EDIT: |
Beta Was this translation helpful? Give feedback.
-
I believe I have it figured out. The issue was a combination of the database expecting an integer value and for some reason the one of the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to write my data to a MySQL database following the suggested instructions on the website. My
php
files andjs
file are identical to the ones on the website, however, when I run the experiment on the server, I get the following error:A few other things I should note: First, my experiment is bundled into a single file
app.js
(though I don't think this should matter). Second, the MySQL database I am trying to write to is hosted on a different server, however, the configuration options indatabase_config.php
reflect this, and I have confirmed that I can remote access the database server. Lastly, I have already created a table on the database server with the columns of interest from the experiment output (as per the comments on the website detailing how to save data to MySQL databases.I am new to
php
, so any help would be appreciated! Thanks!Beta Was this translation helpful? Give feedback.
All reactions