我是关于heroku和亚马逊s3的django项目。我使用的是django 1.4.2和django-cms 2.3.4 我的问题是我无法编辑或添加任何插件到页面。 昨天它工作得很完美,但是在我改变了文本字段中的一些东西之后,这一切都出了问题...... 文本字段的问题现在已修复,但我仍然无法编辑/添加任何插件。我所知道的唯一的事情是以下错误消息:
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Failed to load resource: the server responded with a status of 403 (Forbidden)
Uncaught ReferenceError: cms_plugin_editor_jQuery is not defined xy.herokuapp.com:396
Uncaught TypeError: Cannot call method 'get' of undefined change_form.js:48
有人可以帮我吗?
谢谢
答案 0 :(得分:0)
我遇到了同样的问题。花2个小时试图以理智的方式解决它。避风港找到了答案。 我的应用程序版本为33.我已经在heroku网站上恢复了32版本。它在那里工作。恢复到33,它也有效。
也许它与heroku有关。
答案 1 :(得分:0)
检查您是否遇到了未加载CSRF中间件的问题。 CMS期望它在管理员中,并在不可用时生成此错误。