Allow Large String saved to TCExam Database

If you use MS Word to XML Converter you have to change little bit your database structure. Because this MS Word to XML Converter convert all image to base64 encoded image, so if your database field still using TEXT data type, this base64 encoded image will be corrupted.

Therefore you have to change the data type to LONGTEXT. Okay, the steps are below:

  1. Open your database administration program, example : Adminer or PHPMyAdmin. In this step we use Adminer
  2. Open your TCExam Database
  3. Open tce_questions table
  4. Click Alter table 
  5. On question_description field we have to change the data type from TEXT to LONGTEXT 

  6. Change to LONGTEXT and then click Save button below 
  7. You have to do that process to change answer_description field on tce_answers table 

  8. Done! Now your TCExam installation can store large string of text that come from MS Word to XML Converter

Advertisemen

Disclaimer: Gambar, artikel ataupun video yang ada di web ini terkadang berasal dari berbagai sumber media lain. Hak Cipta sepenuhnya dipegang oleh sumber tersebut. Jika ada masalah terkait hal ini, Anda dapat menghubungi kami disini.
Related Posts
Disqus Comments