<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Shen,
<div class=""><br class="">
</div>
<div class="">Thank you! The server is now running but now there is another error. I will send a separate email for that.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Alfredo.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 25, 2021, at 3:05 PM, Shen Wang <<a href="mailto:wangshen.mcin@gmail.com" class="">wangshen.mcin@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<p style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="padding: 3px 10px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; color: rgb(255, 255, 255); font-weight: bold; display: inline-block; background-color: rgb(255, 0, 0);" class=""> External
Email - Use Caution </span></p>
<div style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="webkit-block-placeholder">
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Hi Alfredo,
<div class="">After you upgrade the PHP version, you need to upgrade some libraries to support the new PHP version as well.</div>
<div class="">
<ol class="gmail-ol1">
<li class="gmail-li1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.6px; line-height: normal; font-family: Menlo; color: rgb(27, 31, 34);">
<span class="gmail-s1"></span><span class="gmail-s2" style="-webkit-font-kerning: none;">sudo apt-get install -y php7.3 php7.3-mysql php7.3-xml php7.3-json php7.3-mbstring php7.3-gd php-ast</span></li><li class="gmail-li1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.6px; line-height: normal; font-family: Menlo; color: rgb(27, 31, 34);">
sudo apt-get install -y libapache2-mod-php7.3<br class="">
<span class="gmail-s3"></span></li><li class="gmail-li1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.6px; line-height: normal; font-family: Menlo; color: rgb(27, 31, 34);">
<span class="gmail-s3"></span><span class="gmail-s2" style="-webkit-font-kerning: none;">sudo a2enmod php7.3</span></li><li class="gmail-li2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.6px; line-height: normal; font-family: Menlo; color: rgb(27, 31, 34);">
<span class="gmail-s4" style="-webkit-font-kerning: none;">sudo service apache2 restart</span></li></ol>
</div>
<div class="">I hope these steps will help you. </div>
<div class="">best </div>
<div class="">Shen</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div class="gmail_quote" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div dir="ltr" class="gmail_attr">On Mon, 25 Jan 2021 at 14:52, Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" class="">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
Dear LorisDev team,<br class="">
<br class="">
I upgraded the PHP version for apache from 7.2.28 to 7.3.26 in order to avoid errors with trailing-comma in functions. Now that it's upgraded I am getting the following error:<br class="">
<br class="">
===<br class="">
[Sun Jan 24 09:43:47.375992 2021] [php7:notice] [pid 26182] [client<span class="Apple-converted-space"> </span><a href="http://secure-web.cisco.com/1UjSOsmd8vfrUMJGLGOs1SttJi4Mcw935GCtG3z6xaFSFBQuuq3mlJgdLs5QIzzI41CV3kMqH4e-Lb03o675ZBUnttI8Qnyf_CK4GsvCwpKCfe1ZVDxPMEKMlik2isuTa_UvmQNKEAGT9w_kyPScVOlxq1h581hweyic6-Tl97VbN9NOWyBLDdsEpsmmoPpVbXfYNr_8v2lxtyrxwv9Qia7AAi-RKKkej4xd3VNjd7Jsv-J-qMykQIeE9pXUuI5K8KsAj7sPY7E-4qzvUWmDprA/http%3A%2F%2F216.15.126.108%3A50170" rel="noreferrer" target="_blank" class="">216.15.126.108:50170</a>]
Could not execute . Stack trace#0 /var/www/loris/php/libraries/Database.class.inc(106): Database->connect('AAA', 'BBB', 'CCC', '111.111.111.11', true)\n#1 /var/www/loris/php/libraries/NDB_Client.class.inc(66): Database::singleton('AAA', 'BBB', 'CCC', '111.111.111.11',
true)\n#2 /var/www/loris/htdocs/index.php(27): NDB_Client->initialize()\n#3 {main}<br class="">
<br class="">
[Sun Jan 24 09:43:47.376142 2021] [php7:error] [pid 26182] [client<span class="Apple-converted-space"> </span><a href="http://secure-web.cisco.com/1UjSOsmd8vfrUMJGLGOs1SttJi4Mcw935GCtG3z6xaFSFBQuuq3mlJgdLs5QIzzI41CV3kMqH4e-Lb03o675ZBUnttI8Qnyf_CK4GsvCwpKCfe1ZVDxPMEKMlik2isuTa_UvmQNKEAGT9w_kyPScVOlxq1h581hweyic6-Tl97VbN9NOWyBLDdsEpsmmoPpVbXfYNr_8v2lxtyrxwv9Qia7AAi-RKKkej4xd3VNjd7Jsv-J-qMykQIeE9pXUuI5K8KsAj7sPY7E-4qzvUWmDprA/http%3A%2F%2F216.15.126.108%3A50170" rel="noreferrer" target="_blank" class="">216.15.126.108:50170</a>]
PHP Fatal error: Uncaught DatabaseException: Could not establish a PDO object using the following values: username: `AAA`, dbname: `BBB`, host: `111.111.111.11` and the supplied password. in /var/www/loris/php/libraries/Database.class.inc:173\nStack trace:\n#0
/var/www/loris/php/libraries/Database.class.inc(106): Database->connect('AAA', 'BBB', 'CCC', '111.111.111.11', true)\n#1 /var/www/loris/php/libraries/NDB_Client.class.inc(66): Database::singleton('AAA', 'BBB', 'CCC', '111.111.111.11', true)\n#2 /var/www/loris/htdocs/index.php(27):
NDB_Client->initialize()\n#3 {main}\n thrown in /var/www/loris/php/libraries/Database.class.inc on line 173<br class="">
Merge state<br class="">
===<span class="Apple-converted-space"> </span><br class="">
<br class="">
I manually tested the connection from the LORIS server to the server hosting the database and it works. Do you have ideas on how to solve this issue? Maybe I’m missing some updates?<br class="">
<br class="">
I am running Ubuntu Xenial 16.04.4 and LORIS is in version 22.0.0.<br class="">
<br class="">
Best,<br class="">
Alfredo.<br class="">
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 class="Apple-converted-space"> </span><a href="http://secure-web.cisco.com/1ShBbs6bQqKtVnNwH3G5kiDiwej3XK8oQlimnNYkHAmHi-ha4VOJc6XXukG63yZT4Exm-bSWzGiDxjJdXOaScDFJJ9cLSHsmYLi-E-DTIE-3ll8lnrrFxXYUoxLQ6FLJAo7Zr9rdsgqSpM9TrpIIezpQeCRnJrw3uOL0kqr0TyQawPsOFzbzO3GK-5klOfLbqakNVmowDM3c9AyeXKWnMPl5ROHBS13MdGQ8QWyhQhjxmFhB8NFOEiUR24Q08_EqXBYyCfR-MVM1smMHU66DglQ/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" rel="noreferrer" target="_blank" class="">http://www.massgeneralbrigham.org/complianceline</a><span class="Apple-converted-space"> </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.<br class="">
<br class="">
_______________________________________________<br class="">
Loris-dev mailing list<br class="">
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank" class="">Loris-dev@bic.mni.mcgill.ca</a><br class="">
<a href="https://secure-web.cisco.com/11QUaUk_5r7wQh2pjLb_kHMXyPf4I5wJiiTFT_XgExPAttkuX5wvV8vy-P0p_85PaziRPG1Oe0VmfSBS2XA1dkRVGU7wha1nVNarSnMr2kWfuqi8Azcco4uFBJ2EVMq1nZJ6MI4iCuKdCspb6iSgnE27bAZ7-deYTRKvWgczFuq8sor8JVwnwyraIUcv7K51s4MsTPzpo8fxN6l9pJFv9pfBAeXqmoCmOy4C7YWYTDOcQzODN-4b6TLY55Kdd6dJJ1w6iL-N0PpsYfxrVqEocsw/https%3A%2F%2Fmailman.bic.mni.mcgill.ca%2Fmailman%2Flistinfo%2Floris-dev" rel="noreferrer" target="_blank" class="">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br class="">
</blockquote>
</div>
<br clear="all" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<span style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div dir="ltr" class="gmail_signature" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div dir="ltr" class="">
<div style="font-size: 13px; color: rgb(136, 136, 136);" class="">Shen Wang<br class="">
</div>
<div style="color: rgb(136, 136, 136);" class=""><font size="2" class=""><a href="https://secure-web.cisco.com/17HmP_xcOrCQjajU81PhFrE-TpN_ZvEny637YcXO5c_o--DPEB522yEoych4O3XG-PSAL8cGNNMRdYBo3L8w_bpxKFrQSRzHZFsZWFvp_qq5BpJ3UJN8pUq_EKedTug5KcdnsEkzneAiNgJ0QIqxbKgDBuVThQ-F9Xu3WeEjgTIs26tUU9kKuhVTMi8h0KTVyZD3yrMz-UO9qPdLWOWs-zICM0Vm21wYBnnFVEfWDgjNfe2315nSgGxNBjFKeEs5D4VF8SB3YFigNP2O_pPNbKg/https%3A%2F%2Fgithub.com%2Faces%2FLoris" target="_blank" class="">Loris</a>
Developer</font></div>
<div style="font-size: 13px; color: rgb(136, 136, 136);" class="">Montreal Neurological Institute </div>
<div style="font-size: 13px; color: rgb(136, 136, 136);" class="">McGill University</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</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 http://www.massgeneralbrigham.org/complianceline . 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></body>
</html>