Jump to content

Gateways error when disabling Print Order Form


Tuba

Recommended Posts

Hi, I have just upload 3.0.20 and tried to disable Print Order Form, but I am getting this error message:

MySQL Error Occured

1264: Out of range value adjusted for column 'default' at row 2

QUERY = UPDATE CubeCart_Modules SET `status`='0', `default`= '' WHERE module = 'gateway' AND folder = 'Print_Order_Form'

I have done several cubecart but this is the first time i have had this problem.

Has anyone got any suggestions to get round the problem.

Link to comment
Share on other sites

Of the several CC installs, is this one using any different version or installation of MySQL? It *looks* to me as if this installation of MySql does NOT like it when the query tries to put a NULL value (default equals empty string) in a column declared to be NOT NULL. Even though the schema has a default value (o) assigned to this column, I've stumbled across MySql installations that still complain about no data for a NOT NULL column.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...