OddmuseTrouble: Difference between revisions

Jump to navigation Jump to search
1,270 bytes added ,  19 January 2019
m
Text replacement - "http://errerrors.blogspot.com" to "https://errerrors.blogspot.com"
mNo edit summary
m (Text replacement - "http://errerrors.blogspot.com" to "https://errerrors.blogspot.com")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[OddmuseWikiInstallRecord|Oddmuse Wiki 安裝]] 或執行時,所出現的問題症狀與解決方式
[[Oddmuse wiki]] Troubles ([[OddmuseTroubleZH|中文版]])


==== Q: 節點名稱(node)使用中文問題 ====
==== Q: Node name in chinese is not work ====
A: 安裝 1.362新版, 可參考ray所做的[http://140.124.182.91/~ray/cgi-bin/mywiki.pl/OddmuseFaq 修改patch](非新版)
A: update to 1.362+, you may refer to ray's [http://140.124.182.91/~ray/cgi-bin/mywiki.pl/OddmuseFaq patch]


==== Q: Message:「Could not get visitors lock」or 「Could not get main lock: File exists」,and the script couldnot work ====
A: The official website said it's because script crash,I recommend to update your oddmuse script. (I met this problem in v. 1.287,and solve it after updated to v. 1.300)) other possibile solution is [http://www.emacswiki.org/cgi-bin/oddmuse-zh.pl/Unlock_Action unlock action], 2)place Data Dir to different directory,please check [http://www.emacswiki.org/cgi-bin/oddmuse-zh.pl/Known_Problems Known_Problems] or [http://oddwiki.taoriver.net/wiki.pl/Troubleshooting Trouble shooting]


==== Q: 「Could not get visitors lock」或 「Could not get main lock: File exists」,而程式無法執行。 ====
===== Q:update to new version =====
A: 官方網站說明原因是 script crash,白話地說程式掛了,建議升級script解決 (我在1.287遇到這問題,升級到1.300就解決了。)其他''可能的''解決方法 1) [http://www.emacswiki.org/cgi-bin/oddmuse-zh.pl/Unlock_Action unlock action], 2)將 Data Dir 放在別處,請參考[http://www.emacswiki.org/cgi-bin/oddmuse-zh.pl/Known_Problems Known_Problems]
I met this problem after updating to version 1.532, so I move my Data to another directory without space.


original (met 500 error when I try to save a wiki page)


==== Q: [il10N] 掛不上中文翻譯檔 ====
$DataDir = 'C:/Program Files/Apache Group/Apache/htdocs/oddmuse';
A: 原因不明,解決方式:將翻譯檔的原始碼全數複製到設定檔 (DataDir/config) 內的開始處,意思是其他設定請放在翻譯文字的後面。


new


==== Q: 無法產生 RSS 檔案,wiki.pl?action=rss 的RSS動作,只會看到空白的頁面,另外內嵌他站的 rss 也會失敗。 ====
$DataDir = 'c:/webpage/htdocs/oddmuse';
A: 缺乏 XML::RSS 模組。請參閱官方網站中安裝Oddmuse所需的
[http://www.oddmuse.org/cgi-bin/oddmuse-zh/Perl_%e6%a8%a1%e7%b5%84 Perl 模組]


==== Q: [il10N] couldnot load chinese translation file ====
A: reason is unknown,solution is:copy all text in translation file into the beginning of (DataDir/config), that means other setup parameters should after the translation
==== Q: couldnot generate RSS,wiki.pl?action=rss I only saw blank page by RSS action,besides it was also failed when I include RSS of other website ====
A: lack of the module "XML::RSS". Plz check the req. of official website,
[http://www.oddmuse.org/cgi-bin/oddmuse-zh/Perl_Modules Perl Modules]


==== Q: http://www.webhospital.org.tw/essay/essay.html?pid=16&category=道聽不塗說 網址應該是到 ''...category=道聽不塗說'' 才結束,但是連結卻只有到 ''...category='' 。網址連結不顯示包含中文字的部分 ====
==== Q: http://www.webhospital.org.tw/essay/essay.html?pid=16&category=道聽不塗說 網址應該是到 ''...category=道聽不塗說'' 才結束,但是連結卻只有到 ''...category='' 。網址連結不顯示包含中文字的部分 ====
Line 22: Line 30:
: '''狀況''': http://www.webhospital.org.tw/essay/essay.html?pid=16&category=道聽不塗說
: '''狀況''': http://www.webhospital.org.tw/essay/essay.html?pid=16&category=道聽不塗說


: '''解決方法''':將 ''...category=道聽不塗說'' 中文字[RFC 2396]編碼(urlencode)為 ''...category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1'' 如:http://www.webhospital.org.tw/essay/essay.html?pid=16&category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1  不過這樣滿醜的,建議改成<nowiki>[網址 網站說明文字]</nowiki>即[http://www.webhospital.org.tw/essay/essay.html?pid=16&category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1 道聽不塗說]
: '''解決方法''':將 ''...category=道聽不塗說'' 中文字[RFC 2396]編碼([[URL Encoding]])為 ''...category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1'' 如:http://www.webhospital.org.tw/essay/essay.html?pid=16&category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1  不過這樣滿醜的,建議改成<nowiki>[網址 網站說明文字]</nowiki>即[http://www.webhospital.org.tw/essay/essay.html?pid=16&category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1 道聽不塗說]


==== Q: 書籍查詢ISBN時,無法使用自己的查詢設定 ====
==== Q: 書籍查詢ISBN時,無法使用自己的查詢設定 ====
Line 100: Line 107:
: 其他解決方法 [http://www.oddmuse.org/cgi-bin/wiki/Timezone_Extension Timezone Extension],不過作者計畫將此擴充功能日後改寫成模組。
: 其他解決方法 [http://www.oddmuse.org/cgi-bin/wiki/Timezone_Extension Timezone Extension],不過作者計畫將此擴充功能日後改寫成模組。


==== Q: 設好了 InterMap (InterWiki) ,但是卻無法搜尋多個關鍵字,例如想查詢「眾聲」與「喧嘩」兩個關鍵字,在Wiki頁面寫上Google:眾聲 喧嘩 ,卻無法順利運作。(附註,在InterMap需先設好 Google 指向 http://www.google.com.tw/search?ie=UTF-8&oe=UTF-8&q=====
==== Q: After setup InterMap (InterWiki) ,but still couldnot search multi keywords, ex: I wanna search「眾聲」and「喧嘩」 two words. I wrote Google:眾聲 喧嘩 on the oddmuse page,but not work。(Note: PreCondition is already setup Google to http://www.google.com.tw/search?ie=UTF-8&oe=UTF-8&q= on InterMap page) ====


A:
A:
: 狀況一、搜尋「眾聲喧嘩」
: Condition 1、Search「眾聲喧嘩」, a phase
:: 錯誤的 Google:"眾聲喧嘩"  
:: Wrong - Google:"眾聲喧嘩"  
:: 合適的 Google:眾聲喧嘩 Google:%22眾聲喧嘩%22 也就是將引號改為%22
:: Correct - Google:眾聲喧嘩 or Google:%22眾聲喧嘩%22 that means encode " to %22
: 狀況二、搜尋「眾聲喧嘩」與「獨領風騷」兩個字詞
: Condition 2、Search 「眾聲喧嘩」and「獨領風騷」 two words
:: 錯誤的 Google:眾聲喧嘩 獨領風騷
:: wrong - Google:眾聲喧嘩 獨領風騷
:: 錯誤的 Google:"眾聲喧嘩"+"獨領風騷"
:: wrong - Google:"眾聲喧嘩"+"獨領風騷"
:: 合適的 Google:%22眾聲喧嘩%22+%22獨領風騷%22
:: correct - Google:%22眾聲喧嘩%22+%22獨領風騷%22
:: 合適的 Google:眾聲喧嘩%20獨領風騷
:: correct - Google:眾聲喧嘩%20獨領風騷
: 請將 " 符號改為 %22 的網址編碼 ; = 的編碼為 %3d; 半形空白 的編碼為 %20; 半形冒號 : 的編碼為 %3A; 半形斜線 / 的編碼為 %2F
: please encode " to %22 ; encode = to  %3d; encode half space character (半形空白) to %20; encode : to %3A; encode / to %2F ; the complete encode list please see [http://www.blooberry.com/indexdot/html/topics/urlencoding.htm URL Encoding]




==== Q: (more questions) 有其他的問題要如何解決? ====
==== Q: 中文頁面名稱.pg: No such file or directory ====
[https://errerrors.blogspot.com/2007/05/pg-no-such-file-or-directory-oddmuse.html 中文頁面名稱.pg: No such file or directory解決方式]
 
 
==== Q: Index of all pages (for all pages, permanent anchors) is 0 page ====
* del the file named pageidx (enforece Oddmuse regenerate its index file)
 
 
==== Q: Oddmuse migrate to another server ====
 
A:
:* modify config file,let $RefererTracking = 0 ,and del all refer files in "refer" directory 
:* upload two dir "keep" and "page"
:* del pageidx file (enforece Oddmuse regenerate its index file) partial cited from:oddmuse.org: [http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e5%88%aa%e9%99%a4%e9%a0%81%e9%9d%a2 刪除頁面]
 
==== Q:more questions to solve ====


A: 請至 Oddmuse [http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e7%b6%b2%e7%ab%99%e5%9c%b0%e5%9c%96 官方網站] 查詢。
A: check the [http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e7%b6%b2%e7%ab%99%e5%9c%b0%e5%9c%96 offcial oddmuse wiki website] and its [http://oddwiki.taoriver.net/wiki.pl/Forum Forum].




[[Category:OddmuseWiki]]
[[Category:OddmuseWiki]] [[Category:Errors]]

Navigation menu