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

The content may not be greater than 256 characters. #292

Open
iAnujParajuli opened this issue May 22, 2018 · 3 comments
Open

The content may not be greater than 256 characters. #292

iAnujParajuli opened this issue May 22, 2018 · 3 comments

Comments

@iAnujParajuli
Copy link

I cannot insert big paragraphs using the fields. And when I increase the maximum size it displays

SQLSTATE[42000]: Syntax error or access violation: 1074 Column length too big for column 'content' (max = 21845); use BLOB or TEXT instead (SQL: ALTER TABLE pages CHANGE content content VARCHAR(65000) DEFAULT '' NOT NULL COLLATE utf8_unicode_ci)

screenshot_1

@leopinzon
Copy link

leopinzon commented May 22, 2018

@Anuzz I had the same problem in the past with an INT column. I fixed it changing the colulmn type to BIGINT directly in the database. In your case, you can change your 'content' column type to TEXT directly in your database.

Cheers!

@iAnujParajuli
Copy link
Author

I tried but the validation wont let me save the big text how do i disable the validation for the form field?

@Ethosteck
Copy link

Ethosteck commented May 23, 2018

@Anuzz You have to edit d Module, Go to Modules select the module and then set the particular field max value to 6500 and then check. I hope it helps.

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

3 participants