preloading resources – .zip

PennController for IBEX Forums Support preloading resources – .zip

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10695
    rosa303
    Participant

    Hi,

    I am having issues preloading resources that are in a zip file hosted on a distant server. I’ve double-checked and I think I have followed all the instructions correctly, including specifications for the .htaccess file (location, name), but I can’t figure out the problem.

    (The same resources are also in the Resources tab locally, as the experiment was initially run with those files uploaded directly on pcibex, but it would sometimes cause errors when preloading resources, which is why I am trying to do the zipped resources option to see if it solves the issue.)

    Demo: https://farm.pcibex.net/r/rGEiGt/

    Zip file: https://hjpatt-136.umd.edu/Web_Experiments/Phillips/Rosa/resources/audio_and_images_set8191.zip

    Error message: [14:14:22] Error downloading https://hjpatt-136.umd.edu/Web_Experiments/Phillips/Rosa/resources/audio_and_images_set8191.zip:;Error: InvalidStateError: Failed to read the ‘responseText’ property from ‘XMLHttpRequest’: The value is only accessible if the object’s ‘responseType’ is ” or ‘text’ (was ‘arraybuffer’). (newTrial: NA)

    Thank you in advance!

    #10936
    Jeremy
    Keymaster

    Hi,

    The response I get when trying to access the file from PreloadZip is “Response body is not available to scripts (Reason: CORS Missing Allow Origin)”

    When this happens and you have double-checked the .htacces configuration as in this case, I invite you to double-check with the IT team supervising the hosting service you are using to get a closer look at the issue

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.