Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    help question Maximum Length of EZpage?

    Is there a maximum length to the HTML code that you can paste into an EZPage?

    I pasted a large block of HTML code inside a new EZPage and verified that everything fit in the box while in Administrator. However, after saving and previewing the page on my site, the bottom half of the HTML block was gone. I went back into Administrator and found that the code was indeed truncated inside the HTML box within the EZpage.

    Searched the forum but could not find an answer.. is this working-as-intended?

    Thanks!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Maximum Length of EZpage?

    Look at your database for the table that holds the EZpages data, that is where the size limit is.

    Just looked it up- It is a text field and should hold 65535 characters (approx. 65kB) If you exceded that you should probably be splitting that page up anyway.
    Last edited by Kim; 9 Jan 2007 at 02:59 AM.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Maximum Length of EZpage?

    I suppose you could alter that to be a MEDIUMTEXT (16MB) or LONGTEXT (4GB) field type if you're willing to live with the potential issues of packet size and ram limitations. (best way to find out if those limitations impact you is to try it out, both from admin and storefront.)

    However, as Kim says, you'd be best advised to split up that very large page into several pages ... 64KB is pretty big for a single page of content ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. How to change the maximum length for postcode?
    By ferid in forum Basic Configuration
    Replies: 6
    Last Post: 26 Sep 2011, 06:50 AM
  2. maximum product name length in centerboxes and sideboxes
    By ivanc in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Mar 2009, 04:14 AM
  3. Setting maximum string length for admin fields
    By numinix in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 3 Jul 2007, 07:39 AM
  4. maximum password length
    By stagebrace in forum General Questions
    Replies: 3
    Last Post: 28 May 2006, 07:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR