如何在没有仪表板或命令行的情况下重新启用Orchard CMS功能

Nei*_*ant 4 orchardcms

我刚刚在我的Orchard安装上禁用了Comments功能,没有意识到它是Disqus的依赖项,现在整个站点包括管理仪表板都失败了,出现此错误:

与政策上键入"Disqus.Comments.Services.DisqusCommentUpdateService" Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper'里找到的建设者都不能在可用的服务和参数来调用:构造函数"太虚.ctor(Orchard.IOrchardServices,Disqus .Comments.Services.IDisqusMappingService,Orchard.Comments.Services.ICommentService)'参数解析在参数'Orchard.Comments.Services.ICommentService commentService'失败.描述:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息.异常详细信息:Autofac.Core.DependencyResolutionException:用政策"Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper"上键入"Disqus.Comments.Services.DisqusCommentUpdateService"里找到的建设者都不能在可用的服务和参数来调用:构造函数'虚空.ctor(Orchard.IOrchardServices,Disqus.Comments.Services.IDisqusMappingService,Orchard.Comments.Services.ICommentService)Orchard.Comments.Services.ICommentService commentService"参数分辨率参数失败".

Orchard安装在Web主机上运行,​​我无法访问那里的命令行.我有FTP访问权限,并可以访问MS SQL数据库.有没有办法在不访问命令行或Web管理界面的情况下重新启用"注释"功能?

Gis*_*mby 6

有一个文件/orchard.web/app_data/cache.dat,它是一个xml,包含启用了哪些功能的列表.

文档警告说修改它可能会产生不可预测的结果,所以请注意:http://docs.orchardproject.net/Documentation/Developer-FAQ#What'sinApp_Data?