Long EZ-Pages are getting cut off

Is there a size limit to EZ-Pages?

EZ-Pages are stored in your database. The field that contains the HTML can store approximately 65,000 characters - anything after that will be lost.

To store more you have two options:

  1. increase the size of this database field or
  2. hold the information on a new page outside of the database

To increase the size of the database field, you would use your database management tool (e.g. phpMyAdmin) to open the ezpages_content table (or the ezpages table in Zen Cart 1.5.5 and below), and then change the field type for pages_html_text from TEXT to MEDIUMTEXT. This will give it a capacity of 16 million characters. If that’s not enough (wow, what are you doing!) then you can change it to LONGTEXT which will give you a cool 4 trillion characters with which to play.

Alternatively you could use the extra pages (page_2, page_3 and page_4) which are shipped with Zen Cart and customize them as described in title change for page_X. This would be slightly more complex, but offer quicker performance and more flexibility.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified September 4, 2020 by Scott C Wilson (af4540a4).