Hi, i’ve got the Undefined error on a 7.1.5 version.
With English or Russian Language the system is ok.
With Italian or Espanol Language i get the “Undefined” messages.
I digged into the code and found that this messages are caused by
cache/jsLanguage/it_it.js
or
cache/jsLanguage/es_es.js
where there is written:
SUGAR.language.setLanguage('app_strings', );
SUGAR.language.setLanguage('app_list_strings', {"language_pack_name":"IT Italiano","moduleList":
....
or
SUGAR.language.setLanguage('app_strings', );
SUGAR.language.setLanguage('app_list_strings', {"language_pack_name":"Espa\u00f1ol","moduleList":{
...
the first row generates the error.
These file are created by:
include/language\jsLanguage.php
Thanks in advance for your help
Hi,
I created a pull request for this:
https://github.com/salesagility/SuiteCRM/pull/226
The problematic files are:
custom/Extension/application/Ext/Language/**_**.SecurityGroups.php
for the language es, fr, it and pt
You can use the files in this commit
https://github.com/JanSiero/SuiteCRM/commit/f6ca385ceb4e25fa9a6e9eeac524b89b921a6a3b
For each file:
- click on “View”
- right click on “Raw”
- Save file to directory
custom/Extension/application/Ext/Language
Afterwards
- Do a Admin / Repair / “Quick Repair and Rebuild”
- Do a Admin / Repair / “Rebuild Javascript Languages”
1 Like
Yes!
Thank you very much Jan Siero.
What i did is to follow your instructions and before saving, i format the file in “UTF-8 without BOM” thanks to Notepad++
In addiction i noticed that in my previsious hosting i was using: PHP Version 5.3.8 and it worked.
While in the hosting i’m using now i have PHP Version 5.5.17