OddmuseTrouble: Difference between revisions

Jump to navigation Jump to search
900 bytes added ,  19 January 2019
m
Text replacement - "http://errerrors.blogspot.com" to "https://errerrors.blogspot.com"
No edit summary
m (Text replacement - "http://errerrors.blogspot.com" to "https://errerrors.blogspot.com")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[OddmuseWikiInstallRecord|Oddmuse Wiki]] Troubles ([[OddmuseTroubleZH|中文版]])
[[Oddmuse wiki]] Troubles ([[OddmuseTroubleZH|中文版]])


==== Q: Node name in chinese ====
==== Q: Node name in chinese is not work ====
A: update to 1.362+, you may refer to ray's [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:update to new version =====
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)
$DataDir = 'C:/Program Files/Apache Group/Apache/htdocs/oddmuse';


==== Q: Message:「Could not get visitors lock」or 「Could not get main lock: File exists」,and the script couldnot work ====
new
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 another directory,please check [http://www.emacswiki.org/cgi-bin/oddmuse-zh.pl/Known_Problems Known_Problems]


$DataDir = 'c:/webpage/htdocs/oddmuse';


==== Q: [il10N] couldnot load chinese translation file ====
==== Q: [il10N] couldnot load chinese translation file ====
Line 14: Line 23:


==== 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 ====
==== 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  
A: lack of the module "XML::RSS". Plz check the req. of official website,
[http://www.oddmuse.org/cgi-bin/oddmuse-zh/Perl_%e6%a8%a1%e7%b5%84 Perl 模組]
[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: Oddmuse Migrate 搬家到別的主機 ====
==== 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:
A:
:* 修改 config 檔案,調整 $RefererTracking = 0 ,刪除 refer 目錄下的參照檔
:* modify config file,let $RefererTracking = 0 ,and del all refer files in "refer" directory 
:* 上傳 keep與page目錄
:* upload two dir "keep" and "page"
:* 刪除 pageidx 檔案 (強迫 Oddmuse 更新它的索引檔) 部分參考:oddmuse.org: [http://www.oddmuse.org/cgi-bin/oddmuse-zh/%e5%88%aa%e9%99%a4%e9%a0%81%e9%9d%a2 刪除頁面]
:* 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) 有其他的問題要如何解決? ====
==== 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