-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step 4 and 5 for IAT #14
Comments
Hi Kluhlynn, Once the files are uploaded to the server, the IAT should work without modification. Which list of directions are you referring to? You should direct your participants to the index.php file. Does the error to enable JavaScript appear once you click index.php, or once index.php loads? A link to your problem would be helpful if possible. Thanks, |
Hi Steven, I was referring to these directions https://github.com/winteram/IAT (this When I click on the index.php from the documents saved to my computer it I am also having trouble getting the output to save to my base directory. Thanks so much, On Wed, Jun 12, 2013 at 8:31 PM, Steven Allon [email protected]:
|
Disregard any directions from the SourceForge site, as that project hasn't been updated since 2011. If you followed any of those directions, the IAT project may have been corrupted. As it would be difficult to ascertain the changes made, I'd recommend removing the IAT folder and reinstalling (sorry if this means a loss of IAT configuration data). Let me know if this solves your problem! (By the way, I believe the link you provided was for a local testing server. The files uploaded to that URL are only accessible by you.) |
Do you mind me asking what my server is then? Can you look at this is the On Thu, Jun 13, 2013 at 4:25 PM, Steven Allon [email protected]:
|
Don't delete everything hah! You only have to delete the IAT folder and reinstall it. |
I really don't know what I mean haha. In the instructions it says to direct On Thu, Jun 13, 2013 at 5:00 PM, Steven Allon [email protected]:
|
Your understanding of installation is correct. Your files must be delivered by a server to parse the PHP code. From your description (and the fact that I can't access your site), I'm guessing you have a testing server (e.g., XAMPP). A testing server provides a local environment to serve files that is only accessible to you. What is the local path to your files (i.e. C:/xampp/sites/IAT-master)? That should help reveal your server environment. |
I'm not sure how to find the local path but when I click on info for the On Thu, Jun 13, 2013 at 5:12 PM, Steven Allon [email protected]:
|
Ok. Unless the machine you are on is a remote server (my guess is it's not as the IP address you gave me doesn't resolve), it sounds like you are running files on a testing server. If that's the case, you should be able to see your IAT by visiting http://localhost/IAT-master/index.php For other people to access your IAT, your files must be hosted on a server. You can find a lot of free options by Googling "free web hosting." |
I cannot see my IAT by visiting that link you gave me. I can only see the Thanks! On Thu, Jun 13, 2013 at 5:28 PM, Steven Allon [email protected]:
|
It seems you are right about Macs having built-in servers. Found this link with a quick explanation of how to set up the server on your machine: http://macs.about.com/od/networking/qt/websharing.htm Hope that helps! |
Hi Steven, I've made some changes on my computer to try and make my web server You don't have permission to access /IAT on this server. Thanks, Kayla On Thu, Jun 13, 2013 at 6:00 PM, Kayla Oliver [email protected]:
|
Kayla, Just wanted to pipe in that unless you're just having people within a lab access, you absolutely don't want people on the Internet accessing this IAT hosted on your personal computer, for a very long list of reasons. Cody Sent from my iPhone On Jun 17, 2013, at 11:29 AM, kluhlynn [email protected] wrote:
|
Okay so would you suggest having people come into the lab and do the IAT from my computer, rather than setting up a webserver? Even if I do that, the output doesn't seem to be saving to the output folder. Kayla |
Or should I download a free web hosting service and have people access the IAT through there? Kayla |
Kayla, I'd suggest one of these paths:
I strongly, strongly suggest just going for a web host, however. Cody On Jun 17, 2013, at 11:39 AM, kluhlynn [email protected] wrote:
|
Okay I will try the first option. Thanks! |
Hi again, Just wanted to confirm in the instructions it says copy folder to a publicly accessible folder on your web server. When I am copying the folder to the web server (I am trying to use weebly as the host server), I copy the entire "IAT-master" folder? I am having trouble uploading the entire folder. Every time I try, it seems I can only upload individual files within the folder. Kayla |
maybe the guys were a bit optimistic that any web hosting would work. What you need is a server where you have access via FTP (to transfer whole folders up and down), and that offers PHP to run the website and save the data on the server. I don't think weebly offers this. I suggest you talk to the computing department of your university whether they can actually give you access to a server that has these. The servers I use are all from German providers, so that is not going to help you. Maybe somebody else can suggest a reasonably priced hosting service in the US? I checked rackspace.com, it looks suitable, but maybe you can suggest which packet to choose from there. I actually do not know a free service that offers this. |
Well, by 'any web hosting,' I really did mean a standard web host, not a page creation service like Weebly. To be specific, as far as affordable providers that should get the job done, you can check out: |
Sorry I misunderstood what was meant by free web hosting. As you can tell I am new to a lot of these terms. I will look into these options and also contact the IT services at my University. Thanks! |
Hi again, Do I have to turn FTP access on in my computer to use these services? There are many more too. I just googled http://www.google.ca/search?client=safari&rls=en&q=free+web+hosting+service+FTP+and+php&ie=UTF-8&oe=UTF-8&redir_esc=&ei=PJPAUYbcHuaziwLBtoHIBw I haven't singed up for one yet, but it looks like these have access via FTP and run PHP. Thanks so much for all your help. I really would of just given up if I didn't have access to this thread/ people who actually know what they are doing, so thanks you guys!! Kayla |
Kayla, No, you shouldn't have the web server, PHP, or FTP server running on your computer. You will have to use FTP software, such as Cyberduck, to transfer files over to the web server. Alternatively, you can use the web-based interface from whatever host you use to transfer the files. 6000mb will be plenty for the IAT. Cody |
Thanks I downloaded file zilla and transferred the folder but I get an error message saying Are these files supposed to be uploaded to the server as well? Do you know how I can fix this? Kayla |
Kayla, .DS_Store is an OS X metadata file that you don't need to worry about uploading. And IATAnalysis.R is to facilitate analyzing the data from the IAT in R, so that doesn't need to go on the server either. Cody On Jun 18, 2013, at 2:08 PM, kluhlynn [email protected] wrote:
|
okay perfect. Thanks! Kayla |
Works for me—looks like a browser issue. Enable Javascript in your browser or try a different one. On Jun 18, 2013, at 3:22 PM, kluhlynn [email protected] wrote:
|
Okay so it works on chrome but not safari. I do have javascript enabled on safari.. I wonder why I am having this issue and if it will be an issue for potential participants? Would you know how to fix this? Kayla |
I am not sure, I'm using Safari 6.0.5 and it's working fine for me.. On Jun 18, 2013, at 3:30 PM, kluhlynn [email protected] wrote:
|
Oh okay. Well that's good! Thanks again. :) |
Okay so when I try to create a new IAT in the experimenter window it wont save. but then the save button doesn't work. I am using google chrome. |
Can I edit this in the .txt file? When I had originally begun trying to use this IAT, I ran into this problem, so I just created a new folder in the templates folder called "Suicide-related attitudes" and then I created an input.txt file for the Suicide-related attitudes IAT. Then I changed the active.txt file to set my IAT to active. If I did it this way would I have to change any other files? I re downloaded the IAT though so that I could upload the original version found on this site. The folder I uploaded to my site has not been changed. |
Hi,
I am not very familiar with PHP for step 4) Modify "writeFile.php": set the variable $base_dir to the directory where you would like to keep the output
How do I set the variable $base_dir? Do I edit the following:
$base_dir = realpath(dirname(FILE));
$folder_dir = "../output/";
for example if my base directory is "Users/Kayla/Desktop/IAT-master/templates/Science/output" where do I put this in the "writeFile.php" ?
Also for directing participants to the browser. Two questions: Do I get participants to click "index.php" to complete the test?
And clicking on "index.php" works when I use "Opera" but when I try to use safari or google chrome it gives me an error message to enable javascript
However, I have javascript enabled. How do I fix this?
Thanks,
Kluhlynn
The text was updated successfully, but these errors were encountered: