Logo

2.1K views Asked 15 Feb 2019 in PHP
2
I get 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.
User rajatmehra4005 (1K Points)

1 Answer
1
shakti (9.4K Points)

answered 23 Feb 2019 (edited)

You are using Question2answer (Q2A) QA base application. Under the Q2A application answer characters are 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 the 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. 

 


🚀 Build Your Own Q&A Community Website

This live website is powered by Techno Smarter QA. The complete source code is now available with a powerful admin panel, responsive design, future updates, and support.

Admin Panel Responsive SEO Friendly PHP
Get Source Code

Your Answer
×
Login Required

You must login to continue.

Login Login with Google
Register