V
V
Vasyl Vandych2020-09-03 15:10:18
CodeIgniter
Vasyl Vandych, 2020-09-03 15:10:18

Why are all phrases removed from the json file after switching the language in the admin panel?

I have such a problem, there is a script on Codeigniter, admin and frontend.
For some reason, when switching the language in the admin panel, all phrases from the json file disappear.
On the frontend, the language change is normal, I just change it in the admin panel, everything flies at once and the json file is empty.

This is observed only on hosting, on Openserver everything is fine when switching languages ​​​​everywhere.

what could be the problem?
1 screen which file is cleared.
5f50dcc584b54903253088.png

2 screen file structure
5f50dcd0c7860918892185.png

3 screen translation function from the admin panel.

5f50dcd994d6c122423674.png

phrases are displayed on the site_phrase front

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question