因為Fedora 12是 PHP 3.1,版本太新,
導致LifeType的外掛中心(pluginmanager)、迴響驗證設定(authimage)都無法進入,
出現錯誤訊息 Non-static method Glob::Glob() cannot be called statically
3-1外掛中心(pluginmanager)
vi blog/class/plugin/pluginmanager.class.php
約第194行
$pluginFiles = Glob::glob( $this->_pluginDir, "*" );
改為
$glob = new Glob();
$pluginFiles = $glob->Glob($this->_pluginDir, "*");
3-2迴響驗證設定(authimage)
vi blog/plugins/authimage/class/authimage/authimage.class.php
約第20行
$gifImages = Glob::glob( AUTHIMAGE_BACKGROUND_FOLDER , '*.gif');
改為
$glob = new Glob();
$gifImages = $glob->Glob( AUTHIMAGE_BACKGROUND_FOLDER , '*.gif');
原文參考:
維謙老師的窩