WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
[closed] qTranslate and WordPress 3.9. (66 posts)

  1. arctablet
    Member
    Posted 3 months ago #

    I have successfully tested mqtranslate, a fork of qtranslate with final version of WP 3.9. It fixes the problems I had with the Visual Editor and WP 3.9

    http://wordpress.org/support/plugin/mqtranslate

    That maybe an easier path to fix the qtranslate problems for those not willing to patch files.

  2. akirk
    Member
    Posted 3 months ago #

    Here is a better fix for qTranslate for WordPress 3.9 with a little explanation. Basically the plugin provides a second parameter that is interpreted wrong.

  3. benouz
    Member
    Posted 3 months ago #

    Thanks for the fix akirk it works perfectly fine.

    And yes it seems that the author of the mqtranslate fork works faster to follow the wordpress updates. (I use mqtranslate on two others wp sites and the plugin is updated the day of the wp patch, in general).

  4. vasch
    Member
    Posted 3 months ago #

    The problem I have is not on line 455 but on line 71??
    This line contains
    setcookie('qtrans_cookie_test', 'qTranslate Cookie Test', 0, $q_config['url_info']['home'], $q_config['url_info']['host']);

    error:Warning: Cannot modify header information - headers already sent by (output started at /customers/b/8/f/aquaponicsshop.eu/httpd.www/wp-content/plugins/qtranslate/qtranslate.php:1) in /customers/b/8/f/aquaponicsshop.eu/httpd.www/wp-content/plugins/qtranslate/qtranslate_core.php on line 71

    how should I implement the solution from ikirk? (I'm not so good with code :-p )

  5. vasch
    Member
    Posted 3 months ago #

    oh, arctablet, mqtranslate makes it worse it seems

  6. akirk
    Member
    Posted 3 months ago #

    @vasch: check if you have some whitespace in line 1 of qtranslate.php, probably it says " <?php" instead of just "<?php". Delete the whitespace ahead of the <

  7. whaus
    Member
    Posted 3 months ago #

    thanks akirk. and thank you arctablet for introducing me to mqtranslate.

    I checked what chsxf changed in the last update that makes it compatible with the new visual editor and incorporated the changes in the current qtranslate version.

    here's the result:
    https://gist.github.com/warenhaus/10990386/revisions

    in total, you need to change 5 files:
    the 3 in my gist revision.
    qtranslate.php for the QT_SUPPORTED_WP_VERSION number.
    and qtranslate_core.php with akirk's fix.

  8. X-Raym
    Member
    Posted 3 months ago #

    Thank you for the tips !

    it's a shame that the developper himself have not yet a quick fix for it =/

    i love this plugin but it's not the role of every users to solve that kind of issue in all their website.

  9. vasch
    Member
    Posted 3 months ago #

    I agree with X-Raym.
    As i am not very good with coding, implementing the mods keeps giving errors. Any chance that the modified files can be downloaded somewhere, so the originals can just be overwritten? or should i wait for qtranslate to launch an update?
    I was planning to launch my new webshop this weekend... bey bey plans :-p

  10. X-Raym
    Member
    Posted 3 months ago #

    Let me share my file with you :

    Here it is :)

    I don't know if it can solve your problem, but it solves mine.
    No visual editor but i don't care for the moment.

  11. leslierad
    Member
    Posted 3 months ago #

    I just changed over to mqtranslate after years using qtranslate.

    I have noticed over the years Qian has been really busy at work no time for qtranslate, I saw the stats were 1,1 million downloads for his plugin, pity his time is limited hopefully the updated mqtranslate will remain up to date.

    Just for those who want to try you can import qtranslate settings into mqtranslate to try, but you can only have one of the plugins active at a time.

    My blog worked pretty much right away, only a couple changes needed with flag images and the bloginfo(home); calls.

    At least the visual editor now works and regular updates are made.

  12. X-Raym
    Member
    Posted 3 months ago #

    I didn't know about mqtranslate !!

    Well, qtranslate is awesome, but I'm a bit disturbed to read "qtranslate hasnt been tested with you wordpress version" at every update.

    WordPress evolves. We need up to date and compatible plugin.

    But I thank qtranslate and his developper for the good service they gave so far :)

  13. leslierad
    Member
    Posted 3 months ago #

    @vasch

    Looks like you had both mqtranslate and qtranslate active at the same time, disable qtranslate then enable mqtranslate go to the settings page and import your qtranslate settings to mqtranslate.

    yoururl.com/wp-admin/options-general.php?page=mqtranslate#advanced_settings

    Under mqtranslate Settings:
    Open: Advanced Settings
    Find: Settings Migration
    Select: Import settings from qTranslate

    Save options, done

  14. vasch
    Member
    Posted 3 months ago #

    Thanks leslierad!
    I don't know why both where running, as qtranslate was disabled on the dashboadr. I enabled it, disabled again and after installing mqtranslate, it worked fine! I hope the 'qtranslate support for WooCommerce' will still work, i'll test it out. i also have the 'qtranslate slug' plugin installed.
    Both seem to work fine for the moment, but i need some more testing.

    if ever you guys pass in Belgium... we have great beer! :-)

  15. vasch
    Member
    Posted 3 months ago #

    OK, qtranslate slug not working:
    Qtranslate Slug:
    This plugin requires at least WordPress 3.3 and Qtranslate(2.5.8 or newer)

  16. vasch
    Member
    Posted 3 months ago #

    Corrected the problem:
    in qtranslate-slug.php
    replaced

    return ( version_compare($wp_version, "3.3", "<" ) || !is_plugin_active('qtranslate/qtranslate.php') );
    }
    by

    return ( version_compare($wp_version, "3.3", "<" ) || !is_plugin_active('mqtranslate/mqtranslate.php') );

    works fine now :-)

  17. vasch
    Member
    Posted 3 months ago #

    erm... disabled it anyway. i had some problems in the post dashboard: quick edit was not available anymore. After disabling qtranslate slug, it's back...
    Another 3 years of these problems and you guys will ask me for help :-D
    gr
    v

  18. dfumagalli
    Member
    Posted 3 months ago #

    It's somehow peculiar seeing people pushing qtranslate's author into delivering overnight updates, when nobody cares sending him a dollar in his whole lifetime, for the effort spent developing such hugely popular plug in.

    I am sure that if anyone sent just 1 dollar to the author, he'd have 1.652M dollars in his pockets and would certainly have a lot of time to dedicate into delivering quicker.

  19. X-Raym
    Member
    Posted 3 months ago #

    I respect his work and I thank him to distribute it freely. His plugin is the best I found in his domain, and I tell everyone I know who have a wordpress to use it.
    Sorry if i have been rude.
    I was a bit stressed by the situation.

  20. Hovneo
    Member
    Posted 3 months ago #

    Alternative plugin mqTranslate, 100% workinq with WP 3.9

  21. contramare
    Member
    Posted 3 months ago #

    My editor is back!

    Hi, I still have a long way to learn code, in fact all the way... I'm good at following the instructions that you guys post here. I could have never put up my site together without the forums here. But this time nothing helped until I sent this page to a friend who knows code.
    He tells me that he followed Whaus link: https://gist.github.com/warenhaus/10990386/revisions

    He also said that it's possible to download the files and substitute them, but there is one with the wrong name
    qtranslage_wphacks.php
    should be
    qtranslate_wphacks.php

    So look out for that.

    You can download the fixed files here:
    http://www.mediafire.com/download/c1zjhy1tcmezn8e/qtranslate_fix.zip

    I hope everyone gets their editor back!

    -

  22. whaus
    Member
    Posted 3 months ago #

    @contramare: oops, sorry. thank you for putting up the files in a zip. you can also download or copy&paste them from here (that's the view without all the changes highlighted):
    https://gist.github.com/warenhaus/10990386

  23. webseomima
    Member
    Posted 3 months ago #

    @contramare, thank you so much.. your files fixed the problem!.

  24. Naelle87
    Member
    Posted 3 months ago #

    THANK YOU SO MUCH whaus

    I have no idea what all this coding means but it worked for me!!! I almost died from a heart attack as I didnt do any backup OF COURSE...

  25. kruisko
    Member
    Posted 3 months ago #

    @contramare & @whaus: THANK YOU SO MUCH!

    Maybe its time to change to mqTranslate...

  26. lopezvit
    Member
    Posted 3 months ago #

    Thank you very much to all. I have use the zip with the code from @contramare and for now on I'm going to keep the mqtranslate as a life saver in case nothing works ;)

  27. nsorosac
    Member
    Posted 3 months ago #

    @whaus & @akirk : I merged your patches in a github repository. Feel free to contribute!

    The patched plugin can be downloaded here: https://github.com/nsorosac/qtranslate/archive/2.5.39.zip

    Simply replace your plugin with this one (or only the PHP files if you want because they are the only files that were modified).

  28. WPwebbouw
    Member
    Posted 3 months ago #

    @leslierad:

    Under mqtranslate Settings:
    Open: Advanced Settings
    Find: Settings Migration
    Select: Import settings from qTranslate

    Easy transition to mqtranslate. Visual editor is back. I only had to reinstall the language chooser widget, as this had it's name changed and hence had disappeared after switching to mqtranslate. Thanks @arctablet for pointing me to mqtranslate.

  29. leslierad
    Member
    Posted 3 months ago #

    More users should convert over to mqtranslate as the author is making regular updates and getting more and more plugins supported, unless the githubs follow all mqtranslate's regular updates, they may be left behind, not only that but there may be security implications by not being in the WP repo - not that there is anything currently wrong but there is a greater chance.

    The more users the better the support and development will hopefully become with more user input, fixes and suggestions.

    It just seems that qtranslate is a bit dead for now.

  30. vasch
    Member
    Posted 3 months ago #

    I agree with leslierad but there are more concequences: I f.ex. use other plugins that check qtranslate (qtranslate slug, qtranslate support for woocommerce,...) and just switching to mqtranslate is not an option as these plugins have to be modified manually as well.
    aaah, always something to think about :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic