<div dir="ltr"><div dir="ltr">Hello Aaron,<div><br></div><div>Thanks for reaching out. It appears that your config.xml is at the correct place, but that its syntax is wrong.</div><div>You can try this tool to check if there is any syntax problem in your config.xml: <a href="https://www.liquid-technologies.com/online-xml-validator">https://www.liquid-technologies.com/online-xml-validator</a></div><div>Also, here is a config.xml template you can use for comparison: <a href="https://github.com/aces/Loris/blob/main/raisinbread/config/config.xml">https://github.com/aces/Loris/blob/main/raisinbread/config/config.xml</a></div><div>Let us know if that solves your issue.</div><div><br></div></div><div>The Loris Team</div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 22, 2022 at 11:48 AM Aaron Chen <<a href="mailto:kchen339@wisc.edu">kchen339@wisc.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 class="msg3613027105603693591">
<div dir="ltr">
<div>Good morning,</div>
<div><br>
</div>
<div>Hope this email finds you well. Our team is trying to set up the LORIS system for research. It was working before but somehow, we aren't able to access the front-end. Below are some snips of errors from the loris-error.log under the /var/log/apache2/ directory.</div>
<div><br>
</div>
<blockquote style="border-color:rgb(200,200,200);border-left-width:3px;border-left-style:solid;padding-left:1ex;margin-left:0.8ex;color:rgb(102,102,102)">
<div> [Mon Nov 21 22:05:36.946133 2022] [php7:warn] [pid 495460] [client <a href="http://128.105.29.144:61741" target="_blank">128.105.29.144:61741</a>] PHP Warning: simplexml_load_file(): /var/www/loris/php/libraries/../../project/config.xml:69: parser error : Opening and ending tag mismatch: item line 69 and
tem in /var/www/loris/php/libraries/NDB_Config.class.inc on line 97</div>
<div> [Mon Nov 21 22:05:36.946178 2022] [php7:warn] [pid 495460] [client <a href="http://128.105.29.144:61741" target="_blank">128.105.29.144:61741</a>] PHP Warning: simplexml_load_file(): <item value="V2">V2 label description</tem> in /var/www/loris/php/libraries/NDB_Config.class.inc
on line 97</div>
<div> [Mon Nov 21 22:05:36.946190 2022] [php7:warn] [pid 495460] [client <a href="http://128.105.29.144:61741" target="_blank">128.105.29.144:61741</a>] PHP Warning: simplexml_load_file(): ^ in /var/www/loris/php/libraries/NDB_Config.class.inc on line 97</div>
<div> [Mon Nov 21 22:05:36.946239 2022] [php7:error] [pid 495460] [client <a href="http://128.105.29.144:61741" target="_blank">128.105.29.144:61741</a>] PHP Fatal error: Uncaught Exception: Could not load Loris config file /var/www/loris/php/libraries/../../project/config.xml in /var/www/loris/php/libraries/NDB_Config.class.inc:100</div>
<div> Stack trace:</div>
<div> #0 /var/www/loris/php/libraries/NDB_Config.class.inc(70): NDB_Config->load()</div>
<div> #1 /var/www/loris/php/libraries/NDB_Factory.class.inc(104): NDB_Config::singleton()</div>
<div> #2 /var/www/loris/php/libraries/NDB_Client.class.inc(54): NDB_Factory->config()</div>
<div> #3 /var/www/loris/htdocs/index.php(34): NDB_Client->initialize()</div>
<div> #4 {main}</div>
<div> thrown in /var/www/loris/php/libraries/NDB_Config.class.inc on line 100</div>
</blockquote>
<div>It seems like the path to the config.xml isn't correct. It should be /var/www/loris/php/libraries/project/config.xml, not /var/www/loris/php/libraries/../../project/config.xml. Where could I change the path?</div>
<div><br>
</div>
<div>Any help would be much appreciated.</div>
<div><br>
</div>
<div>Best,</div>
<div>Aaron Chen</div>
<br>
</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://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif"><font size="4">Laetitia Fesselier</font></font><br style="font-size:13px"><font color="#888888"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><font face="tahoma, sans-serif">LORIS Software Developer<br>Montreal Neurological Institute</font><div><font face="tahoma, sans-serif">McGill University</font></div><div><font face="tahoma, sans-serif"><a href="mailto:laetitia.fesselier@mcin.ca" target="_blank">laetitia.fesselier@mcin.ca</a></font></div></div></div></div></div></font></div></div></div></div>