[Solved] Too much data in a content page?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

[Solved] Too much data in a content page?

Post by twwitt »

Hi --

I read a previous thread when this same problem was brought up previously --( http://forum.cmsmadesimple.org/index.ph ... 744.0.html)

I, too, pasted in a huge html table into a content page, but it gets cut off with the bulk of the last part of the table not showing up. Seems like there is a limit to the amount of data one can have in a content page.


I don't understand the answer that was given below or where to make this change:

[There is a MYSQL type field limit.
Table content_props have a content field:
TEXT type (64K character limit)
Try to change to MEDIUMTEXT type]


Can anyone explain in a more elementary way how to make this change?


Thanks,
-- Twwitt
Last edited by twwitt on Tue Nov 04, 2008 1:18 am, edited 1 time in total.
nhaack

Re: Too much data in a content page?

Post by nhaack »

Hey twwitt,

per default, the fields in the Database tables that store the content can only carry a maximum of 64 kilobyte (I think thats 16.000 characters). Which is sufficient for most cases. If, for example, you have a lot of html or css mark-up in your content, it blows up the character count and even though you only see lesser characters, you reached the limit.

The answer indicates, that you should change the data fields type in the database. Check the mysql manual on how to do it, look for the table prefix_content_props. As a result, you will be able to store more text in each page.

Best
Nils
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Too much data in a content page?

Post by Nullig »

You should read this in the wiki:

http://wiki.cmsmadesimple.org/index.php ... ent_Length

Nullig
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: Too much data in a content page?

Post by twwitt »

Thanks to you both. I've got it.
Post Reply

Return to “CMSMS Core”