<div dir="ltr"><div>Hi Alfred,</div><div><br></div><div>It might be best to debug this interactively. Is there a time you'd be available for a Zoom call to go over your problems?</div><div><br></div><div>- Dave<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 13, 2021 at 11:29 AM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi Dave, 
<div><br>
</div>
<div>I am still having issues editing a user permissions in the front-end. The changes I am doing for one specific user are not saved and I don’t receive any message/error.</div>
<div><br>
</div>
<div>Let me know what is the best way for me help on this.</div>
<div><br>
</div>
<div>Best,</div>
<div>Alfredo.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<blockquote type="cite">
<div>On Feb 9, 2021, at 11:04 PM, Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@BWH.HARVARD.EDU" target="_blank">AMORALESPINZON@BWH.HARVARD.EDU</a>> wrote:</div>
<br>
<div>
<div style="overflow-wrap: break-word;">
Hi Dave,
<div><br>
</div>
<div>I am trying to give add more sites for a user but I’m getting the error in the image attached. I tried in a different user and I got the same error. This is the error log in loris-error.log:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(29,226,223)">[</span><span style="font-variant-ligatures:no-common-ligatures">Tue Feb 09 22:59:18.026223 2021</span><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(29,226,223)">]</span><span style="font-variant-ligatures:no-common-ligatures">
 [php7:notice] [pid 21147] [client <a href="http://216.15.126.108:59451" target="_blank">216.15.126.108:59451</a>] PHP Notice:  Undefined index: active_to in /var/www/loris/modules/user_accounts/php/edit_user.class.inc on line 1259, referer:
<a href="https://ipmsa-loris.bic.mni.mcgill.ca/user_accounts/edit_user/alfredouser" target="_blank">
https://ipmsa-loris.bic.mni.mcgill.ca/user_accounts/edit_user/alfredouser</a></span></div>
</div>
<div>===</div>
<div><br>
</div>
<div>Any ideas?</div>
<div><br>
</div>
<div>Best,</div>
<div>Alfredo,.</div>
<div><br>
</div>
<div><span id="gmail-m_2933796571530752045cid:7BDF9833-5229-43CB-8521-F3C56E016DAF"><Screen Shot 2021-02-09 at 11.00.44 PM.png></span><br>
<div><br>
<blockquote type="cite">
<div>On Feb 8, 2021, at 4:02 PM, Dave MacFarlane <<a href="mailto:dave.macfarlane@mcin.ca" target="_blank">dave.macfarlane@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p>
<div><br>
</div>
<div dir="ltr">
<div>Hi Sridar,</div>
<div><br>
</div>
<div>Users in LORIS may be affiliated with multiple sites at once. If there's a single uploader the easiest is just to ensure that the account used for uploading is affiliated with all the sites in LORIS by selecting them all in the multi-select in
 the user management page. (Clicking on the first one, then scrolling down and clicking the last one while holding shift should select them all in most web browsers.)</div>
<div><br>
</div>
<div>- Dave<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 3:31 PM Sridar Narayanan, Dr. <<a href="mailto:sridar.narayanan@mcgill.ca" target="_blank">sridar.narayanan@mcgill.ca</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi Dave,
<div><br>
</div>
<div>While requiring comprehensive site uploader data makes sense in the context of a prospective study where the sites are actually uploading data directly, it doesn’t make much sense when data is being uploaded centrally, either prospectively or
 retrospectively as in our case. Is there an option to specify a single, centralized uploader for all sites?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Sridar</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Feb 8, 2021, at 2:37 PM, Dave MacFarlane <<a href="mailto:dave.macfarlane@mcin.ca" target="_blank">dave.macfarlane@mcin.ca</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Set the "Real_name" field in the user table for that user to a value other than null (and maybe ensure no other users have null real names while you're at it.. they would have the same problem logging in). I think that any string value
 should fix the error that you posted.<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 2:33 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi Dave,
<div><br>
</div>
<div>What is your suggestion to fix this?</div>
<div><br>
</div>
<div>Best,</div>
<div>Alfredo.</div>
<div>
<div><br>
<blockquote type="cite">
<div>On Feb 8, 2021, at 1:24 PM, Dave MacFarlane <<a href="mailto:dave.macfarlane@mcin.ca" target="_blank">dave.macfarlane@mcin.ca</a>> wrote:</div>
<br>
<div>
<p style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<br>
</div>
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div>I don't think the Real_name field should be null. It's used for the name to display in the menu at the top of LORIS.</div>
<div><br>
</div>
<div>(In my local database the column is non-nullable, but it seems that the default schema allows null.. I think the fact that it allowed you to insert a null value is a minor bug.)<br>
</div>
<div><br>
</div>
<div>- Dave<br>
</div>
<br>
</div>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div class="gmail_quote" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 1:07 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Dear LorisDev,
<div><br>
</div>
<div>I am getting a 500 error after login into LORIS. This is what I can see in the logs:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">[Mon Feb 08 12:57:54.559522 2021] [php7:error] [pid 8074] [client<span> </span><a href="http://secure-web.cisco.com/1yyORuoeO9JxDA-IdiJYnWoKpPeOCoB_GC-bwmu-kKM0hweK4CWSEriGGX17eQ8Qq5nz4PPRg7R3MYEuJEIQ1HN01bBB6ZtcT0PcZpjpgMCm4yw-keQSOTQm7UYnGOOiDWbOzKlVrF4X1CyvYs3dwvgl8ZTqBBqwom6DVPTxrFrCBiDQPFG2wVI5CQ6-FmFg4RgFYYtKQ6MJC-ebrPkpxHNlL2iNIIYgeMOgR7dg_StpUuwxXqWRY8EKN93dnaKG3gFAwBzlBJ9eeQX2RGLbHUA/http%3A%2F%2F216.15.126.108%3A61071" target="_blank">216.15.126.108:61071</a>]
 PHP Fatal error:  Uncaught TypeError: Return value of User::getFullname() must be of the type string, null returned in /var/www/loris/php/libraries/User.class.inc:236\nStack trace:\n#0 /var/www/loris/modules/dashboard/php/module.class.inc(118): User->getFullname()\n#1
 /var/www/loris/modules/dashboard/php/module.class.inc(57): LORIS\\dashboard\\Module->_getWelcomeWidget(Object(Database), Object(NDB_Config), Object(User))\n#2 /var/www/loris/modules/dashboard/php/dashboard.class.inc(75): LORIS\\dashboard\\Module->getWidgets('dashboard',
 Object(User), Array)\n#3 /var/www/loris/php/libraries/Module.class.inc(275): LORIS\\dashboard\\Dashboard->__construct(Object(LORIS\\dashboard\\Module), 'dashboard', '', '', 'dashboard')\n#4 /var/www/loris/php/libraries/Module.class.inc(342): Module->loadPage('dashboard')\n#5
 /var/www/loris/src/Middleware/ResponseGenerator.php(50): Module->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#6 /var/www/loris/src/Middleware/AuthMiddleware.php(63): LORIS\\Middleware\\ResponseGenerator->process(Object(Laminas\\Diactoros\\Se in /var/www/loris/php/libraries/User.class.inc
 on line 236</span></div>
