CDR module doesn't work after upgrade

Hi! CDR module doesnt’ work after upgrading to 12.0.21.
Now I can’t even downgrade it to 12.0.20. The same error is happening.

Please wait while module actions are performed

Installing cdr
FATAL ERROR
SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost:3306' (1)

SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost:3306' (1)

Trace Back

/var/www/html/admin/libraries/BMO/Database.class.php:70 PDO->__construct()
  [0]: mysql:host=localhost:3306;dbname=asteriskcdrdb
  [1]: freepbxuser
  [2]: **<my mysql password was here>**

/var/www/html/admin/modules/cdr/Cdr.class.php:35 Database-&gt;__construct()
  [0]: mysql:host=localhost:3306;dbname=asteriskcdrdb
  [1]: freepbxuser
  [2]: **<my mysql password was here>**

/var/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Cdr-&gt;__construct()
  [0]: 

/var/www/html/admin/libraries/BMO/Self_Helper.class.php:60 Self_Helper-&gt;autoLoad()
  [0]: Cdr

/var/www/html/admin/libraries/modulefunctions.class.php:2251 Self_Helper-&gt;injectClass()
  [0]: Cdr
  [1]: /var/www/html/admin/modules/cdr/Cdr.class.php

/var/www/html/admin/libraries/modulefunctions.class.php:1821 module_functions-&gt;_runscripts()
  [0]: cdr
  [1]: install
  [2]: 

/var/www/html/admin/page.modules.php:283 module_functions-&gt;install()
  [0]: cdr

/var/www/html/admin/config.php:341 include()
  [0]: /var/www/html/admin/page.modules.php

I change my password to
Any receipes to fix it? Thanks.

See this thread:

1 Like