在后台安装courier后,它会要求您输入一个位置,所以我输入了Umbraco的第二个实例的位置。
注销并重新登录后,我确实会在content - Good中获得额外的菜单项
同样在后台,当我转到Courier部分> Locations时,它会显示URL用户id ect - Good
如果我打开courier.config并更改任何内容(例如用户id),保存文件,然后触摸web配置文件以强制重新编译站点。
如果我转到Courier部分> Locations,我会看到以下消息
Location could not be loaded, this could be a configuration error, or because Courier is running in trial mode, and cannot not load locations not on the local machine即使我返回到courier.config并将其更改回原来的状态,它仍然显示相同的错误。我发现解决这个问题的唯一方法是卸载并重新安装courier。
有人能告诉我为什么会发生这种情况吗?我怎样才能修复它?
发布于 2015-01-14 01:20:54
不确定问题的方向,但这就是如何在courier.config中配置位置。用户0将是管理员用户,所以我不确定更改它是不是一个好主意。
<!-- Repository connection settings -->
<!-- For each site, a custom repository must be configured, so Courier knows how to connect and authenticate -->
<repositories>
<repository name="http://example.co.uk/" alias="http://examplecouk/" type="CourierWebserviceRepositoryProvider" visible="true">
<url>http://example.co.uk/</url>
<user>0</user>
<!--
Alternative, you can specify the specific login / password / encryption values
<login>admin</login>
<password>1234</password>
<passwordEncoding>Clean|Hashed</passwordEncoding>
-->
</repository>
</repositories>https://stackoverflow.com/questions/26388515
复制相似问题