目前我正在SilverStripe项目上工作,并且一切似乎都运行平稳。 但事情发生了变化..今天早上我试图登录,并收到错误消息。 发展模式下运行提供了以下的ErrorMessage:Silverstripe/admin /突然停止工作
[用户错误]无法运行查询:。选择 “SiteTree_Live”, “类名”, “SiteTree_Live” “创建”, “SiteTree_Live”“LastEdited “, ”SiteTree_Live“。”URLSegment“,”SiteTree_Live“,”标题“, ”SiteTree_Live“。”MenuTitle“,”SiteTree_Live“。”Content“, ”SiteTree_Live“。”MetaTitle“,”SiteTree_Live“ MetaDescription “ ”SiteTree_Live“。 ”的MetaKeywords“, ”SiteTree_Live“。 ”ExtraMeta“, ”SiteTree_Live“。 ”ShowInMenus“, ”SiteTree_Live“。 ”ShowInSearch“, ”SiteTree_Live“。 ”HomepageForDomain“, ” SiteTree_ Live“,”ProvideComments“,”SiteTree_Live“,”Sort“, ”SiteTree_Live“,”HasBrokenFile“,”SiteTree_Live“,”HasBrokenLink“, ”SiteTree_Live“,”Status“,”SiteTree_Live“,”ReportClass“, “SiteTree_Live”。 “CanViewType”, “SiteTree_Live”。 “CanEditType”, “SiteTree_Live”。 “待办事项”, “SiteTree_Live”, “版本”, “SiteTree_Live”。 “PARENTID”,
阅读完整的错误信息:http://pastebin.com/TrjrEzUn
... WHERE ("SiteTree_Live"."ClassName" IN ('Page','BlogEntry','BlogTree','DienstHolder','DienstPage','FaqHolder','FaqPage','FrontPage','MemberPage','TeamPage','ErrorPage','RedirectorPage','VirtualPage','UserDefinedForm','BlogHolder')) AND (ParentID =) ORDER BY "Sort" You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY "Sort"' at line 1
GET /Security/login?BackURL=%2Fadmin
Line 525 in /home/admin/domains/stargroup.nl/public_html/sapphire/core/model/MySQLDatabase.php
我检查了我sql在空的类名上,有些地方找到了,但得到了正确的类名。 任何人有任何建议如何克服这个错误,并让登录回到工作再次?
Thnx提前!
错误是固定的。有关详细信息,请参阅:http://www.silverstripe.org/general-questions/show/19479#post312599 – oceanmountain 2012-03-14 10:34:15
请将答案标记为已接受。看到没有标记的解决问题令人沮丧。 – schellmax 2012-03-28 15:32:54