First, I didn’t saw anything at all, but “Plugin could not be activated because it triggered a fatal error” fade-message. Then I added some lines to wp-admin/plugins.php:
ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);
and little more stuff appeared:
Warning: Log::factory() [function.factory]: open_basedir restriction in effect. File(/Log/file.php) is not within the allowed path(s): (/var/www/vhosts/dir01.org/httpdocs:/tmp) in /var/www/vhosts/dir01.org/httpdocs/wp-content/plugins/openid/OpenIDLog.php on line 142
Warning: Log::factory(Log/file.php) [function.factory]: failed to open stream: Operation not permitted in /var/www/vhosts/dir01.org/httpdocs/wp-content/plugins/openid/OpenIDLog.php on line 142
Warning: Log::factory() [function.include]: Failed opening ‘Log/file.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/dir01.org/httpdocs/wp-content/plugins/openid/OpenIDLog.php on line 142
Fatal error: Call to a member function setMask() on a non-object in /var/www/vhosts/dir01.org/httpdocs/wp-content/plugins/openid/core.php on line 156
line from phpinfo:
open_basedir /var/www/vhosts/dir01.org/httpdocs:/tmp no value
Problem could be fixed either by reconfiguring php or by editing plugin.
I changed
include_once $classfile;
on line 142 in OpenIDLog.php to
set_include_path( dirname(__FILE__) . PATH_SEPARATOR . get_include_path() );
include_once $classfile;
restore_include_path();
and
require_once 'store.php';
on line 53 in logic.php to
set_include_path( dirname(__FILE__) . PATH_SEPARATOR . get_include_path() );
require_once 'store.php';
restore_include_path();
I will be happy, if this will be usefull for anybody )