From david.macfarlane2 at mcgill.ca Wed Feb 4 16:05:56 2015 From: david.macfarlane2 at mcgill.ca (Dave MacFarlane) Date: Wed, 4 Feb 2015 16:05:56 -0500 Subject: [Loris-dev] Loris Developers' Workshop, Part 1 In-Reply-To: References: Message-ID: Hello, yet again, Due to a number of scheduling conflicts, this is going to be delayed for 1 week until Friday, February 13. - Dave From: david.macfarlane2 at mcgill.ca To: loris-dev at bic.mni.mcgill.ca Subject: Loris Developers' Workshop, Part 1 Date: Wed, 28 Jan 2015 12:43:37 -0500 Hello interested parties, It's been decided that the first Loris Developers' workshop will be on Friday February 6th at 3:30pm in the Bell room at the BIC. This first workshop will go over some basics of Loris that need to be covered before getting into more advanced topics at future workshops, and then leave some time for feedback on the workshop itself (scheduling of further workshops, prioritizing what content to cover, etc). Everyone is invited, so feel free to forward this to anyone who might be interested. - Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre-emmanuel.morin at criugm.qc.ca Fri Feb 6 15:34:44 2015 From: pierre-emmanuel.morin at criugm.qc.ca (Pierre-Emmanuel Morin) Date: Fri, 06 Feb 2015 15:34:44 -0500 Subject: [Loris-dev] loris issues In-Reply-To: References: Message-ID: <54D52564.9040306@criugm.qc.ca> FYI - I got the same error after updating my vm. PE Le 2015-01-27 09:37, Mathieu Desrosiers a ?crit : > Hi Loris team, > > Updating Cima-q loris installation failed with error message > > > require_once(/srv/loris/cimaq/htdocs/../vendor/autoload.php): failed > to open stream: No such file or directory in > /srv/loris/cimaq/htdocs/main.php on line 6, referer: > http://loris.cima-q.ca/ > > > I cannot find this vendor/autoload.php anywhere. > > > Is someone have any idea???? > > > Thanks > > > ? > Mathieu -------------- next part -------------- An HTML attachment was scrubbed... URL: From sekaranrathi at gmail.com Fri Feb 6 15:59:58 2015 From: sekaranrathi at gmail.com (Rathi Gnanasekaran) Date: Fri, 6 Feb 2015 15:59:58 -0500 Subject: [Loris-dev] loris issues In-Reply-To: <54D52564.9040306@criugm.qc.ca> References: <54D52564.9040306@criugm.qc.ca> Message-ID: Hi Everyone, Please upgrade your code only to the latest public release. The master branch is as a development branch which has not been fully tested and is likely to have bugs. The process of upgrading to public releases is fairly new and we have tried to change all documentation to reflect the same. We will be discussing this topic in our next Loris meeting - Feb 10 2015. We recommend that you attend the meeting so its clear moving forward how to do code upgrades. Thanks, Rathi On Fri, Feb 6, 2015 at 3:34 PM, Pierre-Emmanuel Morin < pierre-emmanuel.morin at criugm.qc.ca> wrote: > FYI - I got the same error after updating my vm. > > PE > > Le 2015-01-27 09:37, Mathieu Desrosiers a ?crit : > > Hi Loris team, > > Updating Cima-q loris installation failed with error message > > > require_once(/srv/loris/cimaq/htdocs/../vendor/autoload.php): failed to > open stream: No such file or directory in /srv/loris/cimaq/htdocs/main.php > on line 6, referer: http://loris.cima-q.ca/ > > > I cannot find this vendor/autoload.php anywhere. > > > Is someone have any idea???? > > > Thanks > > > ? > Mathieu > > > > _______________________________________________ > Loris-dev mailing list > Loris-dev at bic.mni.mcgill.ca > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.macfarlane2 at mcgill.ca Tue Feb 10 15:30:23 2015 From: david.macfarlane2 at mcgill.ca (Dave MacFarlane) Date: Tue, 10 Feb 2015 15:30:23 -0500 Subject: [Loris-dev] Reminder: Loris Developers' Workshop on Friday Message-ID: Hi all, Just a reminder, that the first Loris Developers' Workshop (LDW?) will be this Friday at 3:30pm EST in the Bell Room after last week's postponement. On Friday I'll go over some basics of Loris development, and then leave some time for discussing with attendees scheduling/content of future workshops to see what format would work best. Please feel free to forward this invite to anyone not on this mailing list who might be interested. - Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 11 15:03:07 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 11 Feb 2015 15:03:07 -0500 Subject: [Loris-dev] DQT install - couchdb Message-ID: Hi Everyone, I think I have successfully installed couchdb, and am now trying to finish installing the DQT. I got to the stage in which I had to edit the local.ini file with the newCouchDBusername and password I wanted, and then the wiki stated to restart couchdb. Upon trying to restart couchdb, I now get this error: *[lorisadmin at canadachina couchdb]$ couchdb* *Apache CouchDB 1.6.1 (LogLevel=info) is starting.* *Failure to start Mochiweb: eaddrinuse* *[error] [<0.107.0>] {error_report,<0.31.0>,* * {<0.107.0>,crash_report,* * [[{initial_call,* * {mochiweb_socket_server,init,['Argument__1']}},* * {pid,<0.107.0>},* * {registered_name,[]},* * {error_info,* * {exit,eaddrinuse,* * [{gen_server,init_it,6,* * [{file,"gen_server.erl"},{line,320}]},* * {proc_lib,init_p_do_apply,3,* * [{file,"proc_lib.erl"},{line,227}]}]}},* * {ancestors,* * [couch_secondary_services,couch_server_sup,<0.32.0>]},* * {messages,[]},* * {links,[<0.94.0>]},* * {dictionary,[]},* * {trap_exit,true},* * {status,running},* * {heap_size,987},* * {stack_size,24},* * {reductions,466}],* * []]}}* *{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}* *Crash dump was written to: erl_crash.dump* *init terminating in do_boot ()* Any help would be greatly appreciated! Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 11 15:19:07 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 11 Feb 2015 15:19:07 -0500 Subject: [Loris-dev] DQT install - couchdb In-Reply-To: References: Message-ID: Hi Everyone, I figured out what the problem was, I pressed ctrl+z which left couchdb running in the background (which is why I coudn't start a new one). So my next problem is when I do: *>curl -H 'Content-Type: application/json' -X POST http://lorisadmin:lorisadmin1234 at 127.0.0.1:5984/_replicate -d '{"source":"http://couchdb.loris.ca:5984/dataquerytool-1_0_0 ", "target":"canadachina"}'* *\* {"error":"unauthorized","reason":"Name or password is incorrect."} I have edited my local.ini already (and have changed the username and password in this example for privacy). Does the local.ini need to be in a specific folder for it to recognize the username and password i chose?? Also, how can i check what is the latest version of the dataquerytool? Is it 2_0_0? thanks, Tom On Wed, Feb 11, 2015 at 3:03 PM, Tom Beaudry wrote: > Hi Everyone, > > I think I have successfully installed couchdb, and am now trying to finish > installing the DQT. I got to the stage in which I had to edit the > local.ini file with the newCouchDBusername and password I wanted, and then > the wiki stated to restart couchdb. Upon trying to restart couchdb, I now > get this error: > > *[lorisadmin at canadachina couchdb]$ couchdb* > *Apache CouchDB 1.6.1 (LogLevel=info) is starting.* > *Failure to start Mochiweb: eaddrinuse* > *[error] [<0.107.0>] {error_report,<0.31.0>,* > * {<0.107.0>,crash_report,* > * [[{initial_call,* > * {mochiweb_socket_server,init,['Argument__1']}},* > * {pid,<0.107.0>},* > * {registered_name,[]},* > * {error_info,* > * {exit,eaddrinuse,* > * [{gen_server,init_it,6,* > * [{file,"gen_server.erl"},{line,320}]},* > * {proc_lib,init_p_do_apply,3,* > * [{file,"proc_lib.erl"},{line,227}]}]}},* > * {ancestors,* > * > [couch_secondary_services,couch_server_sup,<0.32.0>]},* > * {messages,[]},* > * {links,[<0.94.0>]},* > * {dictionary,[]},* > * {trap_exit,true},* > * {status,running},* > * {heap_size,987},* > * {stack_size,24},* > * {reductions,466}],* > * []]}}* > *{"init terminating in > do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}* > > *Crash dump was written to: erl_crash.dump* > *init terminating in do_boot ()* > > Any help would be greatly appreciated! > Tom > -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 11 15:30:13 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 11 Feb 2015 15:30:13 -0500 Subject: [Loris-dev] DQT install - couchdb In-Reply-To: References: Message-ID: OK i have a solution. Thanks, Tom On Wed, Feb 11, 2015 at 3:19 PM, Tom Beaudry wrote: > Hi Everyone, > > I figured out what the problem was, I pressed ctrl+z which left couchdb > running in the background (which is why I coudn't start a new one). > > So my next problem is when I do: > > *>curl -H 'Content-Type: application/json' -X POST > http://lorisadmin:lorisadmin1234 at 127.0.0.1:5984/_replicate > -d > '{"source":"http://couchdb.loris.ca:5984/dataquerytool-1_0_0 > ", > "target":"canadachina"}'* > *\* > {"error":"unauthorized","reason":"Name or password is incorrect."} > > I have edited my local.ini already (and have changed the username and > password in this example for privacy). Does the local.ini need to be in a > specific folder for it to recognize the username and password i chose?? > Also, how can i check what is the latest version of the dataquerytool? Is > it 2_0_0? > > thanks, > Tom > > > On Wed, Feb 11, 2015 at 3:03 PM, Tom Beaudry wrote: > >> Hi Everyone, >> >> I think I have successfully installed couchdb, and am now trying to >> finish installing the DQT. I got to the stage in which I had to edit the >> local.ini file with the newCouchDBusername and password I wanted, and then >> the wiki stated to restart couchdb. Upon trying to restart couchdb, I now >> get this error: >> >> *[lorisadmin at canadachina couchdb]$ couchdb* >> *Apache CouchDB 1.6.1 (LogLevel=info) is starting.* >> *Failure to start Mochiweb: eaddrinuse* >> *[error] [<0.107.0>] {error_report,<0.31.0>,* >> * {<0.107.0>,crash_report,* >> * [[{initial_call,* >> * {mochiweb_socket_server,init,['Argument__1']}},* >> * {pid,<0.107.0>},* >> * {registered_name,[]},* >> * {error_info,* >> * {exit,eaddrinuse,* >> * [{gen_server,init_it,6,* >> * [{file,"gen_server.erl"},{line,320}]},* >> * {proc_lib,init_p_do_apply,3,* >> * [{file,"proc_lib.erl"},{line,227}]}]}},* >> * {ancestors,* >> * >> [couch_secondary_services,couch_server_sup,<0.32.0>]},* >> * {messages,[]},* >> * {links,[<0.94.0>]},* >> * {dictionary,[]},* >> * {trap_exit,true},* >> * {status,running},* >> * {heap_size,987},* >> * {stack_size,24},* >> * {reductions,466}],* >> * []]}}* >> *{"init terminating in >> do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}* >> >> *Crash dump was written to: erl_crash.dump* >> *init terminating in do_boot ()* >> >> Any help would be greatly appreciated! >> Tom >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 11 22:32:25 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 11 Feb 2015 22:32:25 -0500 Subject: [Loris-dev] DQT Message-ID: Hi Guys, I think I almost have the DQT running, I think there is just one last error to deal with (I hope). When I click on the DQT link on the front end ( https://canadachina.loris.ca/dqt/), I get this error: {"error":"not_found","reason":"no_db_file"} What do you think step do you think I'm missing? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 11 23:16:38 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 11 Feb 2015 23:16:38 -0500 Subject: [Loris-dev] DQT In-Reply-To: References: Message-ID: Hi again, I found a typo I made - maybe it fixes it... best, Tom On Wed, Feb 11, 2015 at 10:32 PM, Tom Beaudry wrote: > Hi Guys, > I think I almost have the DQT running, I think there is just one last > error to deal with (I hope). When I click on the DQT link on the front end > (https://canadachina.loris.ca/dqt/), I get this error: > > {"error":"not_found","reason":"no_db_file"} > > > What do you think step do you think I'm missing? > Thanks, > Tom > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tristan.glatard at mcgill.ca Fri Feb 13 18:00:54 2015 From: tristan.glatard at mcgill.ca (Tristan Glatard) Date: Fri, 13 Feb 2015 18:00:54 -0500 Subject: [Loris-dev] LORIS in Docker Message-ID: <54DE8226.8050205@mcgill.ca> Hi, Thanks Dave for the nice workshop today. I just pushed a Docker container with a LORIS installation in it. In case you want to try it, it's at glatard/ubuntu-loris in Docker Hub, and the LORIS admin password is W_32N,7ak`An#RT apache2 and mysql have to be started manually as they don't start at boot. Cheers, Tristan P.S.: other passwords in the container: lorisadmin user: 08zi_v]e%r"Cq]M mysql root: }X1!>Uno>jx(WtQ -- Tristan Glatard, PhD Visiting Scholar at McGill University, Montreal Neurological Institute (MNI), Montreal, Canada CNRS Researcher, CREATIS, Lyon, France http://www.creatis.insa-lyon.fr/~glatard From tristan.glatard at mcgill.ca Fri Feb 13 17:41:18 2015 From: tristan.glatard at mcgill.ca (Tristan Glatard) Date: Fri, 13 Feb 2015 17:41:18 -0500 Subject: [Loris-dev] LORIS in Docker Message-ID: <54DE7D8E.4000504@mcgill.ca> Hi, Thanks Dave for the nice workshop today. I just pushed a Docker container with a LORIS installation in it. In case you want to try it, it's at glatard/ubuntu-loris in Docker Hub, and the LORIS admin password is W_32N,7ak`An#RT apache2 and mysql have to be started manually as they don't start at boot. Cheers, Tristan P.S.: other passwords in the container: lorisadmin user: 08zi_v]e%r"Cq]M mysql root: }X1!>Uno>jx(WtQ -- Tristan Glatard, PhD Visiting Scholar at McGill University, Montreal Neurological Institute (MNI), Montreal, Canada CNRS Researcher, CREATIS, Lyon, France http://www.creatis.insa-lyon.fr/~glatard From sylvain at bic.mni.mcgill.ca Sat Feb 14 10:29:34 2015 From: sylvain at bic.mni.mcgill.ca (Sylvain Milot) Date: Sat, 14 Feb 2015 10:29:34 -0500 (EST) Subject: [Loris-dev] LORIS in Docker In-Reply-To: <5467_1423868503_54DE8257_5467_155_1_54DE8226.8050205@mcgill.ca> References: <5467_1423868503_54DE8257_5467_155_1_54DE8226.8050205@mcgill.ca> Message-ID: On Fri, 13 Feb 2015, Tristan Glatard wrote: > Hi, > > Thanks Dave for the nice workshop today. > > I just pushed a Docker container with a LORIS installation in it. > > In case you want to try it, it's at glatard/ubuntu-loris in Docker Hub, and > the LORIS admin password is ... ... guys, it is a bad idea to send clear text passwords over unsecured email! http://linuxaria.com/howto/how-to-easily-encrypt-a-file-with-gpg-on-linux Sylvain --- If you have questions or requests specific to the B.I.C, please get in touch with Our ssh login server is login.bic.mni.mcgill.ca ssh RSA key fingerprint is 3a:e3:32:f3:2e:7f:cf:94:1c:47:50:4f:c2:b5:93:9b --- Sylvain Milot (sylvain at bic.mni.mcgill.ca) (sylvain.milot at mcgill.ca) Brain Imaging Centre Montreal Neurological Institute 3801 University Street Webster 2B, Room 206 Montreal, Qc., Canada, H3A 2B4 Phone : (514) 398-4965, Fax: 398-8948 Mobile : (514) 712-1768 Office : 527 Av Des Pins O., Room 104 Montreal, Qc., H2W 1S4 From glatard at creatis.insa-lyon.fr Sat Feb 14 10:52:31 2015 From: glatard at creatis.insa-lyon.fr (Tristan Glatard) Date: Sat, 14 Feb 2015 10:52:31 -0500 Subject: [Loris-dev] LORIS in Docker Message-ID: Not for passwords in a docker container I guess. Tristan
-------- Original message --------
From: Sylvain Milot
Date:14-02-2015 10:29 (GMT-05:00)
To: "Tristan Glatard, Dr"
Cc: loris-dev at bic.mni.mcgill.ca
Subject: Re: [Loris-dev] LORIS in Docker
On Fri, 13 Feb 2015, Tristan Glatard wrote: > Hi, > > Thanks Dave for the nice workshop today. > > I just pushed a Docker container with a LORIS installation in it. > > In case you want to try it, it's at glatard/ubuntu-loris in Docker Hub, and > the LORIS admin password is ... ... guys, it is a bad idea to send clear text passwords over unsecured email! http://linuxaria.com/howto/how-to-easily-encrypt-a-file-with-gpg-on-linux Sylvain --- If you have questions or requests specific to the B.I.C, please get in touch with Our ssh login server is login.bic.mni.mcgill.ca ssh RSA key fingerprint is 3a:e3:32:f3:2e:7f:cf:94:1c:47:50:4f:c2:b5:93:9b --- Sylvain Milot (sylvain at bic.mni.mcgill.ca) (sylvain.milot at mcgill.ca) Brain Imaging Centre Montreal Neurological Institute 3801 University Street Webster 2B, Room 206 Montreal, Qc., Canada, H3A 2B4 Phone : (514) 398-4965, Fax: 398-8948 Mobile : (514) 712-1768 Office : 527 Av Des Pins O., Room 104 Montreal, Qc., H2W 1S4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Mon Feb 16 12:08:30 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Mon, 16 Feb 2015 12:08:30 -0500 Subject: [Loris-dev] Fwd: data dictionary In-Reply-To: References: Message-ID: Hi, So Rathi sees that this my problem for not getting the data_dictionary to poluate: select ParameterTypeID from parameter_type_category_rel where ParameterTypeCategoryID in ()
*PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid SELECT statement, select ParameterTypeID from parameter_type_category_rel where ParameterTypeCategoryID in ()* See suggested that I: *Can you check if the table parameter_type_category has all the columns especially of type Instrument? I have a feeling that you don't have a parameter category Instrument defined hence its failing.* Does anyone know what this means? what is type of instrument, and how do I add it? I've included a screen shot of my parameter table. Thanks! Tom Rathi On Fri, Feb 13, 2015 at 8:35 PM, Tom Beaudry wrote: > Hi Rathi, > > So i copied this version of the data_dictionary script ( > https://github.com/aces/Loris/blob/master/tools/data_dictionary_builder.php > ) > > commented out the autoload line, > > added: require_once __DIR__ . "/../php/libraries/NDB_Client.class.inc"; > > > and I get this error: > > [lorisadmin at canadachina tools]$ php data_dictionary_builder.php > canadachina: SELECT cs.ID as ParentID, child.ID as ChildID, > cs.AllowMultiple, child.Name > FROM ConfigSettings cs > LEFT JOIN ConfigSettings child ON (child.Parent=cs.ID) > WHERE cs.Name=:showPearErrors
> canadachina: SELECT Value FROM Config WHERE ConfigID=:34 LIMIT 1
> canadachina: Select Name, ParameterTypeID from parameter_type
> canadachina: select ParameterTypeCategoryID from parameter_type_category > where Type = 'Instrument'
> PHP Warning: implode(): Invalid arguments passed in > /var/www/loris/tools/data_dictionary_builder.php on line 57 > canadachina: select ParameterTypeID from parameter_type_category_rel where > ParameterTypeCategoryID in ()
> PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid > SELECT statement, select ParameterTypeID from parameter_type_category_rel > where ParameterTypeCategoryID in ()' in > /var/www/loris/php/libraries/Database.class.inc:458 > Stack trace: > #0 /var/www/loris/tools/data_dictionary_builder.php(239): > Database->select('select Paramete...', Array) > #1 /var/www/loris/tools/data_dictionary_builder.php(60): getColumn('select > Paramete...', Object(Database), NULL) > #2 {main} > thrown in /var/www/loris/php/libraries/Database.class.inc on line 458 > [lorisadmin at canadachina tools]$ > > > Any ideas? Note that I am still using the first public release of LORIS. > > thanks, > Tom > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2015-02-16 at 12.07.13 PM.png Type: image/png Size: 41773 bytes Desc: not available URL: From david.macfarlane2 at mcgill.ca Mon Feb 16 12:31:06 2015 From: david.macfarlane2 at mcgill.ca (Dave MacFarlane) Date: Mon, 16 Feb 2015 12:31:06 -0500 Subject: [Loris-dev] Fwd: data dictionary In-Reply-To: References: , , Message-ID: Hi Tom, The parameter_type_category table should have this structure: mysql> desc parameter_type_category;+-------------------------+-----------------------------------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra |+-------------------------+-----------------------------------------+------+-----+---------+----------------+| ParameterTypeCategoryID | int(10) unsigned | NO | PRI | NULL | auto_increment || Name | varchar(255) | YES | | NULL | || Type | enum('Metavars','Imaging','Instrument') | YES | | NULL | |+-------------------------+-----------------------------------------+------+-----+---------+----------------+ So I'm fairly certain she means make sure that there's an entry in that table where the "Type" column is equal to "Instrument," (and at leastone parameter_type entry that's in that category) because the first step of the data_dictionary_builder is to delete all the old parameterswhere the Type of the category is "Instrument" before rebuilding. Since there's nothing in the IN () clause in the statement causing it to be an invalid SQL statement and causing the error, she's assuming thatthe query above it (that gets the ParameterTypeIDs of instrument parameters) is returning nothing. If you've never successfully gotten it to run, you might also just try commenting out the getColumn line that's throwing the error (and the deleteline below it that'll throw a similar error), since I think it's only used for trying to preserve the same ParameterTypeID for the same column whenit's reinserted. - Dave Date: Mon, 16 Feb 2015 12:08:30 -0500 From: waveflux at gmail.com To: loris-dev at bic.mni.mcgill.ca Subject: [Loris-dev] Fwd: data dictionary Hi, So Rathi sees that this my problem for not getting the data_dictionary to poluate: select ParameterTypeID from parameter_type_category_rel where ParameterTypeCategoryID in ()
PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid SELECT statement, select ParameterTypeID from parameter_type_category_rel where ParameterTypeCategoryID in () See suggested that I:Can you check if the table parameter_type_category has all the columns especially of type Instrument? I have a feeling that you don't have a parameter category Instrument defined hence its failing. Does anyone know what this means? what is type of instrument, and how do I add it? I've included a screen shot of my parameter table. Thanks!Tom Rathi On Fri, Feb 13, 2015 at 8:35 PM, Tom Beaudry wrote: Hi Rathi, So i copied this version of the data_dictionary script (https://github.com/aces/Loris/blob/master/tools/data_dictionary_builder.php) commented out the autoload line, added: require_once __DIR__ . "/../php/libraries/NDB_Client.class.inc"; and I get this error: [lorisadmin at canadachina tools]$ php data_dictionary_builder.php canadachina: SELECT cs.ID as ParentID, child.ID as ChildID, cs.AllowMultiple, child.Name FROM ConfigSettings cs LEFT JOIN ConfigSettings child ON (child.Parent=cs.ID) WHERE cs.Name=:showPearErrors
canadachina: SELECT Value FROM Config WHERE ConfigID=:34 LIMIT 1
canadachina: Select Name, ParameterTypeID from parameter_type
canadachina: select ParameterTypeCategoryID from parameter_type_category where Type = 'Instrument'
PHP Warning: implode(): Invalid arguments passed in /var/www/loris/tools/data_dictionary_builder.php on line 57canadachina: select ParameterTypeID from parameter_type_category_rel where ParameterTypeCategoryID in ()
PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid SELECT statement, select ParameterTypeID from parameter_type_category_rel where ParameterTypeCategoryID in ()' in /var/www/loris/php/libraries/Database.class.inc:458Stack trace:#0 /var/www/loris/tools/data_dictionary_builder.php(239): Database->select('select Paramete...', Array)#1 /var/www/loris/tools/data_dictionary_builder.php(60): getColumn('select Paramete...', Object(Database), NULL)#2 {main} thrown in /var/www/loris/php/libraries/Database.class.inc on line 458[lorisadmin at canadachina tools]$ Any ideas? Note that I am still using the first public release of LORIS. thanks,Tom _______________________________________________ Loris-dev mailing list Loris-dev at bic.mni.mcgill.ca http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 18 12:04:26 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 18 Feb 2015 12:04:26 -0500 Subject: [Loris-dev] data_dictionary_builder.php Message-ID: Hi Everyone, So the first time I ran the data_dictionary_builder.php script it worked. I just modified a linst file (I added a static field for scoring), and tried to run it again to see if I could select that field using the DQT. I deleted the old ip_output.txt file and created a new one. I then tried to run the script but I get this error now: Inserting BostonNamingTest multipleChoice20_status canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='294', `Name`='BostonNamingTest_multipleChoice20_status', `Type`='enum(\'not_answered\')', `Description`=NULL, `SourceField`='multipleChoice20_status', `SourceFrom`='BostonNamingTest', `CurrentGUITable`='quat_table_2', `Queryable`='1'
canadachina: SHOW INDEX FROM parameter_type
1canadachina: INSERT INTO parameter_type_category_rel SET `ParameterTypeID`='294', `ParameterTypeCategoryID`='28'
canadachina: SHOW INDEX FROM parameter_type_category_rel
Inserting BostonNamingTest canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='598', `Name`='BostonNamingTest_', `Type`='page', `Description`='Boston Naming Test - Page 3', `SourceField`=NULL, `SourceFrom`='BostonNamingTest', `CurrentGUITable`='quat_table_2', `Queryable`='1'
PHP Fatal error: Uncaught exception 'Exception' with message 'Insert statement did not execute successfully.' in /var/www/loris/php/libraries/Database.class.inc:273 Stack trace: #0 /var/www/loris/tools/data_dictionary_builder.php(159): Database->insert('parameter_type', Array) #1 {main} thrown in /var/www/loris/php/libraries/Database.class.inc on line 273 It seems like it's trying to add my page break into the paramter_type table (which I am guessing it shouldn't). It also jumps from ParamterTypeID 294 to 598. Any ideas? Thanks! Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From christine.rogers at mcgill.ca Wed Feb 18 14:49:33 2015 From: christine.rogers at mcgill.ca (Christine Rogers) Date: Wed, 18 Feb 2015 14:49:33 -0500 Subject: [Loris-dev] data_dictionary_builder.php In-Reply-To: References: Message-ID: Hi Tom, The Data Dictionary Builder script doesn't seem to be picking up the field name when parsing your instrument. e.g. the Insert statement shows : SourceField is NULL, which is probably what's causing the statement to fail. also `Name`='BostonNamingTest_', should be TableName_FieldName not just 'TableName_' On which field did this error occur? : the static field you manually edited, or a page break? In our experience page breaks created in the instrument builder should work fine. Does the static field name manually added to your linst file match exactly the field name in your mysql instrument table? Does the formatting of this line match exactly other static fields? To troubleshoot you can try running the Data Dictionary Builder again just for that instrument: To do so, you'll need to temporarily overwrite ip_output.txt, which the data_dictionary_builder script reads as input. First, back up a safe copy of your current ip_output.txt file - you'll definitely want it again later. Delete all fields for this instrument from the parameter_type table (e.g. delete from parameter_type where `SourceFrom`='BostonNamingTest'; ) Copy your instrument's .linst file to overwrite ip_output.txt then run the data_dictionary_builder.php script again. Don't forget to regenerate ip_output.txt for all instruments when done. cheers, Christine On Wed, Feb 18, 2015 at 12:04 PM, Tom Beaudry wrote: > Hi Everyone, > > So the first time I ran the data_dictionary_builder.php script it worked. I > just modified a linst file (I added a static field for scoring), and tried > to run it again to see if I could select that field using the DQT. I > deleted the old ip_output.txt file and created a new one. I then tried to > run the script but I get this error now: > > > Inserting BostonNamingTest multipleChoice20_status > canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='294', > `Name`='BostonNamingTest_multipleChoice20_status', > `Type`='enum(\'not_answered\')', `Description`=NULL, > `SourceField`='multipleChoice20_status', `SourceFrom`='BostonNamingTest', > `CurrentGUITable`='quat_table_2', `Queryable`='1'
> canadachina: SHOW INDEX FROM parameter_type
> 1canadachina: INSERT INTO parameter_type_category_rel SET > `ParameterTypeID`='294', `ParameterTypeCategoryID`='28'
> canadachina: SHOW INDEX FROM parameter_type_category_rel
> Inserting BostonNamingTest > canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='598', > `Name`='BostonNamingTest_', `Type`='page', `Description`='Boston Naming Test > - Page 3', `SourceField`=NULL, `SourceFrom`='BostonNamingTest', > `CurrentGUITable`='quat_table_2', `Queryable`='1'
> PHP Fatal error: Uncaught exception 'Exception' with message 'Insert > statement did not execute successfully.' in > /var/www/loris/php/libraries/Database.class.inc:273 > Stack trace: > #0 /var/www/loris/tools/data_dictionary_builder.php(159): > Database->insert('parameter_type', Array) > #1 {main} > thrown in /var/www/loris/php/libraries/Database.class.inc on line 273 > > It seems like it's trying to add my page break into the paramter_type table > (which I am guessing it shouldn't). It also jumps from ParamterTypeID 294 > to 598. > > Any ideas? Thanks! > Tom > > _______________________________________________ > Loris-dev mailing list > Loris-dev at bic.mni.mcgill.ca > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > -- christine.rogers at mcgill.ca 514.398.7210 NeuroDevNet LORIS data systems MCIN | McConnell Brain Imaging Centre Montreal Neurological Institute From waveflux at gmail.com Wed Feb 18 14:54:29 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 18 Feb 2015 14:54:29 -0500 Subject: [Loris-dev] data_dictionary_builder.php In-Reply-To: References: Message-ID: Hi Christine, To answer you question it dies on the page break (this one: page{@}{@}Boston Naming Test - Page 3 ). The script only breaks for this one instrument, if I remove it from the ip_output.txt the script works fine. What's weird is the static field that I added was to a different instrument all together, so the fact that it fails the 2nd time is quite unusual. Can I just remove all of the page breaks from the ip_output.txt file? best, Tom On Wed, Feb 18, 2015 at 2:49 PM, Christine Rogers < christine.rogers at mcgill.ca> wrote: > Hi Tom, > The Data Dictionary Builder script doesn't seem to be picking up the > field name when parsing your instrument. > e.g. the Insert statement shows : SourceField is NULL, which is > probably what's causing the statement to fail. > also `Name`='BostonNamingTest_', should be TableName_FieldName not > just 'TableName_' > > On which field did this error occur? : the static field you manually > edited, or a page break? In our experience page breaks created in the > instrument builder should work fine. > Does the static field name manually added to your linst file match > exactly the field name in your mysql instrument table? Does the > formatting of this line match exactly other static fields? > > To troubleshoot you can try running the Data Dictionary Builder again > just for that instrument: > To do so, you'll need to temporarily overwrite ip_output.txt, which > the data_dictionary_builder script reads as input. > First, back up a safe copy of your current ip_output.txt file - you'll > definitely want it again later. > Delete all fields for this instrument from the parameter_type table > (e.g. delete from parameter_type where > `SourceFrom`='BostonNamingTest'; ) > Copy your instrument's .linst file to overwrite ip_output.txt then run > the data_dictionary_builder.php script again. > Don't forget to regenerate ip_output.txt for all instruments when done. > > cheers, > Christine > > On Wed, Feb 18, 2015 at 12:04 PM, Tom Beaudry wrote: > > Hi Everyone, > > > > So the first time I ran the data_dictionary_builder.php script it > worked. I > > just modified a linst file (I added a static field for scoring), and > tried > > to run it again to see if I could select that field using the DQT. I > > deleted the old ip_output.txt file and created a new one. I then tried > to > > run the script but I get this error now: > > > > > > Inserting BostonNamingTest multipleChoice20_status > > canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='294', > > `Name`='BostonNamingTest_multipleChoice20_status', > > `Type`='enum(\'not_answered\')', `Description`=NULL, > > `SourceField`='multipleChoice20_status', `SourceFrom`='BostonNamingTest', > > `CurrentGUITable`='quat_table_2', `Queryable`='1'
> > canadachina: SHOW INDEX FROM parameter_type
> > 1canadachina: INSERT INTO parameter_type_category_rel SET > > `ParameterTypeID`='294', `ParameterTypeCategoryID`='28'
> > canadachina: SHOW INDEX FROM parameter_type_category_rel
> > Inserting BostonNamingTest > > canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='598', > > `Name`='BostonNamingTest_', `Type`='page', `Description`='Boston Naming > Test > > - Page 3', `SourceField`=NULL, `SourceFrom`='BostonNamingTest', > > `CurrentGUITable`='quat_table_2', `Queryable`='1'
> > PHP Fatal error: Uncaught exception 'Exception' with message 'Insert > > statement did not execute successfully.' in > > /var/www/loris/php/libraries/Database.class.inc:273 > > Stack trace: > > #0 /var/www/loris/tools/data_dictionary_builder.php(159): > > Database->insert('parameter_type', Array) > > #1 {main} > > thrown in /var/www/loris/php/libraries/Database.class.inc on line 273 > > > > It seems like it's trying to add my page break into the paramter_type > table > > (which I am guessing it shouldn't). It also jumps from ParamterTypeID > 294 > > to 598. > > > > Any ideas? Thanks! > > Tom > > > > _______________________________________________ > > Loris-dev mailing list > > Loris-dev at bic.mni.mcgill.ca > > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > > > > > > -- > > christine.rogers at mcgill.ca > 514.398.7210 > NeuroDevNet LORIS data systems > MCIN | McConnell Brain Imaging Centre > Montreal Neurological Institute > -------------- next part -------------- An HTML attachment was scrubbed... URL: From christine.rogers at mcgill.ca Wed Feb 18 15:01:25 2015 From: christine.rogers at mcgill.ca (Christine Rogers) Date: Wed, 18 Feb 2015 15:01:25 -0500 Subject: [Loris-dev] data_dictionary_builder.php In-Reply-To: <6700_1424289271_54E4EDF7_6700_24_1_469c251f52774057a6fa934d822fa7e8@EXHUB2010-3.campus.MCGILL.CA> References: <6700_1424289271_54E4EDF7_6700_24_1_469c251f52774057a6fa934d822fa7e8@EXHUB2010-3.campus.MCGILL.CA> Message-ID: Hi Tom, Yes, you can delete all page breaks from ip_output.txt and that should resolve the glitch. We'll also try reproducing the issue here and make any adjustments to the script. Best, Christine On Wed, Feb 18, 2015 at 2:54 PM, Tom Beaudry wrote: > Hi Christine, > > To answer you question it dies on the page break (this one: > page{@}{@}Boston Naming Test - Page 3 > ). The script only breaks for this one instrument, if I remove it from the > ip_output.txt the script works fine. What's weird is the static field that > I added was to a different instrument all together, so the fact that it > fails the 2nd time is quite unusual. Can I just remove all of the page > breaks from the ip_output.txt file? > > best, > Tom > > On Wed, Feb 18, 2015 at 2:49 PM, Christine Rogers > wrote: >> >> Hi Tom, >> The Data Dictionary Builder script doesn't seem to be picking up the >> field name when parsing your instrument. >> e.g. the Insert statement shows : SourceField is NULL, which is >> probably what's causing the statement to fail. >> also `Name`='BostonNamingTest_', should be TableName_FieldName not >> just 'TableName_' >> >> On which field did this error occur? : the static field you manually >> edited, or a page break? In our experience page breaks created in the >> instrument builder should work fine. >> Does the static field name manually added to your linst file match >> exactly the field name in your mysql instrument table? Does the >> formatting of this line match exactly other static fields? >> >> To troubleshoot you can try running the Data Dictionary Builder again >> just for that instrument: >> To do so, you'll need to temporarily overwrite ip_output.txt, which >> the data_dictionary_builder script reads as input. >> First, back up a safe copy of your current ip_output.txt file - you'll >> definitely want it again later. >> Delete all fields for this instrument from the parameter_type table >> (e.g. delete from parameter_type where >> `SourceFrom`='BostonNamingTest'; ) >> Copy your instrument's .linst file to overwrite ip_output.txt then run >> the data_dictionary_builder.php script again. >> Don't forget to regenerate ip_output.txt for all instruments when done. >> >> cheers, >> Christine >> >> On Wed, Feb 18, 2015 at 12:04 PM, Tom Beaudry wrote: >> > Hi Everyone, >> > >> > So the first time I ran the data_dictionary_builder.php script it >> > worked. I >> > just modified a linst file (I added a static field for scoring), and >> > tried >> > to run it again to see if I could select that field using the DQT. I >> > deleted the old ip_output.txt file and created a new one. I then tried >> > to >> > run the script but I get this error now: >> > >> > >> > Inserting BostonNamingTest multipleChoice20_status >> > canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='294', >> > `Name`='BostonNamingTest_multipleChoice20_status', >> > `Type`='enum(\'not_answered\')', `Description`=NULL, >> > `SourceField`='multipleChoice20_status', >> > `SourceFrom`='BostonNamingTest', >> > `CurrentGUITable`='quat_table_2', `Queryable`='1'
>> > canadachina: SHOW INDEX FROM parameter_type
>> > 1canadachina: INSERT INTO parameter_type_category_rel SET >> > `ParameterTypeID`='294', `ParameterTypeCategoryID`='28'
>> > canadachina: SHOW INDEX FROM parameter_type_category_rel
>> > Inserting BostonNamingTest >> > canadachina: INSERT INTO parameter_type SET `ParameterTypeID`='598', >> > `Name`='BostonNamingTest_', `Type`='page', `Description`='Boston Naming >> > Test >> > - Page 3', `SourceField`=NULL, `SourceFrom`='BostonNamingTest', >> > `CurrentGUITable`='quat_table_2', `Queryable`='1'
>> > PHP Fatal error: Uncaught exception 'Exception' with message 'Insert >> > statement did not execute successfully.' in >> > /var/www/loris/php/libraries/Database.class.inc:273 >> > Stack trace: >> > #0 /var/www/loris/tools/data_dictionary_builder.php(159): >> > Database->insert('parameter_type', Array) >> > #1 {main} >> > thrown in /var/www/loris/php/libraries/Database.class.inc on line 273 >> > >> > It seems like it's trying to add my page break into the paramter_type >> > table >> > (which I am guessing it shouldn't). It also jumps from ParamterTypeID >> > 294 >> > to 598. >> > >> > Any ideas? Thanks! >> > Tom >> > >> > _______________________________________________ >> > Loris-dev mailing list >> > Loris-dev at bic.mni.mcgill.ca >> > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >> > >> >> >> >> -- >> >> christine.rogers at mcgill.ca >> 514.398.7210 >> NeuroDevNet LORIS data systems >> MCIN | McConnell Brain Imaging Centre >> Montreal Neurological Institute > > -- christine.rogers at mcgill.ca 514.398.7210 NeuroDevNet LORIS data systems MCIN | McConnell Brain Imaging Centre Montreal Neurological Institute From david.macfarlane2 at mcgill.ca Wed Feb 18 15:43:50 2015 From: david.macfarlane2 at mcgill.ca (Dave MacFarlane) Date: Wed, 18 Feb 2015 15:43:50 -0500 Subject: [Loris-dev] Loris Developer Workshop Part 2 Message-ID: Hi all, Thanks to everyone who came to the first Loris Developers workshop last week. We're still working on putting up the video for those who couldn't make it, but in the meantime Athena Buckthought has very kindly (and laboriously!) provided a written transcript of the session that I've put onto the wiki at https://github.com/aces/Loris/wiki/Developer-Workshop-2015-02-13 . (I've done a little editing for clarity and formatting, so if you notice any problems, it's probably my fault, not hers. If you think some of my editing isn't faithful to something that was said, feel free to clean it up further.) I've also added a section to the Technical section of the wiki here: https://github.com/aces/Loris/wiki/Developer-Workshops which I'll try to keep updated about upcoming workshops. The next workshop will be on Tuesday March 3, 2015 at 3:30 as discussed at the end of the last workshop. We've reserved the BT-100 room for it. I'm hoping to be able to cover some details of the php/libraries core classes and some explanations of the database tables in Loris at this session, so that in the session after that we can dive in to a more practical application of writing a simple Loris module from scratch, but it's possible we'll have to split the core classes and database tables into 2 sessions depending on how things go. Hope to see you all then, - Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 25 14:27:55 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 25 Feb 2015 14:27:55 -0500 Subject: [Loris-dev] php instruments Message-ID: Hi Guys, So i created an uploader based off of the template: https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc I followed the info from this page on how to add it to LORIS: https://github.com/aces/Loris/wiki/Instrument-Coding-Guide and now I am trying to test it. I created a new candidate and a visit, and I see the instrument on the front end. When I select it, I get a completely blank page. I checked the apache log and I get: *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, referer: https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 * *[lorisadmin at canadachina project]$ vi /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* I also looked at the queries from the showDatabaseQueries flag and i didn't see anything there causing the problem. Any ideas? Thanks! Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 25 14:29:18 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 25 Feb 2015 14:29:18 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: oh and by "see the instrument on the front end" I mean I am able to click on its name in the list of behavioral battery of instruments and goto the next page for data entry On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: > Hi Guys, > > So i created an uploader based off of the template: > https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc > > I followed the info from this page on how to add it to LORIS: > https://github.com/aces/Loris/wiki/Instrument-Coding-Guide > > and now I am trying to test it. I created a new candidate and a visit, > and I see the instrument on the front end. When I select it, I get a > completely blank page. > > I checked the apache log and I get: > *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found > in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, > referer: > https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 > * > *[lorisadmin at canadachina project]$ vi > /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* > > I also looked at the queries from the showDatabaseQueries flag and i > didn't see anything there causing the problem. > > Any ideas? Thanks! > Tom > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinkat at gmail.com Wed Feb 25 14:32:29 2015 From: justinkat at gmail.com (Justin Kat) Date: Wed, 25 Feb 2015 14:32:29 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: First thing I would probably do is check your permissions on the instrument file. Justin On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: > Hi Guys, > > So i created an uploader based off of the template: > https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc > > I followed the info from this page on how to add it to LORIS: > https://github.com/aces/Loris/wiki/Instrument-Coding-Guide > > and now I am trying to test it. I created a new candidate and a visit, > and I see the instrument on the front end. When I select it, I get a > completely blank page. > > I checked the apache log and I get: > *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found > in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, > referer: > https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 > * > *[lorisadmin at canadachina project]$ vi > /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* > > I also looked at the queries from the showDatabaseQueries flag and i > didn't see anything there causing the problem. > > Any ideas? Thanks! > Tom > > > > _______________________________________________ > Loris-dev mailing list > Loris-dev at bic.mni.mcgill.ca > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 25 14:37:06 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 25 Feb 2015 14:37:06 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: Hi Justin, I have already set the permission of the class.inc file and the .sql it created to 775, so it's not that. Tom On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat wrote: > First thing I would probably do is check your permissions on the > instrument file. > > Justin > > On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: > >> Hi Guys, >> >> So i created an uploader based off of the template: >> https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc >> >> I followed the info from this page on how to add it to LORIS: >> https://github.com/aces/Loris/wiki/Instrument-Coding-Guide >> >> and now I am trying to test it. I created a new candidate and a visit, >> and I see the instrument on the front end. When I select it, I get a >> completely blank page. >> >> I checked the apache log and I get: >> *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found >> in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, >> referer: >> https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 >> * >> *[lorisadmin at canadachina project]$ vi >> /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* >> >> I also looked at the queries from the showDatabaseQueries flag and i >> didn't see anything there causing the problem. >> >> Any ideas? Thanks! >> Tom >> >> >> >> _______________________________________________ >> Loris-dev mailing list >> Loris-dev at bic.mni.mcgill.ca >> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.macfarlane2 at mcgill.ca Wed Feb 25 14:58:49 2015 From: david.macfarlane2 at mcgill.ca (Dave MacFarlane) Date: Wed, 25 Feb 2015 14:58:49 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: , , Message-ID: The line generating the error seems to be: include_once $base."project/instruments/$class.class.inc"; What's the value of $base."project/instruments/$class.class.inc" if you print it out before the include? My second guess (after permissions) would be either the base path is misconfigured or the case sensitivity of the class name doesn't match the file system (PHP isn't case sensitive, but the file system is..) - DaveDate: Wed, 25 Feb 2015 14:37:06 -0500 From: waveflux at gmail.com To: justinkat at gmail.com CC: loris-dev at bic.mni.mcgill.ca Subject: Re: [Loris-dev] php instruments Hi Justin, I have already set the permission of the class.inc file and the .sql it created to 775, so it's not that. Tom On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat wrote: First thing I would probably do is check your permissions on the instrument file. Justin On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: Hi Guys, So i created an uploader based off of the template: https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc I followed the info from this page on how to add it to LORIS: https://github.com/aces/Loris/wiki/Instrument-Coding-Guide and now I am trying to test it. I created a new candidate and a visit, and I see the instrument on the front end. When I select it, I get a completely blank page. I checked the apache log and I get:PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, referer: https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50[lorisadmin at canadachina project]$ vi /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc I also looked at the queries from the showDatabaseQueries flag and i didn't see anything there causing the problem. Any ideas? Thanks!Tom _______________________________________________ Loris-dev mailing list Loris-dev at bic.mni.mcgill.ca http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev _______________________________________________ Loris-dev mailing list Loris-dev at bic.mni.mcgill.ca http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 25 15:03:33 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 25 Feb 2015 15:03:33 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: Hi Guys, If i print out the value of the line, I get: /var/www/loris/project/instruments/NDB_BVL_Instrument_Genetics_Uploader.class.inc This does in fact point to a file that exsits. Tom On Wed, Feb 25, 2015 at 2:58 PM, Dave MacFarlane < david.macfarlane2 at mcgill.ca> wrote: > The line generating the error seems to be: > > include_once $base."project/instruments/$class.class.inc"; > > What's the value of $base."project/instruments/$class.class.inc" if you > print it out before the include? > > My second guess (after permissions) would be either the base path is > misconfigured or the case sensitivity of the class name doesn't match the > file system (PHP isn't case sensitive, but the file system is..) > > - Dave > ------------------------------ > Date: Wed, 25 Feb 2015 14:37:06 -0500 > From: waveflux at gmail.com > To: justinkat at gmail.com > CC: loris-dev at bic.mni.mcgill.ca > Subject: Re: [Loris-dev] php instruments > > > Hi Justin, > > I have already set the permission of the class.inc file and the .sql it > created to 775, so it's not that. > > Tom > > On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat wrote: > > First thing I would probably do is check your permissions on the > instrument file. > > Justin > > On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: > > Hi Guys, > > So i created an uploader based off of the template: > https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc > > I followed the info from this page on how to add it to LORIS: > https://github.com/aces/Loris/wiki/Instrument-Coding-Guide > > and now I am trying to test it. I created a new candidate and a visit, > and I see the instrument on the front end. When I select it, I get a > completely blank page. > > I checked the apache log and I get: > *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found > in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, > referer: > https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 > * > *[lorisadmin at canadachina project]$ vi > /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* > > I also looked at the queries from the showDatabaseQueries flag and i > didn't see anything there causing the problem. > > Any ideas? Thanks! > Tom > > > > _______________________________________________ > Loris-dev mailing list > Loris-dev at bic.mni.mcgill.ca > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > > > > > _______________________________________________ Loris-dev mailing list > Loris-dev at bic.mni.mcgill.ca > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sekaranrathi at gmail.com Wed Feb 25 15:12:01 2015 From: sekaranrathi at gmail.com (Rathi Gnanasekaran) Date: Wed, 25 Feb 2015 15:12:01 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: Hi Tom, Can you please double check that the class name is NDB_BVL_Instrument_Genetics_Uploader. You may have forgotten to change it when you used the uploader template to create the instrument. Also in the setup function make sure the following variables are set correctly: // set the object properties $this->testName = "Genetics_Uploader"; // test_names.Test_name $this->table = 'Genetics_Uploader'; // name of database table corresponding to instrument If the class name is fine, then please send us the instrument so we can debug further. Thanks, Rathi On Wed, Feb 25, 2015 at 3:03 PM, Tom Beaudry wrote: > Hi Guys, > > If i print out the value of the line, I get: > > > /var/www/loris/project/instruments/NDB_BVL_Instrument_Genetics_Uploader.class.inc > > This does in fact point to a file that exsits. > > Tom > > On Wed, Feb 25, 2015 at 2:58 PM, Dave MacFarlane < > david.macfarlane2 at mcgill.ca> wrote: > >> The line generating the error seems to be: >> >> include_once $base."project/instruments/$class.class.inc"; >> >> What's the value of $base."project/instruments/$class.class.inc" if you >> print it out before the include? >> >> My second guess (after permissions) would be either the base path is >> misconfigured or the case sensitivity of the class name doesn't match the >> file system (PHP isn't case sensitive, but the file system is..) >> >> - Dave >> ------------------------------ >> Date: Wed, 25 Feb 2015 14:37:06 -0500 >> From: waveflux at gmail.com >> To: justinkat at gmail.com >> CC: loris-dev at bic.mni.mcgill.ca >> Subject: Re: [Loris-dev] php instruments >> >> >> Hi Justin, >> >> I have already set the permission of the class.inc file and the .sql it >> created to 775, so it's not that. >> >> Tom >> >> On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat wrote: >> >> First thing I would probably do is check your permissions on the >> instrument file. >> >> Justin >> >> On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: >> >> Hi Guys, >> >> So i created an uploader based off of the template: >> https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc >> >> I followed the info from this page on how to add it to LORIS: >> https://github.com/aces/Loris/wiki/Instrument-Coding-Guide >> >> and now I am trying to test it. I created a new candidate and a visit, >> and I see the instrument on the front end. When I select it, I get a >> completely blank page. >> >> I checked the apache log and I get: >> *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not found >> in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line 218, >> referer: >> https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 >> * >> *[lorisadmin at canadachina project]$ vi >> /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* >> >> I also looked at the queries from the showDatabaseQueries flag and i >> didn't see anything there causing the problem. >> >> Any ideas? Thanks! >> Tom >> >> >> >> _______________________________________________ >> Loris-dev mailing list >> Loris-dev at bic.mni.mcgill.ca >> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >> >> >> >> >> _______________________________________________ Loris-dev mailing list >> Loris-dev at bic.mni.mcgill.ca >> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >> > > > _______________________________________________ > Loris-dev mailing list > Loris-dev at bic.mni.mcgill.ca > http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 25 15:23:32 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 25 Feb 2015 15:23:32 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: Hi Rathi, I had set those lines to what you suggested, and the name of my file is correct. Here is a copy: Thanks, Tom On Wed, Feb 25, 2015 at 3:12 PM, Rathi Gnanasekaran wrote: > Hi Tom, > Can you please double check that the class name is > NDB_BVL_Instrument_Genetics_Uploader. You may have forgotten to change it > when you used the uploader template to create the instrument. > Also in the setup function make sure the following variables are set > correctly: > > // set the object properties > $this->testName = "Genetics_Uploader"; // > test_names.Test_name > $this->table = 'Genetics_Uploader'; // name of > database table corresponding to instrument > > If the class name is fine, then please send us the instrument so we can > debug further. > > Thanks, > Rathi > > On Wed, Feb 25, 2015 at 3:03 PM, Tom Beaudry wrote: > >> Hi Guys, >> >> If i print out the value of the line, I get: >> >> >> /var/www/loris/project/instruments/NDB_BVL_Instrument_Genetics_Uploader.class.inc >> >> This does in fact point to a file that exsits. >> >> Tom >> >> On Wed, Feb 25, 2015 at 2:58 PM, Dave MacFarlane < >> david.macfarlane2 at mcgill.ca> wrote: >> >>> The line generating the error seems to be: >>> >>> include_once $base."project/instruments/$class.class.inc"; >>> >>> What's the value of $base."project/instruments/$class.class.inc" if you >>> print it out before the include? >>> >>> My second guess (after permissions) would be either the base path is >>> misconfigured or the case sensitivity of the class name doesn't match the >>> file system (PHP isn't case sensitive, but the file system is..) >>> >>> - Dave >>> ------------------------------ >>> Date: Wed, 25 Feb 2015 14:37:06 -0500 >>> From: waveflux at gmail.com >>> To: justinkat at gmail.com >>> CC: loris-dev at bic.mni.mcgill.ca >>> Subject: Re: [Loris-dev] php instruments >>> >>> >>> Hi Justin, >>> >>> I have already set the permission of the class.inc file and the .sql it >>> created to 775, so it's not that. >>> >>> Tom >>> >>> On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat wrote: >>> >>> First thing I would probably do is check your permissions on the >>> instrument file. >>> >>> Justin >>> >>> On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry wrote: >>> >>> Hi Guys, >>> >>> So i created an uploader based off of the template: >>> https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc >>> >>> I followed the info from this page on how to add it to LORIS: >>> https://github.com/aces/Loris/wiki/Instrument-Coding-Guide >>> >>> and now I am trying to test it. I created a new candidate and a visit, >>> and I see the instrument on the front end. When I select it, I get a >>> completely blank page. >>> >>> I checked the apache log and I get: >>> *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not >>> found in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line >>> 218, referer: >>> https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 >>> * >>> *[lorisadmin at canadachina project]$ vi >>> /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* >>> >>> I also looked at the queries from the showDatabaseQueries flag and i >>> didn't see anything there causing the problem. >>> >>> Any ideas? Thanks! >>> Tom >>> >>> >>> >>> _______________________________________________ >>> Loris-dev mailing list >>> Loris-dev at bic.mni.mcgill.ca >>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>> >>> >>> >>> >>> _______________________________________________ Loris-dev mailing list >>> Loris-dev at bic.mni.mcgill.ca >>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>> >> >> >> _______________________________________________ >> Loris-dev mailing list >> Loris-dev at bic.mni.mcgill.ca >> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NDB_BVL_Instrument_Genetics_Uploader.class.inc Type: application/octet-stream Size: 6018 bytes Desc: not available URL: From sekaranrathi at gmail.com Wed Feb 25 15:27:16 2015 From: sekaranrathi at gmail.com (Rathi Gnanasekaran) Date: Wed, 25 Feb 2015 15:27:16 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: Hi Tom, Here is the problem, line 2 of the file: wrote: > Hi Rathi, > > I had set those lines to what you suggested, and the name of my file is > correct. Here is a copy: > > Thanks, > Tom > > On Wed, Feb 25, 2015 at 3:12 PM, Rathi Gnanasekaran < > sekaranrathi at gmail.com> wrote: > >> Hi Tom, >> Can you please double check that the class name is >> NDB_BVL_Instrument_Genetics_Uploader. You may have forgotten to change it >> when you used the uploader template to create the instrument. >> Also in the setup function make sure the following variables are set >> correctly: >> >> // set the object properties >> $this->testName = "Genetics_Uploader"; // >> test_names.Test_name >> $this->table = 'Genetics_Uploader'; // name of >> database table corresponding to instrument >> >> If the class name is fine, then please send us the instrument so we can >> debug further. >> >> Thanks, >> Rathi >> >> On Wed, Feb 25, 2015 at 3:03 PM, Tom Beaudry wrote: >> >>> Hi Guys, >>> >>> If i print out the value of the line, I get: >>> >>> >>> /var/www/loris/project/instruments/NDB_BVL_Instrument_Genetics_Uploader.class.inc >>> >>> This does in fact point to a file that exsits. >>> >>> Tom >>> >>> On Wed, Feb 25, 2015 at 2:58 PM, Dave MacFarlane < >>> david.macfarlane2 at mcgill.ca> wrote: >>> >>>> The line generating the error seems to be: >>>> >>>> include_once $base."project/instruments/$class.class.inc"; >>>> >>>> What's the value of $base."project/instruments/$class.class.inc" if >>>> you print it out before the include? >>>> >>>> My second guess (after permissions) would be either the base path is >>>> misconfigured or the case sensitivity of the class name doesn't match the >>>> file system (PHP isn't case sensitive, but the file system is..) >>>> >>>> - Dave >>>> ------------------------------ >>>> Date: Wed, 25 Feb 2015 14:37:06 -0500 >>>> From: waveflux at gmail.com >>>> To: justinkat at gmail.com >>>> CC: loris-dev at bic.mni.mcgill.ca >>>> Subject: Re: [Loris-dev] php instruments >>>> >>>> >>>> Hi Justin, >>>> >>>> I have already set the permission of the class.inc file and the .sql it >>>> created to 775, so it's not that. >>>> >>>> Tom >>>> >>>> On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat >>>> wrote: >>>> >>>> First thing I would probably do is check your permissions on the >>>> instrument file. >>>> >>>> Justin >>>> >>>> On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry >>>> wrote: >>>> >>>> Hi Guys, >>>> >>>> So i created an uploader based off of the template: >>>> https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc >>>> >>>> I followed the info from this page on how to add it to LORIS: >>>> https://github.com/aces/Loris/wiki/Instrument-Coding-Guide >>>> >>>> and now I am trying to test it. I created a new candidate and a visit, >>>> and I see the instrument on the front end. When I select it, I get a >>>> completely blank page. >>>> >>>> I checked the apache log and I get: >>>> *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not >>>> found in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line >>>> 218, referer: >>>> https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 >>>> * >>>> *[lorisadmin at canadachina project]$ vi >>>> /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* >>>> >>>> I also looked at the queries from the showDatabaseQueries flag and i >>>> didn't see anything there causing the problem. >>>> >>>> Any ideas? Thanks! >>>> Tom >>>> >>>> >>>> >>>> _______________________________________________ >>>> Loris-dev mailing list >>>> Loris-dev at bic.mni.mcgill.ca >>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>>> >>>> >>>> >>>> >>>> _______________________________________________ Loris-dev mailing list >>>> Loris-dev at bic.mni.mcgill.ca >>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>>> >>> >>> >>> _______________________________________________ >>> Loris-dev mailing list >>> Loris-dev at bic.mni.mcgill.ca >>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From waveflux at gmail.com Wed Feb 25 15:31:04 2015 From: waveflux at gmail.com (Tom Beaudry) Date: Wed, 25 Feb 2015 15:31:04 -0500 Subject: [Loris-dev] php instruments In-Reply-To: References: Message-ID: Hi Rathi, Crap sorry I missed that. I appreciate you finding it! It did the trick. best, Tom On Wed, Feb 25, 2015 at 3:27 PM, Rathi Gnanasekaran wrote: > Hi Tom, > Here is the problem, line 2 of the file: > > class NDB_BVL_Instrument_TEST_NAME extends NDB_BVL_Instrument > { > > *Should be : * > > class NDB_BVL_Instrument_Genetics_Uploader extends NDB_BVL_Instrument > { > > > Rathi > > On Wed, Feb 25, 2015 at 3:23 PM, Tom Beaudry wrote: > >> Hi Rathi, >> >> I had set those lines to what you suggested, and the name of my file is >> correct. Here is a copy: >> >> Thanks, >> Tom >> >> On Wed, Feb 25, 2015 at 3:12 PM, Rathi Gnanasekaran < >> sekaranrathi at gmail.com> wrote: >> >>> Hi Tom, >>> Can you please double check that the class name is >>> NDB_BVL_Instrument_Genetics_Uploader. You may have forgotten to change it >>> when you used the uploader template to create the instrument. >>> Also in the setup function make sure the following variables are set >>> correctly: >>> >>> // set the object properties >>> $this->testName = "Genetics_Uploader"; // >>> test_names.Test_name >>> $this->table = 'Genetics_Uploader'; // name of >>> database table corresponding to instrument >>> >>> If the class name is fine, then please send us the instrument so we can >>> debug further. >>> >>> Thanks, >>> Rathi >>> >>> On Wed, Feb 25, 2015 at 3:03 PM, Tom Beaudry wrote: >>> >>>> Hi Guys, >>>> >>>> If i print out the value of the line, I get: >>>> >>>> >>>> /var/www/loris/project/instruments/NDB_BVL_Instrument_Genetics_Uploader.class.inc >>>> >>>> This does in fact point to a file that exsits. >>>> >>>> Tom >>>> >>>> On Wed, Feb 25, 2015 at 2:58 PM, Dave MacFarlane < >>>> david.macfarlane2 at mcgill.ca> wrote: >>>> >>>>> The line generating the error seems to be: >>>>> >>>>> include_once $base."project/instruments/$class.class.inc"; >>>>> >>>>> What's the value of $base."project/instruments/$class.class.inc" if >>>>> you print it out before the include? >>>>> >>>>> My second guess (after permissions) would be either the base path is >>>>> misconfigured or the case sensitivity of the class name doesn't match the >>>>> file system (PHP isn't case sensitive, but the file system is..) >>>>> >>>>> - Dave >>>>> ------------------------------ >>>>> Date: Wed, 25 Feb 2015 14:37:06 -0500 >>>>> From: waveflux at gmail.com >>>>> To: justinkat at gmail.com >>>>> CC: loris-dev at bic.mni.mcgill.ca >>>>> Subject: Re: [Loris-dev] php instruments >>>>> >>>>> >>>>> Hi Justin, >>>>> >>>>> I have already set the permission of the class.inc file and the .sql >>>>> it created to 775, so it's not that. >>>>> >>>>> Tom >>>>> >>>>> On Wed, Feb 25, 2015 at 2:32 PM, Justin Kat >>>>> wrote: >>>>> >>>>> First thing I would probably do is check your permissions on the >>>>> instrument file. >>>>> >>>>> Justin >>>>> >>>>> On Wed, Feb 25, 2015 at 2:27 PM, Tom Beaudry >>>>> wrote: >>>>> >>>>> Hi Guys, >>>>> >>>>> So i created an uploader based off of the template: >>>>> https://github.com/aces/Loris/blob/master/docs/instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc >>>>> >>>>> I followed the info from this page on how to add it to LORIS: >>>>> https://github.com/aces/Loris/wiki/Instrument-Coding-Guide >>>>> >>>>> and now I am trying to test it. I created a new candidate and a >>>>> visit, and I see the instrument on the front end. When I select it, I get >>>>> a completely blank page. >>>>> >>>>> I checked the apache log and I get: >>>>> *PHP Fatal error: Class 'NDB_BVL_Instrument_Genetics_Uploader' not >>>>> found in /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc on line >>>>> 218, referer: >>>>> https://canadachina.loris.ca/main.php?test_name=instrument_list&candID=271744&sessionID=50 >>>>> * >>>>> *[lorisadmin at canadachina project]$ vi >>>>> /var/www/loris/php/libraries/NDB_BVL_Instrument.class.inc* >>>>> >>>>> I also looked at the queries from the showDatabaseQueries flag and i >>>>> didn't see anything there causing the problem. >>>>> >>>>> Any ideas? Thanks! >>>>> Tom >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Loris-dev mailing list >>>>> Loris-dev at bic.mni.mcgill.ca >>>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ Loris-dev mailing list >>>>> Loris-dev at bic.mni.mcgill.ca >>>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Loris-dev mailing list >>>> Loris-dev at bic.mni.mcgill.ca >>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: