gospelsinger Posted May 9 Share Posted May 9 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. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 9 Share Posted May 9 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. Quote Link to comment Share on other sites More sharing options...
gospelsinger Posted May 9 Author Share Posted May 9 how would i correct it to where nc is the only state with tax Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 10 Share Posted May 10 That should be it. Just that one rule. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.