歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 29, 2024, 06:57:09 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1] 2
1  支援 / 安裝與設定 / Re: [問題]無法刪除恭喜與使用者ID & 註冊信亂碼 於: 四月 20, 2008, 03:20:44 下午
亂碼問題解決了,不過有一個問題想問一下,

可以改lifetype寄件時的主旨嗎??

例如,申請重設密碼時,lifetype會寄一封主旨是:「 LifeType 重新設置密碼」的信,可以改這邊的文字嗎??

謝謝。
2  站務 / 站務公告 / Re: LifeType 1.2.7 維護版本發佈 於: 四月 01, 2008, 11:21:51 上午
bibicall你好:

我原本是lifetype1.2.5的,我下載了lifetype1.2.7完整版,然後整個覆蓋過去,升級好了之後,我到/全部站台管控/其它設定/版本/ 裡的「檔案版本檢查」,我做了檢查這個動作,然後就出現下面這個問題??不知道我是那邊設定有問題?能不能指點個方向,謝謝各位先進指點,謝謝。

對了,檔案我都有上傳上去,目前使用上,也還沒發現問題??
3  站務 / 站務公告 / Re: LifeType 1.2.X 安全性修正 於: 三月 31, 2008, 12:41:09 下午
如果要用升級版的話,要先升級到1.2.6才能。

如果你想直接跳上來,就要用1.2.7完整版去覆蓋!

所以我想要從1.2.5=>1.2.6就去下載「Lifetype upgrade package from 1.2.5 (.zip)」然後把裡面的資料整個覆蓋到我的主機上可以了嗎??

然後再去下載「Lifetype upgrade package from 1.2.6 (.zip)」,然後又再把整個資料蓋過去就可以升級到1.2.7了是嗎??
4  站務 / 站務公告 / Re: LifeType 1.2.X 安全性修正 於: 三月 31, 2008, 11:02:07 上午
LifeType 1.2.7 已釋出囉!請看「LifeType 1.2.7 released


我的是1.2.5我要先升級到1.2.6再到1.2.7嗎?還是可以直接升到1.2.7???
5  支援 / 使用與操作 / 學習lifetype的問題?? 於: 三月 27, 2008, 11:15:25 下午
如果打擾了,真的很不好意思。

我應該還算是新手吧,不過我想好好的學會lifetype,所以有幾個問題想請教你,由於我沒有資工背景,所以lifetype用到的php及smarty及mysql我都沒有真正的好好學過,都是自已摸一摸的,不知到bibicall可不可以,跟我講一下,如果我要學會,到自已寫smarty語法,我要怎麼學習,有沒有建議的書還是網站??

因為我看有些模板都會有 {   }然後裡面都會寫一些東西例如:「url->geturl」又例如:「$locale->getCharset()」這個語法中的「$ locale]」是怎麼來的,它是變數還是什麼,它代表什麼東西,後面的「getCharset」又是怎麼來的,它又代表什麼東西,中間的「->」好像是smarty語法會有的,例如「x=3」中間那個「等於」的意思吧,等等的,真的有點看不出來是怎麼寫出來的。

