I did a quick search and couldnt find a solution. This might also be the wrong Forum to post.
We are currently using your blog v1.3.1 on php 5.2.5 with PostgreSQL 8.3.
We are capable fo posting short messages, but incapable of posting messages that are long, as a test i used the first chapter of "The Prince and the Pauper" By Mark Twain from Project Gutenberg (http://www.gutenberg.org/files/7154/7154.txt).
The DB Type for the body of the message is TEXT. Looking at the logs for both PHP and PostgreSQL there looks to be nothing fatal happening, a bunch of unfound indexes on arrays on the serendipity side but nothing fatal.
Any ideas?
Thanks
Glenn
Cant post messages
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cant post messages
Hi!
On MySQL, the default text type holds 65kb. How long is your text? If it is longer you might need to change the serendipity_entries.body (and 'extended') columns from TEXT to LONGTEXT/LONGBLOG - don't know what this column name is called in postgresql exactly.
Is your long entry simply truncated after some characters, or does it not get saved at all? If the last is happening, it could be that a PHP extension like suhosin or mod_security is blocking large postings. Also, php.ini option for HTTP_MAX_POST_SIZE can be related.
Plus, I think some browsers have a limit to how much data they can POST as text. But I'm not sure about that.
HTH,
Garvin
On MySQL, the default text type holds 65kb. How long is your text? If it is longer you might need to change the serendipity_entries.body (and 'extended') columns from TEXT to LONGTEXT/LONGBLOG - don't know what this column name is called in postgresql exactly.
Is your long entry simply truncated after some characters, or does it not get saved at all? If the last is happening, it could be that a PHP extension like suhosin or mod_security is blocking large postings. Also, php.ini option for HTTP_MAX_POST_SIZE can be related.
Plus, I think some browsers have a limit to how much data they can POST as text. But I'm not sure about that.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
lifewarped
- Posts: 2
- Joined: Sat Aug 09, 2008 3:27 pm
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Regards,
Garvin
This leads very muhc to a PHP mod_security or suhosin filter. Ask your server provider about error/access logs. Usually you can only get to that page if the PHP process internally looses all GET/POST data, which often happens when Suhosin/Mod_security clears out variables.Max post size is 15Megs, php limits are all over 10 megs. When you click submit it brings you back to the original admin page, the one thats says "Welcome <person>".
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/