DokuWiki 和 SQL 代码
我最近在我的域上安装了 DokuWiki,但遇到了一个棘手的问题。 我正在尝试输入这样的代码:
CREATE TABLE LOOM(
ID INT NOT NULL,
KIIP_ID INT NOT NULL,
NIMI VARCHAR(50) NOT NULL,
SYND DATE NOT NULL,
SURM DATE,
PRIMARY KEY (ID));
在标签之间,如果我尝试预览或保存更改,DokuWiki 会向我显示以下内容:
This topic does not exist yet
You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by using the Create this page button.
如何解决此问题?
I recently installed DokuWiki on my domain and ran in one nasty problem.
I am trying to enter such code:
CREATE TABLE LOOM(
ID INT NOT NULL,
KIIP_ID INT NOT NULL,
NIMI VARCHAR(50) NOT NULL,
SYND DATE NOT NULL,
SURM DATE,
PRIMARY KEY (ID));
between tags and if I am trying to preview or save the change, DokuWiki shows me this:
This topic does not exist yet
You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by using the Create this page button.
How to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅http://www.dokuwiki.org/faq:mod_security
See http://www.dokuwiki.org/faq:mod_security
您应该转义
标记之间的命令。就像下面这样。<代码>
<代码>
创建台织机(
ID INT 不为空,
KIIP_ID INT 不为空,
NIMI VARCHAR(50) NOT NULL,
同步日期不为空,
推测日期,
主键(ID));
如果您在预览时仍然遇到问题,那么 Andreas 是对的,这很可能是 Apache 的 Web 服务器配置问题。为了验证您是否可以在 nginx 上进行 redploy 并查看问题是否仍然存在。我这里有一个关于在 nginx 上部署 dokuwiki 的教程: http://bigthinkingapplied.com /启动-私人-维基百科-使用-dokuwiki/
You should escape the commands between the
<code></code>
tags. Like the below.<code>
CREATE TABLE LOOM(
ID INT NOT NULL,
KIIP_ID INT NOT NULL,
NIMI VARCHAR(50) NOT NULL,
SYND DATE NOT NULL,
SURM DATE,
PRIMARY KEY (ID));
</code>
If you still have problems previewing then Andreas is right it is most likely a web server configuration issue with Apache. To validate that you could redploy on nginx and see if the issue still persists. I have a tutorial about deploying dokuwiki on nginx here: http://bigthinkingapplied.com/launching-a-private-wikipedia-using-dokuwiki/