(http://blog.roodo.com/jaceju/archives/175925.html)smarty入門這個網頁,也看過兩三次了,但真的不是看的很懂。

像下面這樣一段語法,它是怎麼打出來的

{foreach from=$articlecategories item=articleCategory}
{if $category && $articleCategory->getId() === $category->getId()}
<li>{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</li>
{else}
<li><a class="navigation" href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}   [{$articleCategory->getNumArticles()}]</a></li>
{/if}
{/foreach}

foreach是迴圈,if是假如,那裡面的「$category」是什麼??
「$articleCategory」是什麼??
「getId」又是什麼??
當然,照字面意思是「get id」,那這個「getId」是在那邊定義的??
「getId()」後面的「()」又是要幹嘛的???等等這樣的變數是怎麼來的,在那邊定義的,我完全不知道,不知道是我比較笨還是我比較不會找,我在lifetype這個官網,我還真的找不到,這些變數的定義??

像在文件=>LifeType 外掛程式開發手冊=>實做一個簡單的外掛程式 ,我點進去想看怎麼開發外掛,卻出現「您必須先特殊:登錄才可編輯頁面。」這樣的問題在文件裡,有好幾個連結都是這樣的。

還是我要好好的把整個lifetype每一個檔案都打開有看??慢慢學,那有沒有建議從那個檔案來看,那一個才是主檔案,慢慢把其它include進來??

如果打擾了,真的很不好意思,但這些問題,困擾我有點時日了,在這邊先跟大家說聲謝謝。
6  支援 / 安裝與設定 / 在檔案中心,上傳中文檔名的問題?? 於: 三月 13, 2008, 02:22:39 下午

如圖,請問一下,lt是不是只能上傳英文檔名,中文會變亂碼??

在使用上,都是正常,沒問題,只是我想知道一下,謝謝。

lt是1.2.5
主機在智邦上
7  開發 / 外掛程式 / 啟用sitemap外掛後,修改文章出現問題?? 於: 二月 28, 2008, 11:35:19 下午
我啟用sitemap外掛後,修改文章更新後就出現下面這些錯誤??
我到tem/sitemap/1/也找不到sitemap1.gz的檔案??
請問一下,有沒有人知道是怎麼回事嗎??

lifetype1.2.5,智邦主機,1.2_sitemap外掛。

程式碼:
Sitemap Notification Received

Your Sitemap has been successfully added to our list of Sitemaps to crawl. If this is the first time you are notifying Google about this Sitemap, please add it via http://www.google.com/webmasters/tools/ so you can track its status. Please note that we do not add all submitted URLs to our index, and we cannot make any predictions or guarantees about when or if they will appear.
Exception message: Cannot modify header information - headers already sent by (output started at /raid/vhost/musa.url.tw/www/plugins/sitemap/pluginsitemap.class.php:205)
Error code: 2
-- Backtrace --
/raid/vhost/musa.url.tw/www/class/view/view.class.php(321): header
/raid/vhost/musa.url.tw/www/class/view/admin/adminview.class.php(112): view.render
/raid/vhost/musa.url.tw/www/class/view/admin/admintemplatedview.class.php(36): adminview.render
/raid/vhost/musa.url.tw/www/class/view/admin/adminpostslistview.class.php(205): admintemplatedview.render
/raid/vhost/musa.url.tw/www/class/controller/controller.class.php(379): adminpostslistview.render
/raid/vhost/musa.url.tw/www/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /raid/vhost/musa.url.tw/www/plugins/sitemap/pluginsitemap.class.php:205)
Error code: 2
-- Backtrace --
8  支援 / 使用與操作 / Re: [求助]如何summary頁面顯示的文章數量? 於: 一月 22, 2008, 03:45:30 下午


修改的檔案:class/dao/summarystats.class.php(註:此路徑為0.32版,1.0路徑為class/summary/dao/summarystats.class.php)
 找到下面的code:(第272-299行)

引用
    function getRecentArticles( $maxPosts )
    { 
        ........
        while( ($row = $result->FetchRow()) && ($i < $maxPosts) ) {
            if (!in_array($row["blog_id"], $blogs))
             {
                   $blogs[] = $row["blog_id"];

                   array_push( $posts, $articles->_fillArticleInformation($row) );
                   $i++;
             }

        }
        return $posts;
    }

   將紅色的部分刪除或註解掉成為下面的模樣:
 
引用
  function getRecentArticles( $maxPosts )
    { 
        ........
        while( ($row = $result->FetchRow()) && ($i < $maxPosts) ) {
             //if (!in_array($row["blog_id"], $blogs))
             //{
             //     $blogs[] = $row["blog_id"];

                   array_push( $posts, $articles->_fillArticleInformation($row) );
             //      $i++;
             //}

        }
        return $posts;
    }


這樣就大功告成了。

這時,回到你的summary.php頁面,Latest Posts部份應該就會不分blog,依時間顯示最近的15篇文章了。

你可以連到本站的summry頁面看看效果。


