[Loris-dev] blank page after login
Ioannis Pappas
ioannis at berkeley.edu
Thu Feb 6 20:08:24 EST 2020
Hi Ling and Rida.
Apologies for the late reply.
[ioannis at loris ~]$ rpm -q httpd
httpd-2.4.6-90.el7.centos.x86_64
Also
[ioannis at loris ~]$ mysql -V
mysql Ver 15.1 Distrib 10.3.20-MariaDB, for Linux (x86_64) using readline
5.1
I think I have loris version 21. What's the best way for me to look at
the version?
These are my two tables:
MariaDB [loris_database]> SELECT * FROM psc;
+----------+----------+---------+---------+------+---------+------+--------+--------+----------+----------+-------+-----------+---------+------------+
| CenterID | Name | PSCArea | Address | City | StateID | ZIP | Phone1
| Phone2 | Contact1 | Contact2 | Alias | MRI_alias | Account | Study_site |
+----------+----------+---------+---------+------+---------+------+--------+--------+----------+----------+-------+-----------+---------+------------+
| 1 | MT | NULL | NULL | NULL | NULL | NULL | NULL | NULL
| NULL | NULL | MT | MT | NULL | Y |
| 2 | BC | NULL | NULL | NULL | NULL | NULL | NULL | NULL
| NULL | NULL | BR | BR | NULL | Y |
+----------+----------+---------+---------+------+---------+------+--------+--------+----------+----------+-------+-----------+---------+------------+
2 rows in set (0.028 sec)
MariaDB [loris_database]> SELECT * FROM user_psc_rel;
+--------+----------+
| UserID | CenterID |
+--------+----------+
| 2 | 1 |
+--------+----------+
1 row in set (0.000 sec)
I might have done something wrong here. The user is not associated with the
center id?
Best wishes,
Ioannis
On Thu, Feb 6, 2020 at 4:49 PM Ling Ma <lingyun.ma at mcin.ca> wrote:
> Hi Ioannis,
>
> I just guess that you are using version 21. also guess that the reason
> could be that you have no psc associated with the user, you need to check
> tables* psc, user_psc_rel* to see if the user has a psc record.
>
> Best regards,
> Ling Ma
> Consultant
>
> On Thu, Feb 6, 2020 at 7:26 PM Rida Abou-Haidar <rida.abou-haidar at mcin.ca>
> wrote:
>
>> Hi Ioannis,
>>
>> Could you tell us which version of LORIS you are currently using and your
>> PHP and MySQL versions as well please?
>>
>> Did you recently upgrade any of those? what might have caused a
>> difference from last month to this month ?
>>
>> Best,
>> Rida Abou-Haidar
>> Software Developer
>> Montreal Neurological Institute
>> McGill University
>> rida.abou-haidar at mcin.ca
>>
>>
>> On Thu, Feb 6, 2020 at 7:08 PM Ioannis Pappas <ioannis at berkeley.edu>
>> wrote:
>>
>>> Hi loris support.
>>>
>>> I hope you are well. I would like to report a problem with respect to
>>> signing in to the loris front-end. Despite signing in normally a month ago,
>>> we are now getting a "blank" white page after logging in.
>>>
>>> Below are the logs from /var/log/httpd/loris-error.log:
>>>
>>> [Thu Feb 06 14:36:20.838065 2020] [php7:notice] [pid 7015] [client
>>> 10.0.2.4:55302] PHP Notice: Undefined variable: isStudySite in
>>> /srv/www/loris/src/Middleware/UserPageDecorationMiddleware.php on line 130,
>>> referer: http://loris/
>>> [Thu Feb 06 14:36:20.838108 2020] [php7:warn] [pid 7015] [client
>>> 10.0.2.4:55302] PHP Warning: in_array() expects parameter 2 to be
>>> array, null given in
>>> /srv/www/loris/src/Middleware/UserPageDecorationMiddleware.php on line 130,
>>> referer: http://loris/
>>> [Thu Feb 06 14:36:20.838469 2020] [php7:error] [pid 7015] [client
>>> 10.0.2.4:55302] PHP Fatal error: Uncaught TypeError: explode() expects
>>> parameter 2 to be string, null given in
>>> /srv/www/loris/php/libraries/User.class.inc:272\nStack trace:\n#0
>>> /srv/www/loris/php/libraries/User.class.inc(272): explode(';', NULL)\n#1
>>> /srv/www/loris/modules/dashboard/php/dashboard.class.inc(40):
>>> User->getSiteNames()\n#2
>>> /srv/www/loris/php/libraries/NDB_Form.class.inc(188):
>>> LORIS\\dashboard\\Dashboard->setup()\n#3
>>> /srv/www/loris/src/Middleware/UserPageDecorationMiddleware.php(171):
>>> NDB_Form->handle(Object(Zend\\Diactoros\\ServerRequest))\n#4
>>> /srv/www/loris/src/Middleware/PageDecorationMiddleware.php(49):
>>> LORIS\\Middleware\\UserPageDecorationMiddleware->process(Object(Zend\\Diactoros\\ServerRequest),
>>> Object(LORIS\\dashboard\\Dashboard))\n#5
>>> /srv/www/loris/php/libraries/NDB_Page.class.inc(659):
>>> LORIS\\Middleware\\PageDecorationMiddleware->process(Object(Zend\\Diactoros\\ServerRequest),
>>> Object(LORIS\\dashboard\\Dashboard))\n#6
>>> /srv/www/loris/php/libraries/Module.class.inc(341):
>>> NDB_Page->process(Object(Zend\\Diactoros\\ServerRequest),
>>> Object(LORIS\\dashboar in /srv/www/loris/php/libraries/User.class.inc on
>>> line 272, referer: http://loris/
>>>
>>> We would appreciate any help with this.
>>>
>>> Best wishes,
>>> Ioannis
>>> _______________________________________________
>>> Loris-dev mailing list
>>> Loris-dev at bic.mni.mcgill.ca
>>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>>
>> _______________________________________________
>> 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/20200206/47d9fb09/attachment.html>
More information about the Loris-dev
mailing list