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

amysragbag’s picture

Hi 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.

matslats’s picture

Status: Active » Fixed

please download HEAD

amysragbag’s picture

Thank you. Do you mean I should reinstall 6.10, or wait for the next upgrade?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.