Troubles with install ojs 3.1.2

Hello,

I can’t install ojs 3.1.2.
php 7.1.29
Apache / 2.4.39
MySQL 5.7.26

When I click the “Install Open Journal Systems” button, I see loading animation, but nothing else happens, there are no errors, page not reloading.

php_error.log:

[27-May-2019 07:16:43 UTC] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in C:\wamp64\www\ojstest312\lib\pkp\pages\install\InstallHandler.inc.php on line 0
[27-May-2019 07:16:43 UTC] PHP Stack trace:
[27-May-2019 07:16:43 UTC] PHP 1. {main}() C:\wamp64\www\ojstest312\index.php:0
[27-May-2019 07:16:43 UTC] PHP 2. Application->execute() C:\wamp64\www\ojstest312\index.php:68
[27-May-2019 07:16:43 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\ojstest312\lib\pkp\classes\core\PKPApplication.inc.php:252
[27-May-2019 07:16:43 UTC] PHP 4. PageRouter->route() C:\wamp64\www\ojstest312\lib\pkp\classes\core\Dispatcher.inc.php:134
[27-May-2019 07:16:43 UTC] PHP 5. require() C:\wamp64\www\ojstest312\lib\pkp\classes\core\PKPPageRouter.inc.php:190
[27-May-2019 07:16:43 UTC] PHP 6. import() C:\wamp64\www\ojstest312\lib\pkp\pages\install\index.php:25
[27-May-2019 07:16:43 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in C:\wamp64\www\ojstest312\lib\pkp\classes\form\Form.inc.php on line 377
[27-May-2019 07:16:43 UTC] PHP Stack trace:
[27-May-2019 07:16:43 UTC] PHP 1. {main}() C:\wamp64\www\ojstest312\index.php:0
[27-May-2019 07:16:43 UTC] PHP 2. Application->execute() C:\wamp64\www\ojstest312\index.php:68
[27-May-2019 07:16:43 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\ojstest312\lib\pkp\classes\core\PKPApplication.inc.php:252
[27-May-2019 07:16:43 UTC] PHP 4. PageRouter->route() C:\wamp64\www\ojstest312\lib\pkp\classes\core\Dispatcher.inc.php:134
[27-May-2019 07:16:43 UTC] PHP 5. PageRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\ojstest312\lib\pkp\classes\core\PKPPageRouter.inc.php:231
[27-May-2019 07:16:43 UTC] PHP 6. InstallHandler->install() C:\wamp64\www\ojstest312\lib\pkp\classes\core\PKPRouter.inc.php:390
[27-May-2019 07:16:43 UTC] PHP 7. InstallForm->readInputData() C:\wamp64\www\ojstest312\lib\pkp\pages\install\InstallHandler.inc.php:64
[27-May-2019 07:16:43 UTC] PHP 8. InstallForm->readUserVars() C:\wamp64\www\ojstest312\lib\pkp\classes\install\form\InstallForm.inc.php:163
[27-May-2019 07:16:43 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in C:\wamp64\www\ojstest312\lib\pkp\classes\core\PKPRequest.inc.php on line 594

What could be the problem? How i can fix that?
Help please, tried many options - nothing helps.

Hi @Flickq

Those are warnings, and are just cosmetic. There should be a “fatal error” in there some place if the installation isn’t working.

Are you getting a blank page? Just a spinner? Are your directory permissions set correctly?

Cheers,
Jason

No, the page remains the same, without reloading or transition, all form data is saved.

Interesting. Have you tried the PHP command line interface for installing OJS? There’s a script in the tools/ directory that can be run with:

php tools/install.php

That might provide more information.

Cheers,

Amazing!

OJS is installed, without any problems, using command line

Thank you very much!

1 Like

glad it worked out!

Cheers,
Jason