Почему на странице серии появляется ошибка?

Енот
Новичек
Регистрация
9 Янв 2019
Сообщения
99
#1
Если включить модуль "серии сериалов", то при переходе на странице сериала в разные серии с озвучками, выдается ошибка 502 cloudfare. Если отключить модуль, то нет ошибки.
 
Думает, что помогает
Регистрация
15 Дек 2017
Сообщения
2,033
#2
Если включить модуль "серии сериалов", то при переходе на странице сериала в разные серии с озвучками, выдается ошибка 502 cloudfare. Если отключить модуль, то нет ошибки.
Вы меняли что-то в шаблоне?
 
Енот
Новичек
Регистрация
9 Янв 2019
Сообщения
99
#5
Откройте putty и введите команду pm2 logs, там возможно будет ошибка.
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.parseEpisode [as parse] (/home/example.com/modules/CP_episode.js:239:23)
at Object.pageMovie [as movie] (/home/example.com/lib/CP_page.js:224:37)
at /home/example.com/routes/paths/movie.js:375:21
at /home/example.com/node_modules/async/dist/async.js:3888:9
at /home/example.com/node_modules/async/dist/async.js:473:16
at replenish (/home/example.com/node_modules/async/dist/async.js:1006:25)
Error: Cannot find module '../files/translators.json'
 
Енот
Новичек
Регистрация
9 Янв 2019
Сообщения
99
#7
Думает, что помогает
Регистрация
15 Дек 2017
Сообщения
2,033
#8
Этот файл должен находиться в папке files относительно корневой папки? Просто там нет такой папки, вместе с папкой вряд ли бы удалил
Относительно папки сайта.