Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loaded7 : Error while creating products class #703

Open
mattloaded opened this issue Sep 19, 2015 · 1 comment
Open

Loaded7 : Error while creating products class #703

mattloaded opened this issue Sep 19, 2015 · 1 comment

Comments

@mattloaded
Copy link

Issue : While creating product Class in admin >> Products >> Setting >> Product Classes. It throws error. Undefined error while creating product Class.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@mattloaded
Copy link
Author

Fix : The issue is with no default value set to status column in lc_product_classes table. Run the below query to fix the issue.

ALTER TABLE lc_product_classes CHANGE status status TINYINT( 1 ) NOT NULL DEFAULT '1';

The same needs to be updated in the core install sql for lc_product_classes table.

CREATE TABLE IF NOT EXISTS lc_product_classes (
id int(11) NOT NULL AUTO_INCREMENT,
name varchar(128) NOT NULL,
comment varchar(255) DEFAULT NULL,
status tinyint(1) NOT NULL DEFAULT '1',
language_id int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (id)
) ENGINE=MyISAM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant