[Loris-dev] Quality Control form

Dave MacFarlane dave.macfarlane at mcin.ca
Wed Oct 16 11:28:48 EDT 2019


Hi Sotirios,

The mri_parameter_form is an instrument that some LORIS modules assume
exist, in the case of the quality control module to check whether there
should be a scan inserted and compare it against whether or not there is a
scan there.

You should create an instrument named "mri_parameter_form" with questions
such as "X_Scan_Done" for each scan type "X" (ie. T1, T2) that you have in
your protocol (the "X" should match the mri_scan_types) and install it the
same way as any other instrument. There are a few places (such as the
quality control module, or some links in the imaging browser) that assume
an instrument named that with questions of that form exist.

- Dave

On Wed, Oct 16, 2019 at 10:35 AM Sotirios Nikoloutsopoulos <
sotirisnik at gmail.com> wrote:

> Hi,
>
> I can't load the page for quality_control. I get the following error in
> the loris-error.log, but in short the problem is "Table
> 'LORIS.mri_parameter_form doesn' exist"
>
> [image: image.png]
>
> [php7:error] [pid 6207] [client 127.0.0.1:41234] PHP Fatal error:
>  Uncaught DatabaseException: Table 'LORIS.mri_parameter_form' doesn't exist
> in /var/www/loris/php/libraries/Database.class.inc:707\nStack trace:\n#0
> /var/www/loris/php/libraries/Database.class.inc(739):
> Database->execute(Object(PDOStatement), Array)\n#1
> /var/www/loris/php/libraries/NDB_Menu_Filter.class.inc(840):
> Database->pselect('SELECT PSCID, S...', Array)\n#2
> /var/www/loris/php/libraries/NDB_Menu_Filter.class.inc(776):
> NDB_Menu_Filter->_getFullList()\n#3
> /var/www/loris/php/libraries/NDB_Menu_Filter.class.inc(805):
> NDB_Menu_Filter->toArray()\n#4
> /var/www/loris/php/libraries/NDB_Menu_Filter.class.inc(678):
> NDB_Menu_Filter->toJSON()\n#5
> /var/www/loris/php/libraries/NDB_Page.class.inc(676):
> NDB_Menu_Filter->display()\n#6
> /var/www/loris/php/libraries/NDB_Page.class.inc(655):
> NDB_Page->handle(Object(Zend\\Diactoros\\ServerRequest))\n#7
> /var/www/loris/php/libraries/Module.class.inc(341):
> NDB_Page->process(Object(Zend\\Diactoros\\ServerRequest),
> Object(LORIS\\quality_control\\Quality_Control))\n#8
> /var/www/loris/src/Middleware/Re in
> /var/www/loris/php/libraries/Database.class.inc on line 707, referer:
> http://localhost/quality_control/
>
> Thank you,
>
> Sotirios
> _______________________________________________
> Loris-dev mailing list
> Loris-dev at bic.mni.mcgill.ca
> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20191016/6f484c8c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 14637 bytes
Desc: not available
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20191016/6f484c8c/attachment-0001.png>


More information about the Loris-dev mailing list