Jump to content

getting a error in logs section


Recommended Posts

what  does  this  mean  im  gettting  a   ton  of  red  flag  warnings   

 

File: [settings.tax.inc.php] Line: [126] "INSERT INTO `cc0d_CubeCart_tax_rates` (`type_id`,`details_id`,`country_id`,`county_id`,`tax_percent`,`goods`,`shipping`,`active`) VALUES ('1','1','840','44','6.75','1','0','1');" - Duplicate entry '1-1-840-44' for key 'type_id'
  • Notice Error - These are unlikely to cause operatinal problems and can be thought of as best practice recommendations. Action is not required.
  • Warning Error - These are unlikely to cause operational problems now but there is a problem, one that is likely to cause bigger issues in the future. Action is recommended.
  • Parse Error - These are caused by misused or missing symbols in a syntax. Action is required.
  • Fatal Error - These are are classified as critical errors. Action is required.
  • Exception Error - These are are classified as critical errors. Action is required.
Link to comment
Share on other sites

It seems you are trying to add a new tax rule that has these same details as an existing tax rule.

Tax Class: (probably) Standard Rate
Tax Detail: (something entered on the Tax Details tab)
Country: United States
State: North Carolina

The table INDEX named 'tax_id' covers these actual table columns in CubeCart_tax_rates: 'type_id', 'details_id', 'country_id', and 'county_id' - which this combination of values must be unique.

If you are actually NOT trying to add new rules when this error gets logged, then something may be wrong with the code.

 

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