I’m new to Pavlovia and I am having a bit of trouble getting Pavlovia to recognize jsPsych as the software platform and I’m receiving the 403 forbidden error that others on this forum have discussed previously.
My problem is that I can’t seem to pinpoint if my error is stemming from a simple pathway issue, something with the jspsych-7-pavlovia-2022.1.1.js plug-in (given the recent migration to jsPsych 7.0), or if there’s something else that I am just not seeing.
To try to figure out what the problem may be, I created a simple “welcome” task that should just launch a “Welcome” message. I’ll attach screenshots of the code here. In case it helps, my directory structure is:
- jspsych folder with the relevant plug-ins
- the welcome.html file
- the welcome.js experimental file
Any suggestions on what I may be misunderstanding about how Pavlovia works and integrates with jsPsych would be especially appreciated. Thanks so much!
Please can I check that you’ve been following the instructions here? I think you need an “index.html” rather than a “welcome.html” (disclaimer - I am not a jspsych user! sorry!)
Thanks for taking the time to help out and for sending along the documentation!
The tricky thing about the current Pavlovia documentation is that jsPsych recently upgraded to 7.0, which changed some of the syntax structure in jsPsych, and I believe the current Pavlovia documentation is covering jsPsych 6.1.0.
If I am understanding correctly, I believe “index.html” is the name of the task file that the tutorial used for their experiment, whereas “welcome.html” is just the name I gave my task file.
It’s just hard for me to determine if I am misunderstanding something about Pavlovia, jsPsych, or perhaps both. Thanks again for your help, I really appreciate it!
When you go to a website and specify a folder but not a specific page then browsers check for files with some specific names such as index.htm and index.html. Whether it checks for welcome.html will depend on the hosting server.