Max. content length in static pages

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
h999
Regular
Posts: 10
Joined: Fri Feb 17, 2012 6:43 pm

Max. content length in static pages

Post 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
h999
Regular
Posts: 10
Joined: Fri Feb 17, 2012 6:43 pm

Re: Max. content length in static pages

Post 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".
Post Reply