我试图在果园命令行中创建一个新的主题,但我得到了一个错误。提前谢谢你。
orchard>代码生成主题CWSTheme
执行"codegen主题CWSTheme“命令时出错
None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProx
y2.ConstructorFinderWrapper' on type 'Orchard.Security.Authorizer' can be invoke
d with the available services
在Modules\Orchard.MediaLibrary\Views\Parts\Document.SummaryAdmin.cshtml v1.8.1.0中,单击内容链接(/Admin/ Content /List)文件名OrchardCMS时会收到以下错误消息
对象引用未设置为对象的实例.
Source Error:
Line 3: @{
Line 4: DocumentPart documentPart = Model.ContentPart;
//The following line throws the exception
Line 5: var
我创建了一个果园网站(1.8版)
它是通过WebMatrix创建的。
在当地,一切都很好。
当我将它上传到我的服务器(也通过WebMatrix进行网络部署)时,我会收到以下错误消息:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or
使用Orchard.Projections模块,不可能在Unicode文本中搜索。例如,结果查询是Select ... From ... Where ... Col Like '%term%',但是我们期望Select ... From ... Where ... Col Like N'%term%' (N包括在Like之后)。在代码中查找它,我们可以在public static BinaryExpression Like()中找到Orchard.ContentManagement.HqlRestrictions。通过添加N并将value = "'
我的目标是使果园CMS与MongoDB一起工作。
我在Google上寻找一些关于如何从集成开始的资源,但是我没有找到任何关于这方面的文档。
有人已经让Orchard使用NoSQL DB了吗?将默认数据库从Server修改为MongoDB的第一步是什么?
我看了这份文件:
读
Performance improvements by unleashing the power of the document db architecture built in Orchard
但我不明白这到底意味着什么
在“果园用户之声”中,支持延长MongoDB的票数已经达到43票
我们使用的是Orchard 1.8.1,当为分类法添加一个新的术语时,我们会得到这个错误。我们在密码上没有改变任何东西。
对象引用未设置为对象的实例.
描述:在执行当前web请求时发生了未处理的异常。请查看堆栈跟踪以获得有关错误的更多信息,以及它起源于代码的位置。
异常详细信息:System.NullReferenceException: Object reference not set to an instance of an object.
源错误:
Line 3: @using Orchard.Fields.Settings;
Line 4: @{
Line 5: var
我使用Orchard CMS 1.10.1,我在部署一个现有的App_Data文件夹(它已经包含一个已完成的网站)时有问题,当我试图加载网站时,我会得到这个错误。
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the follow
在我们的Orchard CMS主页上运行了几天之后,我们的网站就离线了。站点重新启动是不够的。我必须重新启动/回收应用程序池。然后这个网站又开始运行了。错误日志显示以下消息。我有一个运行在网络映射上的Orchard站点。所以我认为这样的错误可能发生在网络驱动器的连接中断之后?
2014-09-09 01:39:29,260 [8] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default
(null)
System.ArgumentException: Ein Elemen
运行一个果园站点,最近升级到了1.7.2。似乎工作了一段时间,然后几天后,我在任何博客帖子页面上都得到了这个异常。
[GenericADOException: could not execute query [ SELECT TOP (@p0) this_.Id as Id332_3_, this_.Number as Number332_3_, this_.Published as Published332_3_, this_.Latest as Latest332_3_, this_.Data as Data332_3_, this_.ContentItemRecord_id as Co
我正在创建新的模块,称为"sms“在果园cms使用网络矩阵。我成功地创建了它,但是当我生成"migrateions.cs“时,它没有成功地生成。
下面给出了我在模型中的sms.cs类
using System.Collections.Generic;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
我希望在迁移中启用特定的模块,但该模块没有立即启用。
这里的问题似乎是模块的状态,它在表Rising中被设置为Orchard_Settings_ShellFeatureStateRecord。在这种情况下,我无法在Admin中手动启用该模块,我需要在迁移执行之后重新启动web服务器,以使模块处于Up状态。
迁移代码看起来像
public class Migration: Orchard.Data.Migration.DataMigrationImpl
{
// public
public Migration(Orchard.Environment.Features.IFeature