【问题标题】:Opencart ErrorsOpencart 错误
【发布时间】:2017-07-21 18:10:29
【问题描述】:

我的 Opencart 商店(2.0 版)出现问题。几天来我没有进行任何更改,而且我的托管公司周末不工作......而且周末似乎总是出现问题。

当我尝试登录我的管理面板时,我收到了这个错误:

警告:session_start(): 打开(/tmp/sess_6944b43ff0351f3609154764b353ba7c,O_RDWR)失败: 权限被拒绝 (13) 在 /home/thespace/public_html/system/library/session.php 上线 23警告:session_start():无法发送会话缓存限制器 - 标头已发送(输出开始于 /home/thespace/public_html/admin/index.php:165) 在 /home/thespace/public_html/system/library/session.php 在第 23 行

网站的前端除了结帐外都能正常工作...尝试访问它时出现此错误:

警告:session_start(): 打开(/tmp/sess_6944b43ff0351f3609154764b353ba7c,O_RDWR)失败: 权限被拒绝 (13) 在 /home/thespace/public_html/system/library/session.php 上线 23警告:session_start():无法发送会话缓存限制器 - 标头已发送(输出开始于 /home/thespace/public_html/index.php:207) 在 /home/thespace/public_html/system/library/session.php 上线 23警告:无法修改标头信息 - 标头已由 (输出开始于 /home/thespace/public_html/index.php:207) /home/thespace/public_html/vqmod/vqcache/vq2-system_engine_controller.php 在第 28 行警告:无法修改标头信息 - 标头已经 发送者(输出开始于 /home/thespace/public_html/index.php:207) 在 /home/thespace/public_html/vqmod/vqcache/vq2-system_engine_controller.php 第 29 行

致命错误:在非对象上调用成员函数 get() /home/thespace/public_html/index.php 在第 205 行

我已尝试在 Google 上搜索该问题,但似乎无法找到解决方法。我确实注意到我的 vqcache 中没有 public_html/vqmod/vqcache/vq2-system_engine_controller.php 文件,我已经尝试恢复该站点的旧备份,但也没有用!

真的需要这方面的帮助。

【问题讨论】:

    标签: php opencart2.x


    【解决方案1】:

    尝试删除vqmod/vqcache的所有文件并删除vqmod/mods.cache的文件

    【讨论】:

      【解决方案2】:

      首先你需要检查网站中是否有 vqmod,如果有的话:

      1) 从 vqmod 文件夹中删除 mods.cache 和 checked.cache 文件 2) 从 vqmod/vqcache 中删除所有缓存文件

      第二次检查是否有任何通过 OCMod 安装的扩展程序(如果有)然后转到管理员并清除并刷新修改。

      我认为这些会有所帮助,因为它曾经帮助过我一次。

      【讨论】:

        【解决方案3】:
        It seems the plugin/extension you have installed using VQMOD/OCMOD is not working properly somehow.
        
        Here are some ways to show the error message:
        
        1. Set your “Output Compression Level” to 0 in the System > Settings > Server tab.
        2. Then open php.ini and add code below:
                   I. display_errors = 1;
                   II. error_reporting = E_ALL;
                   III. log errors = 1;
        3. If your server not read the php.ini, we will use an alternative method. Open index.php and add code below at the top (line 2):
                   I. ini_set('display_errors', 1);
                   II. ini_set('log_errors', 1);
                   II. error_reporting(E_ALL);
        4. Once you have fixed the problem, remove the above code.
        
           If It's just warning then You should do inverse process.
           You have to disable display error using Admin Panel of Opencart Application.
        

        【讨论】:

          【解决方案4】:
          1. 删除 vqcache
          2. 删除 mods.cache
          3. 删除checked.cache
          4. 清除修改 艾米是对的。这只是帮助了我的朋友。

          【讨论】:

            猜你喜欢
            • 2011-10-21
            • 2015-07-23
            • 1970-01-01
            • 1970-01-01
            • 1970-01-01
            • 1970-01-01
            • 1970-01-01
            • 2014-01-15
            • 1970-01-01
            相关资源
            最近更新 更多