Long EZ-Pages are getting cut off
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
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_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.
In your post, please include your Zen Cart and PHP versions, and a link to your site.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.