0

我有一个关于heroku 和amazon 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

谁能帮帮我?

谢谢你

4

2 回答 2

0

我有同样的问题。花 2 个小时尝试以理智的方式解决它。还没有找到答案。我在 app rev 33。我已经在 heroku 网站上恢复到 32 版本。它在那里工作。恢复到 33 并且它也有效。

也许它与heroku有关。

于 2013-04-10T11:33:11.790 回答
0

检查您是否没有遇到 CSRF 中间件未加载的问题。CMS 期望它在管理员中,并在它不可用时生成此错误。

于 2014-04-09T00:25:23.367 回答