Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provider rates import broken after update #671

Open
dimambl opened this issue Mar 13, 2024 · 0 comments
Open

Provider rates import broken after update #671

dimambl opened this issue Mar 13, 2024 · 0 comments

Comments

@dimambl
Copy link

dimambl commented Mar 13, 2024

Provider rate import is broken after recent Magnus update. Getting a big red error window:

MYSQL message. CDbException Object ( [errorInfo] => Array ( [0] => 22007 [1] => 1292 [2] => Truncated incorrect DECIMAL value: ' Dialcodes' ) [message:protected] => CDbCommand failed to execute the SQL statement: SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DECIMAL value: ' Dialcodes' [string:Exception:private] => [code:protected] => 22007 [file:protected] => /var/www/html/mbilling/yii/framework/db/CDbCommand.php [line:protected] => 358 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/html/mbilling/protected/controllers/RateProviderController.php [line] => 179 [function] => execute [class] => CDbCommand [type] => -> ) [1] => Array ( [file] => /var/www/html/mbilling/protected/controllers/RateProviderController.php [line] => 89 [function] => importRates [class] => RateProviderController [type] => -> ) [2] => Array ( [file] => /var/www/html/mbilling/yii/framework/web/actions/CInlineAction.php [line] => 49 [function] => actionImportFromCsv [class] => RateProviderController [type] => -> ) [3] => Array ( [file] => /var/www/html/mbilling/yii/framework/web/CController.php [line] => 308 [function] => runWithParams [class] => CInlineAction [type] => -> ) [4] => Array ( [file] => /var/www/html/mbilling/yii/framework/web/CController.php [line] => 286 [function] => runAction [class] => CController [type] => -> ) [5] => Array ( [file] => /var/www/html/mbilling/yii/framework/web/CController.php [line] => 265 [function] => runActionWithFilters [class] => CController [type] => -> ) [6] => Array ( [file] => /var/www/html/mbilling/yii/framework/web/CWebApplication.php [line] => 282 [function] => run [class] => CController [type] => -> ) [7] => Array ( [file] => /var/www/html/mbilling/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> ) [8] => Array ( [file] => /var/www/html/mbilling/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> ) [9] => Array ( [file] => /var/www/html/mbilling/index.php [line] => 11 [function] => run [class] => CApplication [type] => -> ) ) [previous:Exception:private] => )

I though removing strict mode in PHP might solve the problem but i did not.
No rates can be added only manually one by one which makes is impossible

Please advice howe it can be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant