Need short help on MySQL

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Thomas
Regular
Posts: 130
Joined: Tue Sep 21, 2004 2:00 pm
Location: Stockerau/NÖ/A
Contact:

Need short help on MySQL

Post by Thomas »

Hi,

today, while checking my template with the validator I recognized that I had an invalid tag entered in some entries.

So updated them quickly:

Code: Select all

update serendipity_entries set body= replace(`body`,'<B>','<b>');
Fine so far for the database entries, they're updated. But: why the hell I do not see the correct entry in the browser? I reloaded the page a couple times, but the result stays the same, the '<B>' tag is still there.

Why?

Regards, Thomas
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Need short help on MySQL

Post by garvinhicking »

It seems you're using the extended properties plugin with caching enabled. Then you must make the same replacement on the entryproperties table:

Code: Select all

update serendipity_entryproperites set value = replace(value, '<B>', '<b>') WHERE property LIKE ('ep_cache_%');
(untested, but should hopefully work)

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