強烈建議你搭配mark上述的修改一併使用
但,mark上述修改有小錯誤
mark已於另一篇文章中修正,請自行搜尋參考!
我照你說的修改後,是可以show出最新的文章了,可是怎麼會超過15篇,我現在的summary最新文章,可以show到20篇了,要怎麼改成只要15篇就好了。謝謝,我的是lifetype1.2.5 的。
9  支援 / 使用與操作 / Re: 註冊時認證碼的圖片不見了?? 於: 一月 22, 2008, 10:06:06 上午
正常了哦~~改過後,就ok了,謝謝

可以請問一下嗎?error log是在幹嘛的?我看論談其它的討論,有時都會說到這個word,可以教我一下嗎??要怎麼看,怎麼找出錯誤??
謝謝。
10  支援 / 使用與操作 / Re: 註冊時認證碼的圖片不見了?? 於: 一月 21, 2008, 10:45:55 下午
有沒有error log?
不好意思,什麼是error log要去那邊看??
11  支援 / 使用與操作 / 註冊時認證碼的圖片不見了?? 於: 一月 21, 2008, 02:05:04 下午
我的lifetype是1.2.5的之前註冊的功能都好好的,今天想幫朋友註冊一個新的,在"建立使用者 [1/4]"這個step時結果我的認證碼的圖片不見了,怎麼會這樣我的網址是:http://www.musa.url.tw/register.php可以幫我看一下嗎?
主機在智邦
12  支援 / 安裝與設定 / Re: .htaccess修改問題 於: 一月 16, 2008, 04:39:09 下午
我來自問自答,問題出在,智邦的工程師,只幫我開啟一些功能,沒有全開,後來我再三訊問後,才幫我把功能全開,然後,就都可以了。
13  支援 / 安裝與設定 / Re: .htaccess修改問題 於: 一月 15, 2008, 11:14:34 下午
我的問題是,我把.htaccess放到www/下後,我的首頁會出現最下面這樣的錯誤,我的title是出現 500 internal server error的title,我有看我的.htaccess,裡面本來就是改成下面這三行了,我的編碼,也原本就是ansi了,也都不行,我也有再次上傳我的.htaccess及error.php,可是,我回我的首頁,都會出現最下面的錯誤,只有把.htaccess刪掉,進我的首頁才會正常,想請問一下,我要怎麼辨,我是用1.2.5的版本lifetype,主機是智邦的。

ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php


****************************************************
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mymailer@corp.url.com.tw and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
******************************************************

再加一個錯誤,我網頁上放在gallery/下的的圖,都show不出來了,我後來把gallery下的.htaccess刪掉,網頁上的圖才會show出來,gallery/下的.htaccess裡是下面這些程式,想請問一下,怎麼會這樣,我之前都是好好的,好像是今天,我請智邦的工程師,開啟mod_rewrite 設定,後才會有這些問題,不知道他開啟了什麼,我之前是要請他們開AllowOverride All這個,可是他們說要開啟mod_rewrite設定,那是不是這邊有問題?還是要請他們再開啟其它設定???

<Files "*.php">
 Order allow,deny
 Deny from all
</Files>

<Files "*.htm">
 Order allow,deny
 Deny from all
</Files>

<Files "*.html">
 Order allow,deny
 Deny from all
</Files>

14  支援 / 安裝與設定 / .htaccess修改問題 於: 一月 15, 2008, 08:38:54 下午
我的問題是,我把.htaccess放到www/下後,我的首頁會出現最下面這樣的錯誤,我的title是出現 500 internal server error的title,我有看我的.htaccess,裡面本來就是改成下面這三行了,我的編碼,也原本就是ansi了,也都不行,我也有再次上傳我的.htaccess及error.php,可是,我回我的首頁,都會出現最下面的錯誤,只有把.htaccess刪掉,進我的首頁才會正常,想請問一下,我要怎麼辨,我是用1.2.5的版本lifetype,主機是智邦的。

ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php


****************************************************
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mymailer@corp.url.com.tw and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
******************************************************
15  支援 / 使用與操作 / Re: permission denied的問題及local資料夾locale_zh_TW.php檔案內容 於: 一月 13, 2008, 06:35:42 下午

如果你的LifeType版本是1.2.4以後,可以到管理介面「全部站台管控」的「清理垃圾」去清除暫存檔
謝謝,我知道了,感謝你~~
頁: [1] 2