2017-11-04 10 views
0

opencart 버전 1.5.6.4를 최신 버전 3.0.2.0으로 업그레이드하려고 시도하고 모든 지시 사항을 따르고 수행 할 수있었습니다. mysite.com/install에서 설치 절차를 수행했지만 오류 1051이 발생했습니다. 해결책은 여기에 있습니다.정의되지 않은 상수 DIR_CACHE 사용 - 가정 DIR_CACHE

어쨌든, 지금 내가했던 모든 것을, 나는에 다음 코드를 얻고있다

[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! 

있다 또한 나는 같은과 관리자 페이지에서 로그인 후 수 개의 팝업 :

구문 오류 - 예기치 않은 토큰>이 0 위치의 JSON에서

어떤 아이디어일까요? 어떤 도움을 주시면 감사하겠습니다. 이 공식적으로 승인 된 수정의 경우

+0

재설치도 문제를 해결할 수 있습니다! –

답변

0

확실하지,하지만 나를 위해 일한 다음 : 당신의 opencart 폴더에서

의 config.php를 및 관리/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