1
Cute123
Re: xoops-2.0.6RC-Headline Cann't Display Language Tchinese(中文)
  • 2004/2/9 3:10

  • Cute123

  • Just popping in

  • Posts: 3

  • Since: 2004/1/27


Thanks!



2
Cute123
xoops-2.0.6RC-Headline Cann't Display Language Tchinese(中文)
  • 2004/1/30 17:46

  • Cute123

  • Just popping in

  • Posts: 3

  • Since: 2004/1/27


1.The backend.php Line 34
※header ('Content-Type:text/xml; charset=utf-8');
erro
無法顯示 XML 網頁
無法使用 XSL 樣式表檢視 XML 輸入。請更正錯誤,然後按 重新整理按鈕,或者稍後再試一次。


--------------------------------------------------------------------------------

文字內容包含無效的字元。處理資源 'http://127.0.0.1/xoops/backend.php' 發生錯誤。第 7 行, 位置 46

<lastBuildDate>Sat, 31 Jan 2004 01:42:15

Modify※header ('Content-Type:text/xml; charset=big5');
It is can display..
But at the ../xoopsheadline/index.php is can not display the information. And the MySQL table-xoops_xoopsheadline
have the xml code:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>123</title>
<link>http://127.0.0.1/xoops/</link>
<description>123</description>
<lastBuildDate>Sat, 31 Jan 2004 01:42:15 台北標準時間</lastBuildDate>
<docs>http://backend.userland.com/rss/</docs>
<generator>XOOPS 2.0.4 繁體中文版 release 20030922</generator>
<category>News</category>
<managingEditor>kaezjp@yahoo.co.jp</managingEditor>
<webMaster>kaezjp@yahoo.co.jp</webMaster>
<language>tw</language>
<image>
<title>chapi.de</title>
<url>http://127.0.0.1/xoops/images/logo.gif</url>
<link>http://127.0.0.1/xoops/</link>
<width>144</width>
<height>80</height>
</image>
<item>
<title>第三則</title>
<link>http://127.0.0.1/xoops/modules/news/article.php?storyid=3</link>
<description>第三則</description>
<pubDate>Fri, 30 Jan 2004 00:43:31 台北標準時間</pubDate>
<guid>http://127.0.0.1/xoops/modules/news/article.php?storyid=3</guid>
</item>
<item>
<title>123的第一則新聞</title>
<link>http://127.0.0.1/xoops/modules/news/article.php?storyid=1</link>
<description>第一則新聞喔</description>
<pubDate>Fri, 30 Jan 2004 00:38:00 台北標準時間</pubDate>
<guid>http://127.0.0.1/xoops/modules/news/article.php?storyid=1</guid>
</item>
</channel>
</rss>
I can not fix it!



3
Cute123
Re: newbb patch for XOOPS 2.0.6RC
  • 2004/1/27 21:32

  • Cute123

  • Just popping in

  • Posts: 3

  • Since: 2004/1/27


\modules\newbb\class\class.forumposts.php
At 98 line.

//$sql = 'SELECT p.*, t.post_text FROM '.$db->prefix('newbb_posts').'p, '.$db->prefix('newbb_posts_text')." t WHERE p.topic_id=$topic_id ANDp.post_id = t.post_id ORDER BY p.post_id $order";

$sql = 'SELECT p.*, t.post_text FROM '.$db->prefix('bb_posts').' p, '.$db->prefix('bb_posts_text').' t WHERE p.topic_id='.$topic_id.' AND p.post_id = t.post_id ORDER BY p.post_id ';




TopTop



Login

Who's Online

282 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 282


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits