Error aftter submiiting an order when many products are ordered


  • Default avatar
    christian9    
     5 months ago
    0

    Hi,

    i encountered an error in the database field "details" in table "awocoupon_history".

    I have some configurable products and i had an order with 12 different products resulting in an error. No error with ordering 11 different products.

    It showed the following error:
    1406 - Data too long for column 'details' at row 1

    When i switch the fieldtype to LONGTEXT (i think MEDIUMTEXT would have been enough ;)) the order is fine. But with the standard fieldtype TEXT i get the error.

    What do you say. Is it save to change the fieldtype to MEDIUMTEXT?

    Or do you have any other suggestions for me?

    Thanks for your answer!

    Kind regards
    Dirk
  • Your avatar
    seyi    
     5 months ago
    0

    Hello,

    Yes, the current installation of AwoCoupon installs the history table with MEDIUMTEXT for the details field.  If you had installed AwoCoupon before that change, it does not update that field.  So yes, it is fine to update it to MEDIUMTEXT.
  • Default avatar
    christian9    
     5 months ago
    0

    ok, thanks a lot!