程式CODE
2013年9月30日 星期一
Lifetype 1.2.10…安裝記要
一、下載處 http://sourceforge.net/projects/lifetype/files/
二、較重要的外掛:表情符號(smileys)、模板編輯器(template editor)、迴響驗證(authimage)
authimage 設定:
登入後台 -> 全部站台管控 -> 外掛程式設定 -> Authimage
plugin_authimage_enabled:打勾
plugin_authimage_length:4
plugin_authimage_key:randomkey
plugin_authimage_expiredtime:1440
以上沒有設定好像也沒有關係...
有時驗證的圖示會出現一半而已...怪怪...
三、模版:
四、修改LifeType 下的 .htaccess :
DirectoryIndex summary.php
將首頁指向 彙整頁(summary.php)
lifetype 1.2.10 在ubuntu10.04上的安裝
原先安裝lifetype 1.2.11版,但是在編輯文章時,底下的「插入檔案」和「插入閱讀全文分隔」有問題
無法使用,在遍尋不到解方法後,改安裝lifetype 1.2.10,但tinymce版本仍是tinymce2,有時間再改3版看看...
1.2.10安裝:
一、依指示可很容易的安裝
二、安裝完後,若出現「Warning: get_class() expects parameter 1 to be object, integer given in /home/webadmin/html/lifetype/class/dao/model.class.php on line 396」
三、解決:
[參考這裡]
可能是php版本的問題...
找到lifetype/class/dao/model.class.php程式碼396行中get_class(), 將之改成@get_class()即可。
訂閱:
文章 (Atom)