Mỗi người đều là chuyên gia trong lịnh vực bạn đam mê ! Đăng ký và cùng chia sẻ kiến thức nào
0 votes
in Công nghệ by Newbie (1.7k points)

I'm using Question2Answer software. How do I increase the limit of an answer beyond 8000 characters?

Please log in or register to answer this question.

1 Answer

0 votes
by Editor (5.3k points)

You have to edit the Max_content_length of question2anwser software:

1. Through MySQL: execute this command:

ALTER TABLE `qa_posts` CHANGE COLUMN `content` `content` VARCHAR(32000) NULL DEFAULT NULL;

2. Edit the configuration file: qa-include/db/maxima.php


@define('QA_DB_MAX_CONTENT_LENGTH', 8000);

Change it to:

@define('QA_DB_MAX_CONTENT_LENGTH', 32000);

3. Save and update the config file. Enjoy


Vietbeauty Community
Netdepviet Wiki là nơi hỏi-đáp, chia sẻ kiến thức và mọi mặt cuộc sống.
Xem thêm trợ giúp

98 questions

105 answers


55 users


Related questions

0 votes
0 answers 10 views
asked Dec 5, 2021 in Công nghệ by admin Editor (5.3k points)
+1 vote
1 answer 119 views
Since © 2006 Netdepviet.org All rights reserved. Home | Privacy Policy | Pictures