Extra Form
PHP PHP 7.4
CMS Rhymix 2.1

Fatal error: Uncaught Rhymix\Framework\Exception: Cannot write template cache file: /host/home4/sxgha/html/xe/files/cache/template/modules/message/skins/xedition/system_message.html.compiled.php in /host/home4/sxgha/html/xe/common/framework/Template.php:371 Stack trace: #0 /host/home4/sxgha/html/xe/classes/display/HTMLDisplayHandler.php(98): Rhymix\Framework\Template->compile() #1 /host/home4/sxgha/html/xe/classes/display/DisplayHandler.class.php(67): HTMLDisplayHandler->toDoc() #2 /host/home4/sxgha/html/xe/classes/module/ModuleHandler.class.php(1229): DisplayHandler->printContent() #3 /host/home4/sxgha/html/xe/classes/context/Context.class.php(1650): ModuleHandler->displayContent() #4 /host/home4/sxgha/html/xe/common/framework/Debug.php(787): Context::displayErrorPage() #5 /host/home4/sxgha/html/xe/common/framework/Debug.php(660): Rhymix\Framework\Debug::displayErrorScreen() #6 [internal function]: Rhymix\Framework\Debug::exceptionHandler() #7 {main} thrown in /host/home4/sxgha/html/xe/common/framework/Template.php on line 371

Fatal error: Uncaught Rhymix\Framework\Exception: Cannot write template cache file: /host/home4/sxgha/html/xe/files/cache/template/modules/message/skins/xedition/system_message.html.compiled.php in /host/home4/sxgha/html/xe/common/framework/Template.php:371 Stack trace: #0 /host/home4/sxgha/html/xe/classes/display/HTMLDisplayHandler.php(98): Rhymix\Framework\Template->compile() #1 /host/home4/sxgha/html/xe/classes/display/DisplayHandler.class.php(67): HTMLDisplayHandler->toDoc() #2 /host/home4/sxgha/html/xe/classes/module/ModuleHandler.class.php(1229): DisplayHandler->printContent() #3 /host/home4/sxgha/html/xe/classes/context/Context.class.php(1650): ModuleHandler->displayContent() #4 /host/home4/sxgha/html/xe/common/framework/Debug.php(787): Context::displayErrorPage() #5 /host/home4/sxgha/html/xe/common/framework/Debug.php(690): Rhymix\Framework\Debug::displayErrorScreen() #6 [internal function]: Rhymix\Framework\Debug::shutdownHandler() #7 {main} thrown in /host/home4/sxgha/html/xe/common/framework/Template.php on line 371

 

관리자모드에 불필요한 모듈을 정리했고 캐시파일등을 재정리를 했는데

위 메세지처럼 나오면서 진행이 안되네요 ㅠㅜ

 

  • profile

    Cannot write ~~ 퍼미션 문제로 보입니다.

     

    xe → files 밑에 있는 cache 폴더를 통째로 삭제해 보세요.

    캐시 폴더는 저절로 다시 생기기 때문에, FTP에서 삭제해 버려도 괜찮습니다.

     

    만약 삭제되지 않는다면 그것도 문제이고, 다시 생기지 않는다면 상위 폴더에도 퍼미션 문제가 있다는 뜻입니다. 국내 웹호스팅의 고질적인 퍼미션 문제를 제대로 짚고 넘어가지 않으면 사진이 업로드되지 않거나 이런저런 잔고장에 시달리게 되니, FTP에서 퍼미션을 조정하거나 호스팅 업체에 요청해서라도 files 폴더 아래의 모든 퍼미션을 확실하게 처리하시기 바랍니다.

  • profile ?
    댓글 감사합니다.
    cache도 지우고 cache_1718939802 이런 폴더도 생겨서 지우고 있는데
    오래걸리네요. 이거 지워도 상관없겠죠?
    설치하는 가운데 제 서버 용량이 2g인데 벌써 다 찼네요 ㄷㄷ
  • ? profile

    네, cache로 시작하는 것은 모두 삭제하셔도 됩니다. XE는 노폐물이 많이 쌓이더라구요.
    퍼미션 문제가 아니더라도 용량이 가득차면 Cannot write ~ 오류가 뜰 수 있으니,
    모두 삭제하시면 어떻게든 도움은 될 것 같습니다.

  • ? profile

    files/cache 폴더 삭제시 폴더가 큰 경우 삭제중 사용자가 접속하며 파일이 재생성되어 폴더삭제가 깔끔히 불가능할수 있습니다. 따라서 웹에서 캐시 삭제시 cache 폴더를 cache_1718939802 등 임의 이름으로 변경후 삭제하게 됩니다.

    다만 이과정중 폴더가 너무 커 처리 도중 타임아웃으로 중단되면 cache_숫자 폴더가 남을 수 있습니다. 삭제 중 남은 찌꺼기이므로 삭제하셔도 무방합니다.

     

    (팁으로 FTP에서 삭제시에도 cache 폴더 이름 변경후 삭제하시면 깔끔히 삭제 가능합니다)