Installation language failed: Uncaught Error: Undefined class constant 'COI_STAT_OPT_IN

Hello :slight_smile:

I had a problem installing the german language-package.

When i load it up and want to install i recieve a empty window…

CentOS Linux release 7.4.1708
PHP 7.0.27

Error Log:


PHP Fatal error:  Uncaught Error: Undefined class constant 'COI_STAT_OPT_IN' in /var/www/html/suitecrm/cache/upgrades/temp/O7OfG0/include/language/de_DE.lang.php
 

I also recieve a warning from php


PHP Warning:  Redis::connect(): connect() failed: Connection refused in /var/www/html/suitecrm/include/SugarCache/SugarCacheRedis.php on line 102,
 

can someone help me? :frowning:
thx

I think this will fix your problem, it’s the same CentOS 7 linux

https://suitecrm.com/suitecrm/forum/installation-upgrade-help/15383-sugarcacheredis-php-on-line-102-error-after-install

1 Like

:whistle: you right… redis was dead…

but i can’t still install any package…



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, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718125 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP Stack trace:, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718130 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   1. {main}() /var/www/html/suitecrm/index.php:0, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718133 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   2. SugarApplication->execute() /var/www/html/suitecrm/index.php:52, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718136 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   3. AdministrationController->execute() /var/www/html/suitecrm/include/MVC/SugarApplication.php:105, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718138 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   4. AdministrationController->processView() /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:375, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718141 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   5. ViewClassic->process() /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:432, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718143 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   6. ViewClassic->display() /var/www/html/suitecrm/include/MVC/View/SugarView.php:199, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718146 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   7. ViewClassic->includeClassicFile() /var/www/html/suitecrm/include/MVC/View/views/view.classic.php:74, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718148 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   8. include_once() /var/www/html/suitecrm/include/MVC/View/SugarView.php:791, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718150 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP   9. require_once() /var/www/html/suitecrm/modules/Administration/UpgradeWizard.php:43, referer: http://scrm.gomi.network/index.php?module=Administration&action=index
[Mon Feb 05 15:21:39.718152 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP  10. require_once() /var/www/html/suitecrm/ModuleInstall/PackageManager/PackageManagerDisplay.php:46, referer: http://scrm.gomi.network/index.php?module=Administration&action=index

[Mon Feb 05 15:21:41.463915 2018] [:error] [pid 16171] [client 10.100.10.10:55970] PHP Fatal error:  Uncaught Error: Undefined class constant 'COI_STAT_OPT_IN' in /var/www/html/suitecrm/cache/upgrades/temp/MKXJhd/include/language/de_DE.lang.php:3521\nStack trace:\n#0 /var/www/html/suitecrm/modules/Administration/UpgradeWizardCommon.php(141): require_once()\n#1 /var/www/html/suitecrm/modules/Administration/UpgradeWizard_prepare.php(191): getLanguagePackName('/var/www/html/s...')\n#2 /var/www/html/suitecrm/include/MVC/View/SugarView.php(791): include_once('/var/www/html/s...')\n#3 /var/www/html/suitecrm/include/MVC/View/views/view.classic.php(74): SugarView->includeClassicFile('modules/Adminis...')\n#4 /var/www/html/suitecrm/include/MVC/View/SugarView.php(199): ViewClassic->display()\n#5 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#6 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(375): SugarController->processView()\n#7 /var/www/html/suitecrm/include/MVC/SugarApplication.php(105): SugarController->execute()\n#8 /var/www/html/suitecrm/index.php(52): Sug in /var/www/html/suitecrm/cache/upgrades/temp/MKXJhd/include/language/de_DE.lang.php on line 3521, referer: http://scrm.gomi.network/index.php?module=Administration&action=UpgradeWizard&view=module


Funny, I just answered this today…

https://suitecrm.com/suitecrm/forum/installation-upgrade-help/17623-issue-with-module-plugin-language

tell me if it works (and if it solves the other error too)

1 Like

Oh i did not see this - sorry… .

the first part was solved… but i can’t still install anything…



PHP Fatal error:  Uncaught Error: Undefined class constant 'COI_STAT_OPT_IN' in /var/www/html/suitecrm/cache/upgrades/temp/fvb97m/include/language/de_DE.lang.php:3521\nStack trace:\n#0 /var/www/html/suitecrm/modules/Administration/UpgradeWizardCommon.php(141): require_once()\n#1 /var/www/html/suitecrm/modules/Administration/UpgradeWizard_prepare.php(191): getLanguagePackName('/var/www/html/s...')\n#2 /var/www/html/suitecrm/include/MVC/View/SugarView.php(791): include_once('/var/www/html/s...')\n#3 /var/www/html/suitecrm/include/MVC/View/views/view.classic.php(74): SugarView->includeClassicFile('modules/Adminis...')\n#4 /var/www/html/suitecrm/include/MVC/View/SugarView.php(199): ViewClassic->display()\n#5 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#6 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(375): SugarController->processView()\n#7 /var/www/html/suitecrm/include/MVC/SugarApplication.php(105): SugarController->execute()\n#8 /var/www/html/suitecrm/index.php(52): Sug in /var/www/html/suitecrm/cache/upgrades/temp/fvb97m/include/language/de_DE.lang.php on line 3521, referer: http://scrm.gomi.network/index.php?module=Administration&action=UpgradeWizard&view=module

Check if your language pack matches exactly the version of SuiteCRM you are using… which one is it, btw?

It sounds like you’re using the 7.10RC language pack in a 7.9.x, but I might be mistaken…

1 Like

Ohhh :S :whistle:

Sorry…
That means that “=> SuiteCRM version: 7.10.0-RC || => Language pack version: 7.10.0.RC1 (works on previous versions too)” is not a correct Information…

i tried now the free german translation from diligent V 7.9.8.1 and it works :slight_smile:

Thank you for your help! :slight_smile:

Community language packs issues fixed:
7.10.x versions from Crowdin: https://crowdin.com/project/suitecrmtranslations
7.8.x and 7.9.x versions from sourceforge.net: https://sourceforge.net/projects/suitecrmtranslations/files/

1 Like