网站改动笔记和pmwiki安装

下了决定把网站从办公室的机子移植到虚拟主机上。网站也作了些变动,分成中文与英文两大块。

中文部分,包括桑林志桑林集,丢掉了桑树林的名字。呵呵。一方面有点太罗嗦了,另一方面,我看别人提到我这儿一般会说桑林志,可见它是个好名字。

英文部分。实际上,我E文还很差,做不到大篇大篇地写blog。但是,使用英文对我的未来很重要,特别是职业方面。Excited Light是个记录自己感兴趣的专业方面内容的blog。本站的首页,相当于大门,使用blogger.com是为了发布方便,另外,blogger.com让我更有bloggosphere之一员的感觉。取名 Node of Yan Feng,因为我们都互相连接,每个人都是其中一个节点。还有一个Wiki Yan Feng准备放一些英文的东西。

为啥要中英文分开?一方面,即使你设成utf-8编码,如果浏览者的系统没装中文支持还是看不了中文,会提示安装中文插件等等,很不好的感受;另一方面,装了中文,对于一个英语访问者,页面上包含许多不认识字符,不会是好的体验。

其它都很常规,我想提提Wiki Yan Feng的引擎pmwiki。pmwiki基于php和文本,不需要数据库。另外,它有许多特性很有意思,比如:groups,每个group甚至page都可以有自己的设置(我还没调出来),等等。它的帮助文档也很详细。

但它的安装在某些主机上比较麻烦。比如,我现在使用的,有很多限制。但到目前为止都可以解决。

1. 安装时不能自己建立wiki.d目录,可以手动建立。
2. 安装时不能生成.flock文件。这个文件用来处理多人同时编辑一个页面时可能遇到的情况,因此,如果你的wiki不是那种很繁忙的,不使用应该问题不大。在pmwiki.php和scripts/pagerev.php搜索Lock,删除掉包含lock函数的行就可以了。
3.页面历史纪录。安装完毕后,历史纪录可能不管用,这是因为你的提供商设置了safemode,这里有解决方案。51.net上,也可以这样解决。

订阅到鲜果

“网站改动笔记和pmwiki安装” 有 5 个回响

  1. 1
    zheng 说:

    中文处理还是有问题。我用来汉化的0.6.19,中文可以解决,可是又出现了另一个问题,http://www.comr.info/pmwiki/pmwiki.php/Main/HomePage

    要改那边呢?我甚至把xlpage-utf-8.php都清空了。

  2. 2
    桑葚 说:

    PmWiki/FAQAdmin上有这样两条:

    Q: I’m seeing error messages like “Warning: Cannot modify header information - headers already sent by (output started at …)” when I view pages — what do I do?
    A: Make sure there aren’t any extra blank lines or characters at either the beginning or end of your local.php file–these will generate spurious warnings.

    Q: I’m seeing error messages like “Warning: Cannot modify header information - headers already sent by (output started at …)” when I try to save a page — now what?
    A: Your web hosting provider may not be allowing calls to external programs such as diff(1) and patch(1), which are needed to compute page revisions. The Warnings page has a bit more information on this topic.

    第一条是很常见的,如果问题就在这儿的话,那就好办了。:)

  3. 3
    时光漫步(Donews) » links for 2006-05-25 说:

    [...] 桑林志 » 网站改动笔记和pmwiki安装 (tags: pmwiki) 归类于: del.icio.us — topcool @ 8:19 pm [...]

  4. 4
    简单 - links for 2006-08-19 说:

    [...] 网站改动笔记和pmwiki安装 [...]

  5. 5
    windows vista 说:

    thank you…

    windows vista…

敬请留言

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>