+x#1: The parameter name for the groupnumber is *not* "groupnumber". You have set the experiment up to retrieve the group id from a parameter called "groupassignment":
function GetGroupId(){ var snum = GetQueryVariable("groupassignment"); if ( snum == null || snum == "") { throw "Unable to get group id from url query paramter 'groupassignment'"; } return snum;}
#2: The 404 error(s), however, are completely unrelated to this. HTTP status code 404 means "File not found", and that is exactly the case here. You assign people with subject id 2 to a script called "low-load.iqx", and people with an id of 3 to a script called "high-load.iqx".
<batch>
/subjects = (2 of 3)
/groupassignment = subjectnumber
/file = "low-load.iqx"
</batch>
<batch>
/subjects = (3 of 3)
/groupassignment = subjectnumber
/file = "high-load.iqx"
</batch>
Neither of those two scripts currently exists on the server -- the script's that *are* on the server, as far as I can see, are called "low_load.iqx" and "high_load.iqx", respectively (note the underscore). If you fix your <batch> syntax to reference the proper file names
<batch>
/subjects = (2 of 3)
/groupassignment = subjectnumber
/file = "low_load.iqx"</batch>
<batch>
/subjects = (3 of 3)
/groupassignment = subjectnumber
/file = "high_load.iqx"</batch>
everything should work just fine.
supreme leader,
having a similar problem. Some of my participants when entering a subject id receive a popup message. "Failed to get subject id. the url has no parameters."
This also happened to me. I ended up refreshing the page to no avail. I had to reopen the browser and run the inquisit web player prior to starting the web script for it to work.
I've searched around and can't find an answer. It might be my batch file setup or how i set up subject ids for my web script.
here is my batch script.
<batch>
/ subjects = (1 of 2)
/ file = "JoBrianDemoS1.iqx"
/ file = "BJoQ1.iqx"
/ file = "Disc2WebRulesA.iqx"
/ file = "Disc2Web.iqx"
/ file = "ST-IAT-SC.iqx"
/ file = "IPANAT.iqx"
/ file = "CBFinal.iqx"
/ file = "ST-IAT-DPD.iqx"
/ file = "BJoQ2.iqx"
/ file = "DebriefS.iqx"
</batch>
<batch>
/subjects = (2 of 2)
/ file = "JoBrianDemoF2.iqx"
/ file = "BJoQ1.iqx"
/ file = "Disc1WebRulesA.iqx"
/ file = "Disc1Web.iqx"
/ file = "ST-IAT-SC.iqx"
/ file = "IPANAT.iqx"
/ file = "CBFinal.iqx"
/ file = "ST-IAT-DPD.iqx"
/ file = "BJoQ2.iqx"
/ file = "DebriefF.iqx"
</batch>
1.I did not include /groupassignment = subjectnumber because with batch, i understand that inquisit will automatically assign odd subject ids to condition (1of2) and even subject ids to condition (2of2). Do i need to add /groupassignment = subjectnumber to be specific?
2. In setting up the web scripts, for subject ids, I chose "user entered" and for group ids, I chose "url parameter". I wonder if the group id is creating an error based on the error i receive.
The problem is i don't want random assignment with or without or sequential. I want the subject id odd/even to determine which batch to run. I thought the "url parameter" would help bypass those 3 options, but since I don't have a url parameter (nor more importantly do not really understand what that means). Prior you mentioned to choose "url parameter" and send participants a link with the groupid, but i thought i worked around that with the batch subject id.
-another scenario, if i just took out condition 2 in my web script, so there is only one group/condition, how could i set up the group ids to prevent any errors.
3.are there any subject related IT problems that could be creating this issue like pop ups or what have you.
any help as per usual is helpful.