Hi,
I was wondering if someone can lend me a hand on the issue im having. Im trying to add the spanish language. I download the zipfile from this site https://crowdin.com/project/suitecrmtranslations the ES. then uploaded it though the module section of the admin page. Put it wont load it. i check the NGINX logs and found this.
2018/02/04 21:35:04 [error] 1009#1009: *154 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of ListViewPackages::setup($data, $file, $where, $params = Array, $offset = 0, $limit = -1, $filter_fields = Array, $id_field = 'id') should be compatible with ListViewDisplay::setup($seed, $file, $where, $params = Array, $offset = 0, $limit = -1, $filter_fields = Array, $id_field = 'id', $id = NULL) in /var/www/html/suitecrm/ModuleInstall/PackageManager/ListViewPackages.php on line 42
PHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/suitecrm/include/utils.php on line 3576
PHP message: PHP Notice: Use of undefined constant JSON_LOOSE_TYPE - assumed 'JSON_LOOSE_TYPE' in /var/www/html/suitecrm/include/ytree/Tree.php on line 76" while reading response header from upstream, client: 192.168.3.2, server: 192.168.3.198, request: "POST /index.php?module=Administration&view=module&action=UpgradeWizard HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "192.168.3.198", referrer: "http://192.168.3.198/index.php?module=Administration&view=module&action=UpgradeWizard"
Thanks for the quick reply, as i think it seems to fix that error but still cant upload the language, im getting another error
2018/02/05 23:28:26 [error] 1009#1009: *200 FastCGI sent in stderr: "PHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/suitecrm/include/utils.php on line 3576
PHP message: PHP Notice: Use of undefined constant JSON_LOOSE_TYPE - assumed 'JSON_LOOSE_TYPE' in /var/www/html/suitecrm/include/ytree/Tree.php on line 76" while reading response header from upstream, client: 192.168.3.2, server: 192.168.3.198, request: "POST /index.php?module=Administration&view=module&action=UpgradeWizard HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "192.168.3.198", referrer: "http://192.168.3.198/index.php?module=Administration&view=module&action=UpgradeWizard"
What i did i went to /var/www/html/suitecrm/ModuleInstall/PackageManager then found the listviewpackages.php edit the line you told to replace saved then retried to upload the es_ES and it just shows blank.
2018/02/06 21:35:52 [error] 1009#1009: *386 FastCGI sent in stderr: "PHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/suitecrm/include/utils.php on line 3576
PHP message: PHP Notice: Use of undefined constant JSON_LOOSE_TYPE - assumed 'JSON_LOOSE_TYPE' in /var/www/html/suitecrm/include/ytree/Tree.php on line 76" while reading response header from upstream, client: 192.168.3.24, server: 192.168.3.198, request: "POST /index.php?module=Administration&view=module&action=UpgradeWizard HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "192.168.3.198", referrer: "http://192.168.3.198/index.php?module=Administration&action=UpgradeWizard&view=module"
Thanks for the reply
PHP version 7.1
mysql Ver 15.1 Distrib 10.0.33-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
I saw was looking at the link for the github, but steps 3 and 4 does not show nothing