We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25511
    • 13 Posts
    I’m have html-document with 102KB filesize (about 600 lines of text) and when I try to save it to MODX [*content*] field, content disappears. If I copy-paste only about 3/4 of content it saves correctly.

    Is there some maximum allowed byte size for MODX document variables?
      • 25511
      • 13 Posts
      I did some further testing and noticed that there is actually 85,000 byte limit in MODX recources content field (running Evo 1.0.5).

      MySQL max lenght for MEDIUMTEXT is 16,777,215 bytes so this must be MODX related issue. Any help how to fix this?

      PROBLEM SOLVED:

      My bad.. It was our crappy ISP and their Suhosin security extension that was limiting string lenght to 85,000 characters.
      There is nothing wrong in MODX kiss