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
366 views
in Công nghệ by Newbie (1.6k 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.1k 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

Find:

@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

Sponsors


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

87 questions

89 answers

4 comments

33 users

ADVERTISEMENT

Related questions

0 votes
0 answers 13 views
0 votes
0 answers 295 views
0 votes
0 answers 372 views
Since © 2006 Netdepviet.org All rights reserved. Home | Privacy Policy | Pictures
...