部署后奇怪的 Umbraco 后端行为
我以前也有过这样的经历,但似乎无法复制我当时所做的步骤。 我有一个 Umbraco 4.5.2。在开发环境中在端口 8084 上运行的站点。一切运作良好。
当我想将网站发布到生产服务器时,umbraco 后端似乎想继续使用端口 8084,因此我的后端(从登录开始)真的很奇怪。似乎无法更新任何内容(或任何其他相关内容)。
现在,我认为它与某种缓存有关,但是要更改哪些设置(或要删除哪些设置)?
这是我的登录屏幕(错误登录时没有红色边框)
这是我的后端(有内容 - 我可以在前端看到内容 - 只是在内容树中不可见);
这是我在开发计算机上的后端(除了粗略复制并编辑数据库连接字符串以匹配之外什么也没做我的生产数据库)。
I've had this before, but can't seem to replicate the steps I did back then.
I've got an Umbraco 4.5.2. site which is running on port 8084 in a development-environment. All works well.
When I want to publish the website to the production server, the umbraco-backend seems to want to keep using the port 8084 and therefor my backend (starting at login) is really strange. Can't seem to update any content (or anything else for that matter).
Now, I assume, it has something to do with caching of sorts, but what setting to change (or what to delete)?
This is my login-screen (no red border on erronous login)
And this is my back-end (there is content - i can see content in the front-end - just not visible in the content-tree);
This is my back-end on the development machine (did nothing but crude copy and edited the database connectionstring to match my production database).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如何更改端口号?我假设您将其放入 umbraco 内容树中根项的主机名中。
您是否尝试过重新发布整个站点以确保发布的链接不包含端口号?
How do you change the port number? I am assuming you're putting it into the hostname on the root item in umbraco content tree.
Have you tried republishing the entire site to make sure the published links do not contain the port number?