我使用 SS 3.0.5 从http://www.silverstripe.org/comments-module/ (v 1.0.0.)安装了评论模块。在 Ubuntu 上使用 PostgreSQL 作为数据库。我将提取的文件夹复制到我的 SS 实例的根文件夹并进行了重建,但没有收到任何错误消息。之后我收到“服务器错误 - 抱歉,处理您的请求时出现问题。” 以及在我的error.log 中这篇文章底部显示的错误消息。
任何帮助,将不胜感激。
马库斯
[Mon Apr 08 08:26:45 2013] [error] [client 127.0.0.1] PHP Fatal error: Couldn't
run query: SELECT DISTINCT "SiteTree_Live"."ClassName", "SiteTree_Live"."Create
d", "SiteTree_Live"."LastEdited", "SiteTree_Live"."URLSegment", "SiteTree_Live".
"Title", "SiteTree_Live"."MenuTitle", "SiteTree_Live"."Content", "SiteTree_Live"
."MetaTitle", "SiteTree_Live"."MetaDescription", "SiteTree_Live"."MetaKeywords",
"SiteTree_Live"."ExtraMeta", "SiteTree_Live"."ShowInMenus", "SiteTree_Live"."Sh
owInSearch", "SiteTree_Live"."Sort", "SiteTree_Live"."HasBrokenFile", "SiteTree_
Live"."HasBrokenLink", "SiteTree_Live"."ReportClass", "SiteTree_Live"."CanViewTy
pe", "SiteTree_Live"."CanEditType", "SiteTree_Live"."ProvideComments", "SiteTree
_Live"."Version", "SiteTree_Live"."ParentID", "SiteTree_Live"."ID", CASE WHEN "S
iteTree_Live"."ClassName" IS NOT NULL THEN "SiteTree_Live"."ClassName" ELSE 'Sit
eTree' END AS "RecordClassName" FROM "SiteTree_Live" WHERE ("URLSegment" = 'them
es' AND "ParentID" = 0) ORDER BY "SiteTree_Live"."Sort" ASC LIMIT 1 | ERROR: co
lumn SiteTree_Live.ProvideComments does not exist\nLINE 1 in /var/www/aep-ss/fra
mework/model/Database.php on line 693