【问题标题】:django-cms cannot edit/add plugins to a pagedjango-cms 无法编辑/添加插件到页面
【发布时间】:2013-02-13 08:36:34
【问题描述】:

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

谁能帮帮我?

谢谢

【问题讨论】:

  • 有同样的问题

标签: django heroku amazon-s3 django-cms


【解决方案1】:

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

也许它与heroku有关。

【讨论】:

    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 2013-08-01
      • 1970-01-01
      • 2017-04-24
      • 2015-11-26
      • 1970-01-01
      • 2014-02-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多