Page 1 of 1

Max. content length in static pages

Posted: Mon May 28, 2012 8:59 pm
by h999
Hi everyone,

I am still playing around with Serendipity and I noticed a – as I think – weird thing today.

I copied a whole bunch of text into the content text area of a static page in the backend. I noticed that only the first 64878 characters of my content (87628 characters) are preserved when saving. The rest is just cut off :cry:

So now I am wondering why this happens. Where is the bottleneck that cuts of after 64878 chars?

Is it a limitation of the plugin? Or rather a limitation of my mySQL database?

I have no idea where to look first. Any help appreciated :D

Thanks in advance

Re: Max. content length in static pages

Posted: Mon May 28, 2012 9:20 pm
by kleinerChemiker

Re: Max. content length in static pages

Posted: Mon May 28, 2012 9:36 pm
by h999
Wow, that was quick.

Thanks a lot, kleinerChemiker. Exactly what I was looking for...

Using phpmyadmin to change the type of the field "content" from "text" to "longtext" worked perfectly.

A little workaround for people not being able to use phpmyadmin could be to combine the fields "pre-content" and "content".