歡迎光臨, 訪客. 請先 登入註冊一個帳號.
五月 15, 2024, 08:37:10 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  開發 / 外掛程式 / Re: 解決 FreeBSD 中 templateeditor 中無法 zip 打包下載的方法 於: 十月 03, 2006, 10:33:43 下午
為了這個問題困擾一段時間,不僅是freebsd,linux及windows都有這個問題。謝謝reic兄的提醒...

但無須修改這二支程式,只要修改templateeditor外掛裡的 archive.php (lifetype目錄/plugins/templateeditor/class/archive/archive.php) 這個檔案的參數即可...

程式碼:
class archive
{
        function archive($name)
        {
                $this->options = array(
                        'basedir'=>".",
                        'name'=>$name,
                        'prepend'=>"",
                        'inmemory'=>0,
                        'overwrite'=>1,
                        'recurse'=>1,
                        'storepaths'=>1,   (預設為1)
                        'level'=>3,
                        'method'=>1,
                        'sfx'=>"",
                        'type'=>"",
                        'comment'=>""
                );
                $this->files = array();
                $this->exclude = array();
                $this->storeonly = array();
                $this->error = array();
        }

其中的參數設定為   'storepaths'=>3, 就可解決
2  測試 / LifeType 1.1 測試 / Re: LT 1.1 simplified URL (簡潔綱址) problem 於: 九月 17, 2006, 07:06:15 下午
原來的
RewriteBase /

改為
RewriteBase /lifetype/

另外,注意 .htaccess 是否為777
3  支援 / 安裝與設定 / Re: 有關影音格式播放的問題 於: 六月 12, 2006, 11:43:14 上午
james兄:
  之前在linux也沒有這個問題,不知道是換了那個版本之後就無法正常使用(已經有一段時間了)。

目前我測試的網址是:(fedora core 3)
http://ceag.tceb.edu.tw/lifetype/post/1/62
你可以從那裡看看。但以實測經驗來看,可能無法從web 上看得出來...

目前我檔案目錄的設定為 777 ( /www/lifetype/gallery )

至於httpd.conf 的設定,也有設定..例如其中一個測試...

    <Directory "/www/lifetype">
        Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

就請您幫忙一下囉~謝謝!!


4  支援 / 安裝與設定 / 有關影音格式播放的問題 於: 六月 11, 2006, 10:04:09 下午
各位伙伴大家好:

想請教一個問題,問問大伙有沒有遇過,像wmv、asf格式的檔案上傳之後,發現如果lifetype是建構為 linux系統上的,就無法在文章中或資料夾中順利點選、播放,但在windows 系統的就可以,不知道有沒有遇過及解決的?找了很多文章,並沒有可行的方案。

目前僅能分析出在linux中,呈現檔案是無法讀取的權限,訊息大致如下:

"GET /lifetype/resserver.php?blogId=1&resource=001.wmv HTTP/1.1" 403
"GET /lifetype/resserver.php?blogId=1&resource=flourish.mid HTTP/1.1" 403 - "-" "NSPlayer/10.0.0.3646 WMFSDK/10.0"


apache 訊息 403 是表示禁止存取,可是該設定的(http.conf)、修改目錄權限都試過了...求助大伙有沒有遇過

謝謝!!
頁: [1]