Welcome to Smarter QA, Questions, Answers Community
Welcome to Smarter QA, where you can ask questions and receive answers from other members of the community. Ask anything that you want. Guests Posting are allowed.
+2 votes
58 views
I got an error when I submit the answer. The error is "Maximum length is 12000 characters"

 I want to increase the content length size. Maximum size is 12000 character and  I want to increase this size in my Question2answer QA base web application. I am worried about my Q2A content. I can not post content above  12000 characters.

I just want to increase my Q2A application answer length above 12000.
in PHP by (290 points)

1 Answer

+1 vote

You are using Question2answer (Q2A) QA base application. Under the Q2A application answer characters already set to 12000. You can increase the length of answer characters through the maximum.php  file from the DB folder. 

I understand your concern. Yes, you can increase the length of characters. 

Question2answer allows you to customize the QA application. 

Increase maximum content length is 12000 characters in Q2A application

Navigate to the path - 

qa/qa-include/db/maxima.php

Edit the maxima.php file and find below code - 

'QA_DB_MAX_CONTENT_LENGTH' => 12000,

change to 

'QA_DB_MAX_CONTENT_LENGTH' => 18000,

Now save your Q2A file and execute. You will not get the error "Maximum length is 12000 characters" 

Hope ! it will helpful for you. 

by (3.1k points)
...