Hi, just sent you 2 tweets, but in case, I duplicate here.
If the posts contains accents on chars, when saving draft, there’s an error and these chars are lost.
Here’s a pic of the error I get : http://twitpic.com/43izh
I tested with the 2 latest versions, including 3.01.
To test : create a ne post. Add éééé in post and title, click save draft.
As per the msg, the problem seems to be with the cache ?
Could either of you copy the error message you’re getting into here rather than posting a photo? I really want to try to figure out the syntax error but I don’t want to try to retype the query… 🙂 Thanks!
Hopefully, I could get access to the page source code… BTW I get the following chars first ����������, if title contains accents, it gets deleted (it’s kept if no accents) and on 2nd save, chars become “????”.
Here’s the Query
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘duplicate key update date = now()’ at line 18 for query insert into wp_yarpp_related_cache (reference_ID,ID,score) SELECT 1794, ID, (0+ (MATCH (post_content) AGAINST (‘ ‘)) * 3+ (MATCH (post_title) AGAINST (‘ ‘)) * 1+ COUNT( DISTINCT tagtax.term_taxonomy_id ) * 1+ COUNT( DISTINCT cattax.term_taxonomy_id ) * 1) as score
left join wp_term_relationships as blockrel on (wp_posts.ID = blockrel.object_id)
left join wp_term_taxonomy as blocktax using (
left join wp_terms as blockterm on (blocktax.term_id = blockterm.term_id and blockterm.term_id in (68))
left JOIN wp_term_relationships AS thistag ON (thistag.object_id = 1794 )
left JOIN wp_term_relationships AS tagrel on (tagrel.term_taxonomy_id = thistag.term_taxonomy_id
AND tagrel.object_id = wp_posts.ID)
left JOIN wp_term_taxonomy AS tagtax ON ( tagrel.term_taxonomy_id = tagtax.term_taxonomy_id
AND tagtax.taxonomy = ‘post_tag’)
left JOIN wp_term_relationships AS thiscat ON (thiscat.object_id = 1794 )
left JOIN wp_term_relationships AS catrel on (catrel.term_taxonomy_id = thiscat.term_taxonomy_id
AND catrel.object_id = wp_posts.ID)
left JOIN wp_term_taxonomy AS cattax ON ( catrel.term_taxonomy_id = cattax.term_taxonomy_id
AND cattax.taxonomy = ‘category’)
where (post_status IN ( ‘publish’, ‘static’ ) and ID != ‘1794’) and post_password =” and post_type IN (‘post’, ‘page’)
group by id
having score >= 2.5 and count(blockterm.term_id) = 0 and COUNT( DISTINCT tagtax.term_taxonomy_id ) >= 1 order by score desc limit 5 on duplicate key update date = now() made by include, do_meta_boxes, call_user_func, yarpp_metabox, yarpp_related, yarpp_cache_enforce
The error is that Instead of the special characters as ñ, á é í ó ú appear this �
Hi all—I’ve been unable to reproduce this issue. http://twitpic.com/44zdo
When this problem happens, are you using the visual editor or the HTML editor? What other plugins are you using?
I just upgrade to 3.02. The problem is still the same.
@didierjm, it looks like your issue is a separate one and I cannot reproduce it. It looks like your MySQL is saying that it doesn’t like the “insert… on duplicate key” syntax, which was new in MySQL 4.1.0. If you could try to run that query in your MySQL directly and see what happens, that would be heplful.
For everyone else… I still have yet to reproduce this accent-shifting issue. Could I get some information on what your setup is? What type of server? PHP version? MySQL version? Blog encoding (both what is in the Settings > Reading and in
If any of you would like to try to reproduce it in my environment (in case I’m just doing it wrong) here’s my test blog:
Mine is at a shared server from HostGator.
ionCube Loader: 3.1.34
Zend Optimizer: 3.3.3
@fbreve – what settings do you use in Settings > Reading and wp-config.php for your encoding and collations?
Hi, I just try on your test blog and you are right that the problem does happen for you. I do not know why.
I am using Dreamhost. PHP should be the newest version (5x?). I do now MySQL version, maybe “MySQL client version: 5.0.32”? Blog encoding is UTF-8.
DO you think maybe there is conflict with other plugins?
ALl in One SEO
Contact Form 7
Featured Gallery Content
Get Recent Comments
Google XML Sitemaps
Page Links To
Subscribe To Comments
WordPress.com Popular Posts
WP Greet Box
WP Super Cache
Yet Another Related Posts Plugin
The other installed plugins are:
AdSense Manager 3.2.13
Advanced Excerpt 0.2.2
All in One Adsense and YPN 1.82
All in One SEO Pack 1.4.9
Bad Behavior 2.0.26
FD Feedburner Plugin 1.4
FeedBurner Widget 1.2
Get Recent Comments 2.0.6
Global Translator 1.2.3
Google Friend Connect Integration 0.9.7.4
Google XML Sitemaps 3.1.2
MyBlogLog Widget 2.0
Popularity Contest 1.3b3
Popularity Lists Widget 1.1
Subscribe To Comments 2.1.2
Thumbnail For Excerpts 1.3
TimesToCome Stop Bot Registration 1.8
Top Commentators Widget 1.1
Viper’s Video Quicktags 6.1.21
WordPress.com Stats 1.3.8
Wordpress Gravatars 2.7.1
- The topic ‘[Plugin: Yet Another Related Posts Plugin] pb with yarpp when accents in post’ is closed to new replies.