未定义索引:插件位于/usr/share/phppgadmin/classes/
在phppgadmin中将ubuntu从13.04更新到13.10后,会出现此错误消息未定义索引:插件位于/usr/share/phppgadmin/classes/,php,ubuntu-13.10,phppgadmin,Php,Ubuntu 13.10,Phppgadmin,在phppgadmin中将ubuntu从13.04更新到13.10后,会出现此错误消息 未定义索引:插件在/usr/share/phppgadmin/classes/PluginManager.php中,我已经修复了这个问题。发生此错误是因为在数组中找不到插件索引。因此,只需将第34行替换为 // Get the activated plugins $plugins = !empty($conf['plugins'])?$conf['plugins']:[]; 这肯定会解决你的问题 干杯:)在
未定义索引:插件在/usr/share/phppgadmin/classes/PluginManager.php中,我已经修复了这个问题。发生此错误是因为在数组中找不到插件索引。因此,只需将第34行替换为
// Get the activated plugins
$plugins = !empty($conf['plugins'])?$conf['plugins']:[];
这肯定会解决你的问题
干杯:)在服务器上升级php、postgres和phpPgAdmin后,我遇到了同样的问题,保留了我现有的配置文件。在查看新的pgAdmin配置文件模板后,我注意到以下片段:
/** Plugins management
* Add plugin names to the following array to activate them
* Example:
* $conf['plugins'] = array(
* 'Example',
* 'Slony'
* );
*/
$conf['plugins'] = array();
我将它复制到我自己的配置文件中(在关闭php标记之前),一切都很好,没有对phpPgAdmin脚本进行任何更改。应该注意的是,您以前没有这样做的原因不是ubuntu版本,而是新版本的php在中启用了。