Closed GoogleCodeExporter closed 9 years ago
I've run into the same problem in WordPress recently. I bet it is a memory
setting.
Thank you for bringing it up - I will take a look at it.
Original comment by ccagle8
on 28 Apr 2010 at 10:28
It's worth noting that if I parse and write the content in the XML file
manually, it
shows OK in the page, so the problem appears only when saving via the editor.
Original comment by mel...@gmail.com
on 28 Apr 2010 at 10:40
Does this happen with AND without the CKEditor turned on?
Original comment by ccagle8
on 4 May 2010 at 12:50
It does the same without CKEditor. It tries to save, and then the page appears
empty.
Original comment by mel...@gmail.com
on 4 May 2010 at 2:52
can you attach your sample file? Thanks!
Original comment by ccagle8
on 5 May 2010 at 10:25
Here it is. It's just 70 KB of 'aaaaa'. Disable CKEditor, create a new page,
paste
this in the textarea, hit 'Save Page', and it will disappear.
Original comment by mel...@gmail.com
on 5 May 2010 at 6:59
Attachments:
Seen this on several sites... looks like the there is a browser limit of 32k on
textarea fields....
"Theoretically the user can type unlimited amounts of text into the textarea
field. In
reality the browser sets the limit, usually no more than 32 K. "
Original comment by MichaelS...@gmail.com
on 6 May 2010 at 7:17
Haven’t tested this yet, but it could also be PHP’s post_max_size[1] giving
the
problems. I read about POST requests being over the set limit just returning an
empty
$_POST.
[1]: http://se.php.net/manual/en/ini.core.php#ini.post-max-size
Original comment by martijn.personal@gmail.com
on 8 May 2010 at 8:12
Hm, I don't think so. In the two machines I reproduced the bug, post_max_size
was set
to 8M and 128M respectively, and it fails with 70 KB. I don't know about the
browser
limit, though.
Original comment by mel...@gmail.com
on 8 May 2010 at 10:55
read some more on this, limit of 32k in most browsers, FF is 64k.
Solution seems to be to use javascript to split the textarea into several
hidden
textareas of 30k each and submit them, and reassemble on the backend.
So looks like its neither a GetSimple or CKEditor problem
Original comment by MichaelS...@gmail.com
on 8 May 2010 at 10:40
I had similar problem with a mySQL driven CMS script that use tinyMCE WYSIWYG
editor which can't save long articles, I remember the solution was to change
the textarea field type to LONGTEXT instead of TEXT in the article database
table.
Not sure if this could help or not as your script not using mySQL but I just
liked to share this piece of information with you people may be it help some
how.
Original comment by arab...@gmail.com
on 30 Aug 2010 at 4:03
because this bug is really neither a GS or PHP config bug - then we have no
other option but to close this. after looking around, other cms's have the same
problem. I don't like the idea to hack the content up into pieces and
reassemble. Plus, 32K of text is a LOT of text. Pages probably shouldn't be
that long anyway.
http://www.sitepoint.com/forums/showthread.php?t=482284
Original comment by ccagle8
on 27 Oct 2010 at 1:59
Original issue reported on code.google.com by
mel...@gmail.com
on 27 Apr 2010 at 1:31