【问题标题】:New article page on Joomla failsJoomla 上的新文章页面失败
【发布时间】:2012-10-05 07:03:20
【问题描述】:

我有一个问题,我不知道如何解决。我有一个看起来很完美的 joomla 网站 (http://secretinvizimals.com/)。只有一个页面失败 - 我的添加新文章页面。

这是我的问题的链接:http://secretinvizimals.com/index.php/contribute 您可能需要先使用以下凭据登录: 用户名:StackOverflow 密码:StackOverflow 您可以在首页顶部登录:http://secretinvizimals.com/

只是很短:问题是页面没有样式:

有没有人知道我可以从哪里开始 - 或者可能是一个解决方案?

以下是关于我的 joomla 网站的一些常见问题解答:

  • Joomla 2.5.7 版
  • 在 Artisteer 4.0 中开发的自定义主题

我希望你能帮助我。

BR

【问题讨论】:

    标签: html joomla


    【解决方案1】:

    Firebug/Chrome 开发人员工具指出您缺少 editor.css 文件。这是用于编辑内容的样式表。它正在寻找的链接在这里: http://secretinvizimals.com/index.php/skins/kama/editor.css?t=C3HA5RM 虽然那里没有文件 - 从其他链接来看,我猜这是一个旧模板或什么的?如果文件确实存在于另一个位置,您要么需要更改文件位置,要么需要为它创建一个文件并放入标准内容。

    Chrome 开发者工具也发现了六个错误

    <error> index.php:1
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/config.js?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/skins/kama/editor.css?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/lang/en-gb.js?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/plugins/linkBrowser/plugin.js?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/plugins/mediaembed/plugin.js?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/plugins/readmore/plugin.js?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/plugins/tableresize/plugin.js?t=C3HA5RM
    Failed to load resource: the server responded with a status of 404 (Not Found) http://secretinvizimals.com/index.php/plugins/autogrow/plugin.js?t=C3HA5RM
    Uncaught [CKEDITOR.resourceManager.load] Resource name "linkBrowser" was not found at "http://secretinvizimals.com/index.php/../plugins/linkBrowser/plugin.js?t=C3HA5RM". index.php:1519
    Uncaught RangeError: Maximum call stack size exceeded (x10)
    Uncaught RangeError: Maximum call stack size exceeded index.php:1654 (x2)
    Uncaught RangeError: Maximum call stack size exceeded (x6)
    Uncaught RangeError: Maximum call stack size exceeded index.php:1654 (x2)
    Uncaught RangeError: Maximum call stack size exceeded (x6)
    

    最初的原因是页面顶部没有 doctype、html 声明或任何内容。这有点令人困惑。我不得不假设这是某种模板问题。但显然,从外部访问测试类似的东西要困难得多。您是否尝试过打开 Joomla 调试功能以查看发生了什么?

    【讨论】:

    • 谢谢...我会尝试这样做
    • 不用担心。告诉我你发现了什么!
    • 它在 Internet Explorer 10 和 Chrome 中仍然无法正确显示。但 Firefox 做对了。你知道这是怎么回事吗?
    • 我可以看到你正在将 js 文件合并在一起。你能暂时停止吗?导致我在 chrome 控制台中看到的所有错误都是该合并的 javascript 文件中的“超出最大调用堆栈大小”。看看它是否与实际的 js 或它是否与文件的组合方式有关,这将很有用! Firefox、chrome 和 IE 的呈现方式都不同,因此一个工作而另一个坏的情况并不少见
    • 让它工作。错误正是javascripts的合并
    猜你喜欢
    • 1970-01-01
    • 2013-08-02
    • 2015-12-29
    • 1970-01-01
    • 1970-01-01
    • 2013-12-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多