vtiger icon indicating copy to clipboard operation
vtiger copied to clipboard

problem with languages

Open DeyV opened this issue 6 years ago • 4 comments

after latest docker update I have problem with translations.

Most strings I see as "LBL_*" form example LBL_SUMMARY No matter what language is selected

I have docker-file with 3 volumes

    volumes:
      - vtiger-storage:/var/www/html/storage
      - vtiger-logs:/var/www/html/logs
      - vtiger-users:/var/www/html/user_privileges

Probably problem is with this new main volume, but I can't fine reason.

DeyV avatar Oct 21 '19 09:10 DeyV

Hi @DeyV, this is a side effect by the new feature called "Single Point of Volume", now all custom data and storage are placed into this folder /var/lib/vtiger, then if you mount volume for custom languages need to switch from /var/www/html/languages to /var/lib/vtiger/languages. Give me any feedback

francescobianco avatar Oct 21 '19 12:10 francescobianco

no - i don't have any additional volumes - only this 3.

DeyV avatar Oct 21 '19 12:10 DeyV

@DeyV try to replace all this

    volumes:
      - vtiger-storage:/var/www/html/storage
      - vtiger-logs:/var/www/html/logs
      - vtiger-users:/var/www/html/user_privileges

with this

    volumes:
      - vtiger:/var/lib/vtiger

francescobianco avatar Oct 21 '19 12:10 francescobianco

OK. After this change is better.

Translations works but now I have again problem with {"success":false,"error":{"code":"Illegal request","message":"Illegal request","title":null}} after login and in many actions.

So far this type of problems was connected with missing files user_privileges_*.php And this files I always regenerate with php -f vtlib/tools/console.php - module add and remove

But now:

  • I don't have any errors in PHP logs
  • trick with console don't works any more

DeyV avatar Oct 28 '19 08:10 DeyV