niwacchi.log

niwacchiのログ。

チュートリアルの動作確認時のエラー回避

Ubuntu:8.10
Ethna:2.3.6 ※pearコマンドでインストール

 ひととおりインストールした直後の動作確認でエラーになった。Smartyのインストールをubuntuのパッケージマネージャでインストール済みの場合は、Smartyの読み込みは「Smarty/Smarty.php」ではなく「smarty/Smarty.php」なので、とりあえず以下のように修正する。
(/usr/share/php/Ethna/class/Renderer/Ethna_Renderer_Smarty.php の 11行目)

# 変更前
require_once 'Smarty/Smarty.class.php';

# 変更後
require_once 'smarty/Smarty.class.php';