【问题标题】:Unable to access the backend/ configuration in JCE Editor无法访问 JCE 编辑器中的后端/配置
【发布时间】:2019-12-25 07:03:39
【问题描述】:

在我的 joomla 站点中使用了 JCE Pro2.6.19。我无法在编辑器中访问后端和配置。显示错误消息。我的 jommla 版本是 Joomla! 3.9.8 所以,我需要立即帮助来解决这个问题。

错误信息,

警告:require_once(/var/www/html/html/administrator/includes/toolbar.php):无法打开流:/var/www/html/html/administrator/components/com_jce 中没有这样的文件或目录/controller.php 在第 134 行

致命错误:require_once():在 /var/www 中打开所需的 '/var/www/html/html/administrator/includes/toolbar.php' (include_path='.:/usr/share/php') 失败/html/html/administrator/components/com_jce/controller.php 在第 134 行

【问题讨论】:

    标签: joomla


    【解决方案1】:

    编辑此文件:

    /administrator/includes/helper.php
    

    在“class JAdministratorHelper”上方添加:

    if(!class_exists('JToolbarHelper')) {
    require_once JPATH_ADMINISTRATOR . '/includes/toolbar.php';
    }
    

    或者你可以试试这个修复: https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9

    【讨论】:

    • 感谢您的支持。但我无法修复。当我在 helper.php 上添加您的代码时,我的 joomla 管理员面板无法正常工作。
    • 哦好吧,那请尝试第二种方法
    • 我认为这不是模板错误。我只能访问 JCE 编辑器配置面板。
    • 如果仍然无法正常工作,请尝试调用此文件:require_once JPATH_ADMINISTRATOR。 '/includes/subtoolbar.php';" 在控制器第 134 行而不是 toolbar.php 中,如果文件之前存在,还请查看您的包含文件夹
    • 您是否尝试从备份中获取 toolbar.php 并将其放入文件夹中?它也可以解决问题
    猜你喜欢
    • 1970-01-01
    • 2015-09-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-20
    • 2016-02-06
    • 1970-01-01
    • 2018-06-29
    相关资源
    最近更新 更多