URL limit in posts?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
pfaut
Regular
Posts: 16
Joined: Tue Jan 25, 2005 12:08 am
Location: North Brunswick, NJ
Contact:

URL limit in posts?

Post by pfaut »

I'm trying to save a new blog post but it's not being saved. I have several (about a dozen) URLs in the post. If I cut that back to about three it gets saved. I looked all over the Serendipity settings and all of my plugins but nothing I change appears to help. Does anyone have an idea where the limit might be?

I'm using Serendipity 1.6.
MarioH
Regular
Posts: 238
Joined: Mon Jul 20, 2009 10:53 pm
Contact:

Re: URL limit in posts?

Post by MarioH »

I'm not sure. S9y tries to send trackbacks to all urls in the article when it is saved. Maybe there is a time limit for the operation on your server that exceeds.

Regards
Mario
pfaut
Regular
Posts: 16
Joined: Tue Jan 25, 2005 12:08 am
Location: North Brunswick, NJ
Contact:

Re: URL limit in posts?

Post by pfaut »

I can't even save a draft. It claims to have saved it but if I look from another browser the changes weren't saved at all.
pfaut
Regular
Posts: 16
Joined: Tue Jan 25, 2005 12:08 am
Location: North Brunswick, NJ
Contact:

Re: URL limit in posts?

Post by pfaut »

I found the problem. Apparently the text of some of the URLs contained invalid UTF-8 characters. This was causing PostgreSQL to choke. Serendipity proceeded as if the text were saved. Why isn't Serendipity checking the return status of database calls?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URL limit in posts?

Post by garvinhicking »

Hi!

Postgresql has sadly some other failstates that our DB layer might not properly catch. We should definitely work on implementing checks for the error you describe, sorry for this!

Best 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/
Post Reply