進んではいないのですが。。。。
とりあえず本家ではなくエラーの出ているXoops X(Ten)で進めてます
とんでもない落とし穴にはまりました。
調べてみたところxoopsはかなり古いバージョンのphpでしか動かないらしい。
どうやら5.2系で動かす感じに作られてますね。。。
で、一応直してみた。
xoops/install/index.phpでエラーの出ていた37行目を
- $myts &= TextSanitizer::getInstance(); ⇒ $myts = TextSanitizer::getInstance();
xoops/install/class/textSanitizer.phpの48行目からの関数を
function &getInstance() { static $instance; if (!isset($instance)) { $instance = new TextSanitizer(); } return $instance; }
となっているのを
static function &getInstance() { $instance; if (!isset($instance)) { $instance = new TextSanitizer(); } return $instance; }
に変更します。
これでエラーは消えます。
明日にでも続きのインストールをします。
ちなみにこれがphpのバージョン違いの非互換ってやつです。
こんなのがあるからきついんだよな。。。。