I can't install anything directly from the plugin gallery

After clicking on “install” button and then on the “ok” button within the pop-up window, nothing happens. Installs from FTP work but not from the plugin gallery, and I really need to install a plugin from there. I tried to reinstall the whole ojs, but nothing changed. The version I’m using is ojs 3.1.1.4.
Please help.

Hi, it’s related with command tar but is still no clear for me.

Hi @Ana,

Is there anything in your PHP error log?

Regards,
Alec Smecher
Public Knowledge Project Team

[14-Jul-2019 18:33:55 UTC] PHP Warning: mktime(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /home/revis118/public_html/lib/pkp/lib/adodb/adodb-time.inc.php on line 1073
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of LensGalleyPlugin::register() should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revis118/public_html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 0
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of EmbedGalleyPlugin::register() should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revis118/public_html/plugins/generic/embedGalley/EmbedGalleyPlugin.inc.php on line 0
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of AddThisPlugin::register() should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revis118/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 0
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/revis118/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/revis118/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 0
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/revis118/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[14-Jul-2019 18:33:56 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/revis118/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[14-Jul-2019 18:33:58 UTC] PHP Warning: mktime(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /home/revis118/public_html/lib/pkp/lib/adodb/adodb-time.inc.php on line 1073
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of LensGalleyPlugin::register() should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revis118/public_html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 0
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of EmbedGalleyPlugin::register() should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revis118/public_html/plugins/generic/embedGalley/EmbedGalleyPlugin.inc.php on line 0
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of AddThisPlugin::register() should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revis118/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 0
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/revis118/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of DRIVERDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /home/revis118/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 0
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/revis118/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[14-Jul-2019 18:33:58 UTC] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/revis118/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[14-Jul-2019 18:34:01 UTC] PHP Warning: escapeshellarg() has been disabled for security reasons in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 64
[14-Jul-2019 18:34:01 UTC] PHP Warning: escapeshellarg() has been disabled for security reasons in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 64
[14-Jul-2019 18:34:01 UTC] PHP Warning: exec() has been disabled for security reasons in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 64
[14-Jul-2019 18:34:01 UTC] PHP Deprecated: Non-static method VersionCheck::getValidPluginVersionInfo() should not be called statically, assuming $this from incompatible context in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 103
[14-Jul-2019 18:34:01 UTC] PHP Fatal error: Call to a member function getProductType() on string in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 107

Hi @Ana,

Here are the relevant lines:

[14-Jul-2019 18:34:01 UTC] PHP Warning: escapeshellarg() has been disabled for security reasons in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 64
[14-Jul-2019 18:34:01 UTC] PHP Warning: escapeshellarg() has been disabled for security reasons in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 64
[14-Jul-2019 18:34:01 UTC] PHP Warning: exec() has been disabled for security reasons in /home/revis118/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 64

You’ll have to contact your service provider to get the escapeshellarg and exec functions enabled. They’ve disabled those parts of the PHP language and they are required for plugin installation.

Regards,
Alec Smecher
Public Knowledge Project Team