OJS 3.x manual installation

i am trying to install OJS 3x version through manual configuration on cPanel (Shared Hostgator) but its showing errors and loading in top of site.

Deprecated : Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in public_html/ojs/lib/pkp/classes/install/form/InstallForm.inc.php on line 149

Deprecated : Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in public_html/ojs/lib/pkp/classes/install/form/InstallForm.inc.php on line 151

Deprecated : Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in public_html/ojs/lib/pkp/classes/install/form/InstallForm.inc.php on line 153

Deprecated : Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically, assuming $this from incompatible context in public_html/ojs/lib/pkp/classes/install/form/MaintenanceForm.inc.php* on line 37

Deprecated : Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in public_html/ojs/lib/pkp/classes/form/Form.inc.php on line 369

Deprecated : Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in public_html/ojs/lib/pkp/classes/core/PKPRequest.inc.php on line 592

Warning : Cannot modify header information - headers already sent by (output started at public_html/ojs/lib/pkp/classes/install/form/InstallForm.inc.php:149) in public_html/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 867

Warning : Cannot modify header information - headers already sent by (output started at public_html/ojs/lib/pkp/classes/install/form/InstallForm.inc.php:149) in public_html/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 868

Please help me to install it

Hi @Faryal_Iiui,

Warnings do not usually indicate anything that will prevent installation of OJS. Only an error message will. We need more information in order to diagnose the problem.

Best,
Amanda Stevens
Public Knowledge Project Team

Dear Team,

what kind of information you need from me? i will surely provide you to install OJS.

Hi @Faryal_Iiui,

One thing you’ll have to do is change your PHP configuration so that errors and warnings are directed to the PHP error log rather than the browser. The warnings you list are cosmetic, but they interfere with AJAX requests. (This is recommended in a production PHP environment anyway.)

Regards,
Alec Smecher
Public Knowledge Project Team