</div>
<div>===</div>
<div><br>
</div>
<div>Perhaps it is an issue with the name of the user? I created hundreds of users for batch insertion of candidates and visits for previous versions of LORIS that required insertion of Candidates and Visits by users belonging to a given center. </div>
<div><br>
</div>
<div>This is an entry in the users table without the hashed password:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">*************************** 850. row ***************************</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                    ID: 850</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                UserID: 723-DKC-1_dataman</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">              Password: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">             Real_name: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">            First_name: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">             Last_name: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                Degree: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">        Position_title: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">           Institution: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">            Department: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">               Address: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                  City: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                 State: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">              Zip_code: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">               Country: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                 Phone: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                   Fax: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                <span> </span><a href="mailto:723-DKC-1_dataman@ipmsa.com" target="_blank">Email: 723-DKC-1_dataman@ipmsa.com</a></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">             Privilege: 0</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                 PSCPI: N</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">              DBAccess: </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">                Active: Y</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">         Password_hash: /REMOVED/</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">       Password_expiry: 2035-01-01</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">      Pending_approval: N</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Doc_Repo_Notifications: N</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">   language_preference: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">           active_from: NULL</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">             active_to: NULL</span></div>
</div>
<div>===</div>
<div><br>
</div>
<div>Best,</div>
<div>Alfredo.</div>
<div>The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine
 at<span> </span><a href="http://secure-web.cisco.com/1mpsSvwo8y-cQVgPzryfWrMGrwgyJRuBZ21l3OpfPidIIOGkJJP5M-dA79KxrAs8inL2wDNKKwu_7FhZUrX1B9jZN_ESfEAND5f7ouFz36SxeVJtmLYqIy1_s5VhkkRuoHuptM3Uh1sF78u_V56JHmBd_-oG0pUY46rhlI4D5gs24UyDJj-bZy2iQgX7qpfPI2maK5TTtXgqHCQvlSfhPSJVo58wWwaeXZEJ7P8BJ4biZGLOYTiIwB5eSN4T8a77Dg2hjPsDH4rvouJJAf5F3Jg/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" target="_blank">http://www.massgeneralbrigham.org/complianceline</a><span> </span>.
 If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.</div>
</div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://secure-web.cisco.com/1YVFggw7EgDexlyx8pzmXliYExDI_SUGOOLhxJeHrfWOj50RAafEI5uGOBNyI4CRn6B4sl6vqQyDz_mgNWYCDYnu7_rYAr4EnOj5g3g6Mf5KG8H4DWL7T9BvF-_0IGFgWZzXI3mjSKHk4ri4vhgIO19lTq1AABOiJMRT7HnHR33sn1YMzq9tVjrXyWr6Vw50EHfrHJr8TIMegfBktpLydEls9DCJ25ZiMU7sZJSnI0U-l7LBWJh2cKMHDKIfcbAg32FpB12zUC9HPZ1jO0GtneA/https%3A%2F%2Fmailman.bic.mni.mcgill.ca%2Fmailman%2Flistinfo%2Floris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a></blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine
 at <a href="http://secure-web.cisco.com/1wSj8vAv0Td5WK_KOkBSb0ng1Vs3CIAQI_yrm5rtdvRGk4r-PzYAuxt3LWub6qIceFgz-9ZnpDHl3ZxB5EdexVfEW8FOCPWtJOdXUMlvMcAlj-VZsKTHqOE8oNiXoTDH0pKG_xpMT8yxqBlhqlnxYJgUXosatclyKt6owrZVI4x_m8R5gtF35r9lybdLXsvns5M3qfhuAmauqNRuceGhmEV7AmKUZiFaW9Lofx7RfS9h4Gw93_DhYch1KYQTU_-JtqZXt8tO3iHtDOUjVniFmSA/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" target="_blank">
http://www.massgeneralbrigham.org/complianceline</a> . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at <a href="http://www.massgeneralbrigham.org/complianceline" target="_blank">http://www.massgeneralbrigham.org/complianceline</a> . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.</div></div>

</blockquote></div>