No pictures during experimentation

PennController for IBEX Forums Support No pictures during experimentation

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9755
    CogSciLanMethLab
    Participant

    Hello Jeremy,

    We hope that you are doing well!

    Some time ago, we have already asked for advice in the forum regarding picture resources not showing up during experimentation. At that time, a PCIbex server crash seemed to be the cause for the above problem because our study could be run without any trouble since then.

    However, another study we have programmed with the help of PCIbex still has the issue that the picture resources are not shown during experimentation. Instead a message will pop-up saying that the participant should wait for about 1 minute. Unfortunately, we cannot figure out why this is?

    The .png images are all stored at the root of a .zip folder on a server hosted by our institution and are around the size of 180 KB at maximum.

    Could you please let us know how to solve this problem? Maybe we have overseen something? According to the IT department of our institution, the server where the picture resources are stored, works fine.

    The demonstration link is https://farm.pcibex.net/r/wWSfYA/ (part 1 of the experiment) and https://farm.pcibex.net/r/vEPADh/ (part 2 of the experiment).

    Thank you very much!

    With best regards,
    CogSciLanMethLab

    #9759
    Jeremy
    Keymaster

    Hello,

    There are no files at the links you reference:

    I tried visiting the same URLs without www. just in case, but with no success. Did you double-check the paths and the file names?

    Jeremy

    #9762
    CogSciLanMethLab
    Participant

    Hello Jeremy,

    Thank you very much for your fast reply!

    You are totally right, we have been working on this script recently and have apparently overseen this mistake. However, we have fixed the URL pointing to the server but the script is still not able to retreive the picture resources. The correct URL should be https://www.ling.uni-potsdam.de/cslmlab/continuation_study/continuation_pcibex_resources/pic_continuation_study.zip for both of the study parts.

    We beg your pardon for this silly mistake. But still, can you think of a reason for the problem that we experience?

    Thank you again!

    Best,
    CogSciLanMethLab

    #9766
    Jeremy
    Keymaster

    Hello,

    The link points to a forbidden resource. Does the zip file have read permission for everyone?

    Jeremy

    #9773
    CogSciLanMethLab
    Participant

    Hello Jeremy,

    The link to the resources given above points to the .zip folder with the images at the root. In the same directory where this .zip folder is located, there is an additional .htaccess file (with the dot in the very front) with the following content taken from the PCIbex documentation:

    # with AJAX withCredentials=false (cookies NOT sent)
    Header always set Access-Control-Allow-Origin “*”
    Header always set Access-Control-Allow-Methods “GET”
    Header always set Access-Control-Allow-Headers “X-Accept-Charset,X-Accept,Content-Type”
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} OPTIONS
    RewriteRule ^(.*)$ $1 [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}]]

    When right-clicking on the .zip folder on the server, the boxes for “Read” and “Read & execute” for “Everyone” under the tab “Security” are now checked – these are the same settings we have used for an earlier study where the picture resources are stored on the same server which works fine (demo link: https://farm.pcibex.net/r/zBUnUG/).

    Is there anything else that has to be checked or that we may have overlooked?

    Thank you very much for your help and effort!

    Best,
    CogSciLanMethLab

    #9774
    Jeremy
    Keymaster

    Hello,

    The zip file and the pictures it contains are being downloaded and preloaded normally in the projects you linked to, now that the zip file is publicly available at the URL you gave

    Jeremy

    #9777
    CogSciLanMethLab
    Participant

    Hello Jeremy,

    Again, thank you for your help and feedback on the accessibility of the resources folder!

    It now seems that the pictures are only occasionally loaded when the experiment link is opened and sometimes not. We think it is best to upload them into the PCIbex Farm account instead so that we can make sure that the images are available during experimentation at any time.

    Still, thank you very much!

    Best,
    CogSciLanMethLab

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