Content Duplication Bug

Having Problems? Need Help? Post here!

Re: Content Duplication Bug

Postby Kokarn » Thu Feb 16, 2012 7:17 am

Yes, i have problems when saving from the HTML view. Everything else (AFAIK) works as intended.
Current projects: eSport Tournaments and MOBA news
Kokarn
 
Posts: 17
Joined: Wed Dec 14, 2011 12:01 pm

Re: Content Duplication Bug

Postby kivig » Thu Feb 16, 2012 9:10 pm

side777 wrote:does anybody still experience issues with the patched version??

If opened and edited in HTML mode, no changes are saved.
<P> and bakes behave weird, sometimes disappearing, but mostly in the editor only.
If we count these as minor bugs it works Ok for me, as far as tested till now.
kivig
 
Posts: 15
Joined: Tue Jan 24, 2012 1:50 am

Re: Content Duplication Bug

Postby Localseoconsultants » Wed Feb 22, 2012 11:58 am

alexxxxey wrote:I tried version 2.5.28, in new posts/pages plugin don't dublicate the content(cool), but when text is formatted in editor it crop any <p> tags and change it with &nbsp;

Hi! Thanks god I found a solution for this bug here.. but I am not into php. I try to paste it into qtranslate_javascript.php before the very last } and i get an php error message. Could you point a noob to the exact place this script should be added? Thanks a lot in advance, I am stuck...
Localseoconsultants
 
Posts: 1
Joined: Wed Feb 22, 2012 11:47 am

Re: Content Duplication Bug

Postby kivig » Fri Feb 24, 2012 1:30 am

Localseoconsultants wrote:
alexxxxey wrote:I tried version 2.5.28, in new posts/pages plugin don't dublicate the content(cool), but when text is formatted in editor it crop any <p> tags and change it with &nbsp;

Hi! Thanks god I found a solution for this bug here.. but I am not into php. I try to paste it into qtranslate_javascript.php before the very last } and i get an php error message. Could you point a noob to the exact place this script should be added? Thanks a lot in advance, I am stuck...

A couple pages before Kokarn posted link to whole php file to replace.
kivig
 
Posts: 15
Joined: Tue Jan 24, 2012 1:50 am

Re: Content Duplication Bug

Postby ThE cRaCkEr » Sun Feb 26, 2012 9:26 am

Even with this patch I noticed a bug not mentioned before: 2 language settings, I write only in the first one and save (all in visual mode). The first language is saved corretly but the second one (which should be empty) contains one single space which is enough for Wordpress to publish the article for the second language, too. One has to look out for that (doesn't happen always), delete the space and save again. This is not as servere as the bug before but also annoying and time consuming.
ThE cRaCkEr
 
Posts: 23
Joined: Sun Jan 29, 2012 1:28 pm

Re: Content Duplication Bug

Postby NickLW » Sun Mar 04, 2012 5:49 pm

I've read all 18 pages worth of posts on this topic and there are a bewildering array of suggestions.

Just tried Kokarn's amended version of qtranslate_wphacks.php. Doesn't work for me unfortunately. I'm still getting occasional problems where, when I return to a page, text from one language disappears or is replaced with another language.

So far, the only suggestions that seem to help are:

1. Don't have any <p> or <h> tags in the first line of html text

2. Amend and save pages only in html. If you need to check pages in visual mode, only do it after saving in html first.

Since I've tried these two suggestions I've not had any problems. But since the problems are so sporadic, I'm not sure I've done enough testing to say that they always work.

Can anyone confirm this or, alternatively, prove this theory wrong?

:roll:
NickLW
 
Posts: 29
Joined: Wed Feb 24, 2010 6:18 pm

Re: Content Duplication Bug

Postby Fips » Wed Mar 07, 2012 8:52 pm

Any news on this bug? As far as I can tell it still exists when editing in visual mode, though doesn't crop up in HTML mode. No posts to this thread for a few days, does that mean people have come up with a satisfactory workaround? Is this bug affecting everyone, or just a selection of users?
Fips
 
Posts: 8
Joined: Thu Dec 25, 2008 4:49 pm
Location: Europe

Re: Content Duplication Bug

Postby Kokarn » Thu Mar 08, 2012 7:28 am

I've actually managed to get a fix for the HTML edit save bug. Turns out it wasn't qTranslate at all but a bug with Advanced Custom Fields that i use.
Updating to the latest version fixed it for me.
Current projects: eSport Tournaments and MOBA news
Kokarn
 
Posts: 17
Joined: Wed Dec 14, 2011 12:01 pm

Re: Content Duplication Bug

Postby jk171505 » Thu Mar 08, 2012 7:41 am

Did anyone tested this plugin with <ul> <ol> tags?
This is what's happening with my content:

original:
=================
<ol>
<li>Select &amp; Better</li>
<li>Select (Walnut, Cherry, Ash)</li>
<li>Authentic</li>
<li>Country Extra</li>
</ol>
=================

when switch between 'english' & 'french' language (in my case) and hit 'update' I get this:
=================
<ol>
<ol>
<li>Select &amp; Better</li>
</ol>
</ol>
<ol>
<ol>
<li>Select (Walnut, Cherry, Ash)</li>
</ol>
</ol>
<ol>
<ol>
<li>Authentic</li>
</ol>
</ol>
<ol>
<ol>
<li>Country Extra</li>
</ol>
</ol>
=================


every next update adds additional set of <ol>...</o>...
so after hitting the 'update' second time I got:
=================
<ol>
<ol>
<ol>
<li>Select &amp; Better</li>
</ol>
</ol>
</ol>
<ol>
<ol>
<ol>
<li>Select (Walnut, Cherry, Ash)</li>
</ol>
</ol>
<ol>
<ol>
<ol>
<li>Authentic</li>
</ol>
</ol>
</ol>
<ol>
<ol>
<ol>
<li>Country Extra</li>
</ol>
</ol>
</ol>
=================

and this happens in each language version.
I did clear the list manually but after hitting the 'update' the qtranslate javascript makes me happy again and adds the set of <o>...</o>.
And in the second language version which I forgot to clear I get this:
=================
...
<ol>
<ol>
<ol>
<ol>
<ol>
<li>Select &amp; Better</li>
</ol>
</ol>
</ol>
</ol>
</ol>
...

=================

So.... THE F#####NG PROBLEM IS ANY OF MY ORDERED LIST ISN'T LONGER ORDERED LIST... the same problem is with the <ul> tag.

I did insert the additional function in the qtranslate_javascript.php:
function cbnet_tinymce_config( $init ) {
...

... and I can't say if this happened before this update, but that update definitely fixed the <p> & <br> problem.

This plugin is a f#####g mess!
Does anyone has an idea how to fix this?
jk171505
 
Posts: 2
Joined: Thu Mar 08, 2012 7:22 am

Re: Content Duplication Bug

Postby Aneon » Tue Mar 13, 2012 2:36 am

Please try this fix, it worked for me:
http://wordpress.stackexchange.com/ques ... 5371#45371
Aneon
 
Posts: 5
Joined: Tue Mar 13, 2012 2:34 am

PreviousNext

Return to qTranslate Support Forum

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot], Majestic-12 [Bot] and 8 guests