I'm starting a transaction for 5.85 units. When I type 85 into the centiles field and click 'save' I get an error message on the next screen that says "Centiles cannot be longer than 2 characters but is currently 4 characters long."
I'm starting a transaction for 5.85 units. When I type 85 into the centiles field and click 'save' I get an error message on the next screen that says "Centiles cannot be longer than 2 characters but is currently 4 characters long."
Comments
Comment #1
amysragbag commentedHi Matthew,
I successfully upgraded to 6.10. I used ftp, which is something I had never done before. I used ftp to reinstall marketplace as well.
This error message is back: 'Centiles cannot be longer than 2 characters but is currently 4 characters long'. It only happens when you try to complete a transaction that has centiles. If you leave 0 in the centiles field, it goes through ok.
Last time I had this problem, I fixed it by following your instructions to go into phpmyadmin and change the following fields from integer to float:
cc_transactions.quantity
cc_balance_cache.balance
cc_balance_cache.turnover
cc_balance_cache.pending
Since the problem came back after the upgrade, I looked in phpmyadmin and saw that the fields are already set to float, so I wasn't able to fix it that way this time.
Comment #2
matslats commentedplease download HEAD
Comment #3
amysragbag commentedThank you. Do you mean I should reinstall 6.10, or wait for the next upgrade?