歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 29, 2024, 10:03:59 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  核心補強  |  summary.php頁 rss 循環調用問題求助: « 上篇主題 下篇主題 »
頁: [1]
作者 主題: summary.php頁 rss 循環調用問題求助:  (閱讀 8715 次)
SmilingOx
新手見習
*
文章: 15


檢視個人資料 個人網站
« 於: 十月 22, 2005, 12:08:55 下午 »

又来麻烦大家了

我在主機:測試plog1.01版本(as4,apache2.0.54,php4.4.0,mysql4.15),

summary頁面調用:

最近發表的文章: http://dabu.twbbs.org/plog/rss.php?summary=1
本周最多評論:http://dabu.twbbs.org/plog/rss.php?summary=1&type=mostcommented
本周閱讀最多的文章:http://dabu.twbbs.org/plog/rss.php?summary=1&type=mostread

都只出來:summary.php 原本頁面的內容?即內容與:http://dabu.twbbs.org/plog/summary.php 完全一樣

我察看了一下:rss.php 的內容:

13    // create our own action map
14    $actionMap = Array( "Default" => "RssAction" );
15    $controller = new Controller( $actionMap, "op" );
16   
17   $request =& HttpVars::getRequest();
18   if( isset($request["summary"])) {
19      $request["op"] = "rss";
20      include_once( PLOG_CLASS_PATH."summary.php" );
21      die();

22   }

如果把,17到22行屏蔽以後,能夠出來rss的頁面。但數據不是,所我們要求正確數據。

同样:index.template

  {$locale->tr("summary_most_read_articles")}
     {if $readestBlogs}
       <a href="{$url->getRssUrl()}?summary=1&amp;type=mostread">
         <img src="{$url->getUrl("/imgs/rss_logo_small.gif")}"
         alt="RSS" /></a>       
 {/if}
---------------------------------------------

???????????
« 最後編輯時間: 十月 26, 2005, 03:24:02 下午 由 SmilingOx » 已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 十月 25, 2005, 09:42:32 下午 »

改用 1.0.2 beta,那是 1.0.1  bug ... 可是釋出到現在才有人回報,真是奇怪。 吐舌頭

Mark
已記錄

SmilingOx
新手見習
*
文章: 15


檢視個人資料 個人網站
« 回覆文章 #2 於: 十月 26, 2005, 08:42:59 上午 »

1.0.2 beta 前天我测试过了,1.0.2 beta也是一样的情况!
已記錄
SmilingOx
新手見習
*
文章: 15


檢視個人資料 個人網站
« 回覆文章 #3 於: 十月 26, 2005, 03:23:23 下午 »

曾经怀疑过是PHP.INI设置的原因,但改后没有解决问题!
今天下午把PHP4.4.0 换为了:php4.3.10 就正常了.但还是没找出问题的原因!
« 最後編輯時間: 十月 27, 2005, 08:52:55 上午 由 SmilingOx » 已記錄
頁: [1]
LifeType 中文開發論壇  |  開發  |  核心補強  |  summary.php頁 rss 循環調用問題求助: « 上篇主題 下篇主題 »
    前往: