Instalation OJS Version 3.1.2.1 on Ovh Hosting

Hi,

I am trying to install OJS on OVH Hosting. While submitting installation form the site is redirecting me again to installation form without any message. Any cluse what may be the reason?

Best regards
Abdel

check the file and folder permission on the first stage of installation, on file config.inc.php must be writeable

In OVH hosting all directories / files are writeable by Apache by default.

There may be the problem with upload file path though. I am no sure how to set it relative to the installation directory (e.g. as subdirectory protect by .htaccess)

To use a relative path to your files_dir, enter a path like ā€œā€¦/filesā€ (if the files are in a ā€œfilesā€ directory above the OJS installation) or ā€œfilesā€ if the files are in a folder within the OJS installation (but be sure to prevent web exposure of this directory within the OJS installation).

Have you checked your PHP error log for any relevant messages which might indicate why you are seeing the install page again?

No PHP errors.

I have tried it on another server and the installer is not working there either. (same results, the installer page reloads without any message).

There are several other similar reports which have gone unresolved, save for using a different host:

Can you share a screenshot of the install page which comes back after submitting the form? We can try to find some common theme between these, perhaps in the submitted data.

The page shows ā€œLoadingā€¦ā€ at the top for very short period.

Screens of install form attached below.

4 3 2 1

Simillary I can see some warnings:

[Fri Jul 26 04:50:10.275753 2019] [proxy_fcgi:error] [pid 20338] [client 5.173.234.200:53528] AH01071: Got error ā€˜PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/mage.pl/czasopisma.mage.pl/cache/t_compile/e8ea13aa559bf8604ca823015b397a28d8666486^28682bb3d6b6e750ebd3d458abc8f92b4da9ea9f_0.app.headerusernav.tpl.php on line 136ā€™, referer: http://czasopisma.mage.pl/index.php/index/install/install
[Fri Jul 26 04:54:23.471868 2019] [proxy_fcgi:error] [pid 20335] [client 5.173.234.200:53700] AH01071: Got error ā€˜PHP message: PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/pages/install/InstallHandler.inc.php on line 0PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/Form.inc.php on line 377PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 594PHP message: PHP Deprecated: Non-static method PKPRequest::isPost() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/form/validation/FormValidatorPost.inc.php on line 38PHP message: PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/vhosts/mage.pl/czasopisma.mage.pl/lib/pkp/classes/core/PKPRequest.inc.php on line 396ā€™, referer: http://czasopisma.mage.pl/index.php/index/install/install
[Fri Jul 26 04:54:23.970726 2019] [proxy_fcgi:error] [pid 20370] [client 5.173.234.200:53702] AH01071: Got error ā€˜PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/mage.pl/czasopisma.mage.pl/cache/t_compile/e8ea13aa559bf8604ca823015b397a28d8666486^28682bb3d6b6e750ebd3d458abc8f92b4da9ea9f_0.app.headerusernav.tpl.php on line 136ā€™, referer: http://czasopisma.mage.pl/index.php/index/install/install

You havenā€™t fully obscured the password in the post above. Please discard that password for any current and future use.

A couple of thoughts on your issue:

Consideration #1:

In the ā€œDatabase driverā€ section, you have selected ā€œ[ MySQL ]ā€. The brackets actually indicate that this driver is not available on your system. This will generally be the case with the MySQL driver in PHP7. Try the ā€œMySQLiā€ driver from this list instead.

We should change the installation page so that an unsupported driver is not the default selection.

This may not be the cause of your problem, however, as I would expect a blank page, not a return to the installation page, if the form was submitted with an unsupported driver.

Consideration #2

There was a prior report where the admin username was being overly strict. The installation was reported failing if the admin username contained characters other than the lowercase latin alphabet. You have entered ā€œAdminā€ here. Does the result change if you enter ā€œadminā€ instead of ā€œAdminā€? Iā€™m not sure if we ever confirmed or resolved the earlier report.

Thanks for help and your support.

I was trying to install before both with mySQL and mySQLi but neither try succeeded.

However, while I change into mySQLi and changed username according to your remarks, to one using lowercase latin alphabet letters only, the installation script worked correctly. So the problem to my mind was connected with lack of error message in validator of username field.

2 Likes