使用未定义常量 DIR_CACHE - 假设 'DIR_CACHE'
Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE'
我试图将我的 opencart 版本 1.5.6.4 升级到最新版本 3.0.2.0,并按照所有说明进行操作,并且能够做到这一点。我从 mysite 执行了安装程序。com/install 但收到错误 1051,我通过此处的解决方案修复了该错误。
无论如何,现在我已经完成了所有事情,我正在获取以下代码
[homepage][1]:-
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 9
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 25
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 63
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 47
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 25
Error: A theme has not beeareassigned to this store!
从管理页面登录后,我还会收到两个弹出窗口,内容如下:
Syntax error - unexpected token > in JSON at position 0
知道这可能指的是什么吗?任何帮助将不胜感激。
不确定这是否是官方批准的修复程序,但以下方法对我有用:
在您的 opencart 文件夹中,打开 config.php 和 admin/config.php 文件并将以下行添加到两个文件(调整安装的文件路径):
define('DIR_MODIFICATION', '/your/Path/To/opencart/system/modification/');
define('DIR_CACHE', '/your/Path/To/opencart/system/cache/');
define('DIR_LOGS', '/your/Path/To/opencart/system/logs/');
我对 DIR_MODIFICATION 和 DIR_LOGS 有类似的错误,因此三行。
还在系统子文件夹中创建了服务器上的目录。
关于他 DIR_MODIFICATION 错误的跳跃开始的学分:
http://www.betterhostreview.com/undefined-constant-dir_modification-opencart-error.html
我试图将我的 opencart 版本 1.5.6.4 升级到最新版本 3.0.2.0,并按照所有说明进行操作,并且能够做到这一点。我从 mysite 执行了安装程序。com/install 但收到错误 1051,我通过此处的解决方案修复了该错误。
无论如何,现在我已经完成了所有事情,我正在获取以下代码
[homepage][1]:-
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 9
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 25
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 63
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 47
Notice: Use of undefined constant DIR_CACHE - assumed 'DIR_CACHE' in /home/msgcl/public_html/ocart/system/library/cache/file.php on line 25
Error: A theme has not beeareassigned to this store!
从管理页面登录后,我还会收到两个弹出窗口,内容如下:
Syntax error - unexpected token > in JSON at position 0
知道这可能指的是什么吗?任何帮助将不胜感激。
不确定这是否是官方批准的修复程序,但以下方法对我有用:
在您的 opencart 文件夹中,打开 config.php 和 admin/config.php 文件并将以下行添加到两个文件(调整安装的文件路径):
define('DIR_MODIFICATION', '/your/Path/To/opencart/system/modification/');
define('DIR_CACHE', '/your/Path/To/opencart/system/cache/');
define('DIR_LOGS', '/your/Path/To/opencart/system/logs/');
我对 DIR_MODIFICATION 和 DIR_LOGS 有类似的错误,因此三行。
还在系统子文件夹中创建了服务器上的目录。
关于他 DIR_MODIFICATION 错误的跳跃开始的学分: http://www.betterhostreview.com/undefined-constant-dir_modification-opencart-error.html