<div dir="ltr"><div>About << PHP Fatal error: Uncaught ConfigurationException: Config file config.xml does not exist in the defined locations. in /var/www/loris/php/libraries/NDB_Config.class.inc:139>></div><div><br></div><div>i checked that the variable $file outputs a valid path and that file_exists was failing for some reason. The permissions of the project folder were<br></div><div><br></div><div>drwxrwx---and since there was no permissions for the other group and that must be the reasion why file_exists failed.<br></div><div><br></div><div><br></div><div><div><img src="cid:ii_k04h5jop2" alt="image.png" width="480" height="389"><br></div></div><div><br></div><div><br></div><div>I changed the permissions to <br><div><br></div><div>lorisadmin@loris-VirtualBox:/var/www/loris$ chmod 775 project</div><div><br></div><div>and the web interface worked.<br></div></div><div><br></div><div>As for the execution of make i attached the npm-debug and i am getting 404 errors for the js's components.<br></div><div><br></div><div>127.0.0.1 - - [04/Sep/2019:03:41:20 +0300] "GET /js/components/Form.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:20 +0300] "GET /js/components/Markdown.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:20 +0300] "GET /js/components/StaticDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:20 +0300] "GET /js/components/DynamicDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /dicom_archive/js/dicom_archive.js HTTP/1.1" 404 31039 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /js/components/Form.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /js/components/Markdown.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /js/components/PaginationLinks.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /js/components/StaticDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /js/components/DynamicDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:21 +0300] "GET /dicom_archive/js/dicom_archive.js HTTP/1.1" 404 31039 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /imaging_browser/ HTTP/1.1" 200 4010 "<a href="http://localhost/dicom_archive/">http://localhost/dicom_archive/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /js/components/Breadcrumbs.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /js/components/Form.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /js/components/PaginationLinks.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /js/components/Markdown.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /js/components/DynamicDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /js/components/StaticDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:22 +0300] "GET /imaging_browser/js/imagingBrowserIndex.js HTTP/1.1" 404 31053 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /imaging_browser/css/imaging_browser.css HTTP/1.1" 200 1147 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /js/components/Form.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /js/components/Markdown.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /js/components/PaginationLinks.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /js/components/StaticDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /js/components/DynamicDataTable.js HTTP/1.1" 404 30317 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>127.0.0.1 - - [04/Sep/2019:03:41:23 +0300] "GET /imaging_browser/js/imagingBrowserIndex.js HTTP/1.1" 404 31053 "<a href="http://localhost/imaging_browser/">http://localhost/imaging_browser/</a>" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"<br>::1 - - [04/Sep/2019:03:41:29 +0300] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.18 (Ubuntu) (internal dummy connection)"<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Τρί, 3 Σεπ 2019 στις 10:02 μ.μ., ο/η Sotirios Nikoloutsopoulos <<a href="mailto:sotirisnik@gmail.com" target="_blank">sotirisnik@gmail.com</a>> έγραψε:<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 dir="auto">Actually the current config.xml is the one from the output of the browser.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 3 Sep 2019, 21:57 Shen Wang, <<a href="mailto:wangshen.mcin@gmail.com" target="_blank">wangshen.mcin@gmail.com</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 dir="ltr"><div>Hi, </div><div>you need to make a config.xml manually.</div><div>Step 1: go to project folder. cd /var/www/loris/project;</div><div>Step 2: touch config.xml;</div><div>Step 3: paste all the xml content to config.xml file.</div><div>then reload the localhost page.</div><div>It should work.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Sotirios Nikoloutsopoulos <<a href="mailto:sotirisnik@gmail.com" rel="noreferrer" target="_blank">sotirisnik@gmail.com</a>>于2019年9月3日 周二下午2:39写道:<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 dir="ltr"><div>I tried to change the permissions but afterwards i got the previous error again that was reporting that could not find the the config.xml, although now the config.xml exists ... I also execute <br><div>
<span></span><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u> sudo
chown -</u></code><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u>R </u></code><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u>lorisadmin.lorisadmin
/var/www/</u></code><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u>l</u></code><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u>oris</u></code></div><div><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u><br></u></code></div><div><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-western"><u>to reverse what i did but it didn't work.<br></u></code></div></div><div><br></div><div>[Tue Sep 03 21:32:56.993915 2019] [php7:error] [pid 5819] [client <a href="http://127.0.0.1:40460" rel="noreferrer" target="_blank">127.0.0.1:40460</a>] PHP Fatal error: Uncaught ConfigurationException: Config file config.xml does not exist in the defined locations. in /var/www/loris/php/libraries/NDB_Config.class.inc:139\nStack trace:\n#0 /var/www/loris/php/libraries/NDB_Config.class.inc(66): NDB_Config->configFilePath()\n#1 /var/www/loris/php/libraries/NDB_Factory.class.inc(118): NDB_Config::singleton(NULL)\n#2 /var/www/loris/php/libraries/NDB_Client.class.inc(54): NDB_Factory->config(NULL)\n#3 /var/www/loris/htdocs/index.php(27): NDB_Client->initialize()\n#4 {main}\n thrown in /var/www/loris/php/libraries/NDB_Config.class.inc on line 139</div><div><br></div><div><div><img src="cid:ii_k046c8c90" alt="image.png" style="width: 667px; max-width: 100%;"></div><br></div><div>Lastly i tried to re-create the config.xml using the installdb.php but now it couldn't write to the directory.<br></div><div><br></div><div><div><img src="cid:ii_k046f88j1" alt="image.png" style="width: 667px; max-width: 100%;"><br></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Τρί, 3 Σεπ 2019 στις 4:20 μ.μ., ο/η Sotirios Nikoloutsopoulos <<a href="mailto:sotirisnik@gmail.com" rel="noreferrer" target="_blank">sotirisnik@gmail.com</a>> έγραψε:<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 dir="ltr"><div>It seems that the links's point is correct. And yes i only runned composer not the makefile.<br></div><div><br></div><div>lorisadmin@loris-VirtualBox:/var/www/loris/htdocs$ ls -l</div>total 116<br>drwxr-xr-x 2 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 acknowledgements<br>-rw-r--r-- 1 lorisadmin lorisadmin 3217 Ιούλ 23 20:37 AjaxHelper.php<br>drwxr-xr-x 4 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 api<br>drwxr-xr-x 5 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 bootstrap<br>drwxr-xr-x 4 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 css<br>-rw-r--r-- 1 lorisadmin lorisadmin 7730 Ιούλ 23 20:37 direct.css<br>-rw-r--r-- 1 lorisadmin lorisadmin 5361 Ιούλ 23 20:37 feedback_mri_popup.php<br>lrwxrwxrwx 1 lorisadmin lorisadmin 48 Αύγ 31 02:17 fontawesome -> ./../node_modules/@fortawesome/fontawesome-free/<br>drwxr-xr-x 2 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 images<br>-rw-r--r-- 1 lorisadmin lorisadmin 2040 Ιούλ 23 20:37 index.php<br>-rw-r--r-- 1 lorisadmin lorisadmin 8311 Ιούλ 23 20:37 installdb.php<br>drwxr-xr-x 11 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 js<br>-rw-r--r-- 1 lorisadmin lorisadmin 12640 Ιούλ 23 20:37 main.css<br>-rw-r--r-- 1 lorisadmin lorisadmin 9189 Ιούλ 23 20:37 main.php<br>drwxr-xr-x 3 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 mri<br>-rw-r--r-- 1 lorisadmin lorisadmin 2532 Ιούλ 23 20:37 postdeploy.php<br>-rw-r--r-- 1 lorisadmin lorisadmin 2293 Ιούλ 23 20:37 router.php<br>-rw-r--r-- 1 lorisadmin lorisadmin 12131 Ιούλ 23 20:37 survey.php<br>drwxr-xr-x 4 lorisadmin lorisadmin 4096 Ιούλ 23 20:37 vendor<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Τρί, 3 Σεπ 2019 στις 3:48 μ.μ., ο/η Christine Rogers, Ms. <<a href="mailto:christine.rogers@mcgill.ca" rel="noreferrer" target="_blank">christine.rogers@mcgill.ca</a>> έγραψε:<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>
<div dir="ltr">Hi Sotirios,
<div>You've got your LORIS up and running, and are running into font library issues? great. </div>
<div><br>
</div>
<div>The symlink under htdocs/ for fontawesome is supposed to point to: <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre-wrap">./../node_modules/@fortawesome/fontawesome-free/</span></div>
<div>(see: <a href="https://github.com/aces/Loris/blob/21.0-release/htdocs/fontawesome" rel="noreferrer" target="_blank">https://github.com/aces/Loris/blob/21.0-release/htdocs/fontawesome</a> )</div>
<div>This sounds like it may be a permissions issue, or with your node modules. </div>
<div>Can you give us more specifics on the permissions in your htdocs directory and if any other links or packages look funny? <br>
</div>
<div><br>
</div>
<div>You have run composer commands but not the makefile, is that correct? </div>
<div><br>
</div>
<div>
<div>Note we have an even <a href="https://github.com/aces/Loris/releases" rel="noreferrer" target="_blank">newer stable release out already: 21.0.1</a> </div>
</div>
<div>
<div>
<div><br>
</div>
</div>
</div>
<div>Best,</div>
<div>Christine </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019 at 8:09 AM Sotirios Nikoloutsopoulos <<a href="mailto:sotirisnik@gmail.com" rel="noreferrer" target="_blank">sotirisnik@gmail.com</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 dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>i didn't remember that config.xml was being created during the execution of installdb.php. Now am i getting white content on the pages only because fontawesome is missing? Was that part of the composer install? because i hadn't such error.</div>
<div><br>
</div>
<div>Thanks<br>
</div>
<div><br>
</div>
<div>[Tue Sep 03 15:01:35.265016 2019] [core:error] [pid 32545] [client <a href="http://127.0.0.1:44206" rel="noreferrer" target="_blank">
127.0.0.1:44206</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/" rel="noreferrer" target="_blank">http://localhost/</a><br>
[Tue Sep 03 15:01:43.036540 2019] [core:error] [pid 32674] [client <a href="http://127.0.0.1:44218" rel="noreferrer" target="_blank">
127.0.0.1:44218</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/imaging_browser/" rel="noreferrer" target="_blank">http://localhost/imaging_browser/</a><br>
[Tue Sep 03 15:01:45.528635 2019] [core:error] [pid 405] [client <a href="http://127.0.0.1:44224" rel="noreferrer" target="_blank">
127.0.0.1:44224</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/imaging_uploader/" rel="noreferrer" target="_blank">http://localhost/imaging_uploader/</a><br>
[Tue Sep 03 15:01:50.143756 2019] [core:error] [pid 405] [client <a href="http://127.0.0.1:44224" rel="noreferrer" target="_blank">
127.0.0.1:44224</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/examiner/" rel="noreferrer" target="_blank">http://localhost/examiner/</a><br>
[Tue Sep 03 15:01:52.938614 2019] [core:error] [pid 405] [client <a href="http://127.0.0.1:44224" rel="noreferrer" target="_blank">
127.0.0.1:44224</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/conflict_resolver/" rel="noreferrer" target="_blank">http://localhost/conflict_resolver/</a><br>
[Tue Sep 03 15:01:57.802263 2019] [core:error] [pid 405] [client <a href="http://127.0.0.1:44224" rel="noreferrer" target="_blank">
127.0.0.1:44224</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/imaging_browser/" rel="noreferrer" target="_blank">http://localhost/imaging_browser/</a><br>
[Tue Sep 03 15:02:00.203105 2019] [core:error] [pid 405] [client <a href="http://127.0.0.1:44224" rel="noreferrer" target="_blank">
127.0.0.1:44224</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/dicom_archive/" rel="noreferrer" target="_blank">http://localhost/dicom_archive/</a><br>
[Tue Sep 03 15:02:03.390223 2019] [core:error] [pid 405] [client <a href="http://127.0.0.1:44224" rel="noreferrer" target="_blank">
127.0.0.1:44224</a>] AH00037: Symbolic link not allowed or link target not accessible: /var/www/loris/htdocs/fontawesome, referer:
<a href="http://localhost/imaging_uploader/" rel="noreferrer" target="_blank">http://localhost/imaging_uploader/</a><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Στις Δευ, 2 Σεπ 2019 στις 10:16 μ.μ., ο/η Sotirios Nikoloutsopoulos <<a href="mailto:sotirisnik@gmail.com" rel="noreferrer" target="_blank">sotirisnik@gmail.com</a>> έγραψε:<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 dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>it there a solution for this?<br>
</div>
<div><a href="https://github.com/aces/Loris/issues/3313" rel="noreferrer" target="_blank">https://github.com/aces/Loris/issues/3313</a></div>
<div><br>
</div>
<div>I need to meet a deadline about Loris by the end of September.</div>
<div><br>
</div>
<div>Thanks<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Στις Κυρ, 1 Σεπ 2019 στις 10:19 μ.μ., ο/η Sotirios Nikoloutsopoulos <<a href="mailto:sotirisnik@gmail.com" rel="noreferrer" target="_blank">sotirisnik@gmail.com</a>> έγραψε:<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 dir="ltr"><span></span>
<pre class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western"><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">Hi,<br>based on this link <a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04" rel="noreferrer" target="_blank">https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04</a><br><br></code></pre>
<pre class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western"><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">i installed composer 1.9 with these following commands.<br></code></pre>
<pre class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western"><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western"><br>curl -sS <a href="https://getcomposer.org/installer" rel="noreferrer" target="_blank">https://getcomposer.org/installer</a> -o composer-setup.php</code></pre>
<pre class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western"><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">php -r "if (hash_file('SHA384', 'composer-setup.php') === '</code><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1</code><code class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"</code>
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer<br><br></pre>
<pre class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">And afterwards composer install <code>worked and the only warning i got at the end of the installation was<br></code><br><<phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)<br>Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.<br>Package phpunit/dbunit is abandoned, you should avoid using it. No replacement was suggested.>><br><br></pre>
<pre class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail-m_9127450282249715787gmail-m_4140546014618257760gmail-m_4704679493671931419gmail-western">And from the loris-error.log<br><br>[Sun Sep 01 22:18:03.479956 2019] [php7:error] [pid 15737] [client <a href="http://127.0.0.1:43560" rel="noreferrer" target="_blank">127.0.0.1:43560</a>] PHP Fatal error: Uncaught ConfigurationException: Config file config.xml does not exist in the defined locations. in /var/www/loris/php/libraries/NDB_Config.class.inc:139\nStack trace:\n#0 /var/www/loris/php/libraries/NDB_Config.class.inc(66): NDB_Config->configFilePath()\n#1 /var/www/loris/php/libraries/NDB_Factory.class.inc(118): NDB_Config::singleton(NULL)\n#2 /var/www/loris/php/libraries/NDB_Client.class.inc(54): NDB_Factory->config(NULL)\n#3 /var/www/loris/htdocs/index.php(27): NDB_Client->initialize()\n#4 {main}\n thrown in /var/www/loris/php/libraries/NDB_Config.class.inc on line 139<br></pre>
</div>
</blockquote>
</div>
</blockquote>
</div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" rel="noreferrer" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_-2291235164226093560gmail-m_5197713159466307979m_3884166623116440621m_2229747124541715436m_6462713059873248493gmail-m_-1528040513497827543gmail-m_1792207943816950752gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><br>
<a href="mailto:christine.rogers@mcgill.ca" rel="noreferrer" target="_blank">christine.rogers@mcgill.ca</a><br>
McGill Centre for Integrative Neuroscience | MCIN.ca</div>
<div>Montreal Neurological Institute</div>
<div>McGill University | Montreal | Canada</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>
</div>
</blockquote></div>
</blockquote></div>