Blank login page

Hi.
After installing OJS (ojs-3.1.1-2) I visited the site but did not see the field a login / password.

%D0%97%D0%BD%D1%8F%D1%82%D0%BE%D0%BA%20%D0%B5%D0%BA%D1%80%D0%B0%D0%BD%D1%83%20%D0%B7%202018-07-09%2023-16-54

My site (temporary page for testing) - http://zbroya.velizariy.kiev.ua/index.php/index/login

Anyone encountered this before?
Thanks.

Hi @Velizariy,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

[Tue Jul 10 09:32:01 2018] [warn] [client 37.73.159.169] mod_fcgid: stderr: PHP Fatal error: Class ‘HTMLPurifier_Strategy_RemoveForeignElements’ not found in /sata2/home/users/velizari/www/zbroya.velizariy.kiev.ua/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php on line 10, referer: http://zbroya.velizariy.kiev.ua/index.php/index/index
[Tue Jul 10 10:24:02 2018] [warn] [client 194.44.31.70] mod_fcgid: stderr: PHP Fatal error: Class ‘HTMLPurifier_Strategy_RemoveForeignElements’ not found in /sata2/home/users/velizari/www/zbroya.velizariy.kiev.ua/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php on line 10
[Tue Jul 10 10:24:15 2018] [warn] [client 194.44.31.70] mod_fcgid: stderr: PHP Fatal error: Class ‘HTMLPurifier_Strategy_RemoveForeignElements’ not found in /sata2/home/users/velizari/www/zbroya.velizariy.kiev.ua/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php on line 10

Hi @Velizariy,

I suspect some of your installation files are missing (particularly lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/RemoveForeignElements.php).

Regards,
Alec Smecher
Public Knowledge Project Team

Yes, but the archive does not even have “Strategy” folder. :frowning:

%D0%97%D0%BD%D1%8F%D1%82%D0%BE%D0%BA%20%D0%B5%D0%BA%D1%80%D0%B0%D0%BD%D1%83%20%D0%B7%202018-07-10%2020-32-22

Hi @Velizariy,

Are you sure your .tar.gz download was complete? I see it in my copy.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi asmecher,
I downloaded the archive again from: https://pkp.sfu.ca/ojs/ojs_download/
http://pkp.sfu.ca/ojs/download/ojs-3.1.1-2.tar.gz
And open it:
%D0%97%D0%BD%D1%8F%D1%82%D0%BE%D0%BA%20%D0%B5%D0%BA%D1%80%D0%B0%D0%BD%D1%83%20%D0%B7%202018-07-10%2021-37-21

It seems that I missed something and I just can not understand what it is. I feel stupid.

Hi @Velizariy,

I’m not sure what’s happening there – maybe something is going wrong with your archive tool? I see it in a fresh download of the same file:

# wget -O - -q http://pkp.sfu.ca/ojs/download/ojs-3.1.1-2.tar.gz | tar tz | fgrep RemoveForeignElements.php
ojs-3.1.1-2/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/RemoveForeignElements.php

Regards,
Alec Smecher
Public Knowledge Project Team

I’m a fool.
Path is too long and I missed several directories. :slight_smile:
There really was an error when unzipping - I updated the files.
And a new error log.
PHP Fatal error: Class ‘HTMLPurifier_DefinitionCache_Decorator_Cleanup’ not found in /sata2/home/users/velizari/www/zbroya.velizariy.kiev.ua/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php on line 100, referer: http://zbroya.velizariy.kiev.ua/index.php/index/login

Hi @Velizariy,

I think you’re still missing some files. See e.g. lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php.

Regards,
Alec Smecher
Public Knowledge Project Team

It turned out that the server when unpacking archives damaged some files. Has earned.
Thank you for your help and sorry for stupid questions.:innocent: