WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
WPtouch issue when AddThis 2.4.1 is active (19 posts)

  1. ymf
    Member
    Posted 2 years ago #

    I had to deactivate AddThis 2.4.1 because it was breaking the WPtouch + WP Super Cache combination. Very disappointed.

    How can I return to the pre-2.4.0 version of AddThis?

    http://wordpress.org/extend/plugins/addthis/

  2. ymf
    Member
    Posted 2 years ago #

    Found and downgraded to the version http://downloads.wordpress.org/plugin/addthis.2.3.2.zip . This solved the WPtouch + WP Super Cache issue. Please look into 2.4.1, something is wrong there.

  3. Aaron Jorbin
    Member
    Posted 2 years ago #

    Hi ymf,

    Can you describe the issue? What was breaking and under what conditions? If you can provide some more information I can work on trying to solve it.

    -Aaron

  4. ymf
    Member
    Posted 2 years ago #

    Aaron, I don't want to go back to AddThis 2.4.1 on the live site, so, I'll give the symptoms and the scenario from my memory.

    1) With AddThis 2.4.1: Delete cache in WP Super Cache -> log off -> visit the homepage using any Windows browser (tried latest Chrome / IE / FF / Safari) -> looks good.

    2) Log in -> delete cache in WP Super Cache -> log off -> visit the homepage using Safari in the "User Agent = iPhone" mode -> looks awful: doesn't look like the WPtouch-powered site is supposed to look at all; instead, looks like a broken regular theme (Atahualpa) where most styles are lost: e.g. horizontal menus in the header are displayed as a regular list.
    Immediately after that..., visit the homepage using any Windows browser (Chrome / IE / FF) -> looks the same broken theme as just looked in Safari that emulated iPhone.

    The symptoms disappeared when either deactivating AddThis, or downgrading to AddThis 2.3.2. I also tried to replace AddThis with Share Buttons by Lockerz / AddToAny and everything works well out of the box with it.

    Hope it helps. Thanks.

  5. Sonophoto Studios
    Member
    Posted 2 years ago #

    @Aaron

    I'm using WP-Touch but not Super Cache. Installing 2.4.1 on a site I'm developing live. http://brandtbros.net/

  6. Sonophoto Studios
    Member
    Posted 2 years ago #

    I'm using 2.4.1 with WP-Touch 1.9.41 on WP 3.4. using the Opera Mobile Browser set to HTC Desire the site is working correctly and looks correct. My OS is Ubuntu/Gnome/Firefox 11.0 (ubuntu 1.0)

  7. Sonophoto Studios
    Member
    Posted 2 years ago #

    Installed Super Cache from WP. Got version 1.1. Went to plugin tab and set it to cope with WP-Touch went to the easy tab, clicked "Caching On." Ran test on Cache, passed all test.

    visited site with Opera Mobile again, loaded several new pages, everything looked normal.

    I knew that Super Cache had a built-in work around for WP-Touch. Is that Set on your site ymf?

  8. Sonophoto Studios
    Member
    Posted 2 years ago #

    hmmm. I cleared everything and reloaded to double check. I'm not getting garbage pages but WP-Touch is either downgrading to serving the full site or it is being skipped entirely... I'll get back with more shortly.

  9. ymf
    Member
    Posted 2 years ago #

    I knew that Super Cache had a built-in work around for WP-Touch. Is that Set on your site ymf?

    Yes.

    On my site, WPtouch works properly with AddThis 2.3.2 or with similar-functionality Share Buttons by Lockerz / AddToAny 1.0.3, but not with AddThis 2.4.1.

    The theme is Atahualpa.

  10. Sonophoto Studios
    Member
    Posted 2 years ago #

    Deleted Cache -> Opera(HTC Desire) -> Page is back to WP-Touch version.

    Checked caching triggered by WP-Touch (Opera Mobile) hits in Firefox, looks fine.
    Checked caching triggered by Firefox hits in WP-Touch pages (Opera Mobile), Looks fine.

    both browsers are working with unchached pages and cached pages.

    Set WP-Touch support in WP Super Cache configuration.
    Delete Cache.

    Works here. I'll leave super cache up for the day if you guys want to bang on it. http://brandtbros.net/ (this site is under development/testing)

  11. Sonophoto Studios
    Member
    Posted 2 years ago #

    I guess it could be your theme. Please note, I have WP-Touch, WP-Super-Cache and Addthis 2.4.1 running correctly right now at the site I mentioned. Check it on your end with your browsers.

    I'm not saying your problem isn't real ;)

  12. Sonophoto Studios
    Member
    Posted 2 years ago #

    I just loaded the Atahualpa theme. First load in Opera mobile (HTC Desire) generated a messed up page much like ymf described.

    Loading the same page in Firefox gives the cached page with the old theme.

    Cleared firefox browser cache, reoaded same page, still getting the Super Cache page with the old theme.

    Cleared both browser and WP-SC. Site works normally.

    Deactivated addthis 2.4.1. Site works normally.

    Reactivated Addthis 2.4.1. Site works normally.

    I can switch the mobile back and forth from WP-Touch version to fullsite version.

    Manually clearing the cache in WP-SuperCache after making changes is critical to correct functioning from my testing.

    Check out http://brantbros.net/ It is setup exactly as you described ymf. If that site is working on your browser and phone then it must be some other issue/plugin/customization.

  13. ymf
    Member
    Posted 2 years ago #

    Brig Young,

    I checked brandtbros.net - site loads but does not show a WPtouch theme while looking in Safary in the "User Agent = iPhone" mode: it shows TwentyEleven theme (you must be doing more testing and deactivated Atahualpa theme?). Same when using a desktop browser (Chrome).

    The side does show WPtouch at http://brandtbros.net/2012/02/hello-world/ though when "User Agent = iPhone"; but it also shows WPtpoch when looking at this page in the normal Windows browser. Weird.

    I don't see AddThis toolbar on the site although I do see its traces in the pages' html.

    Try to deactivate AddThis plugin and see whether a desktop browser and a mobile browser will show, respectively, TwentyEleven and WPtouch themes.

    Thanks for your attempt to solve this issue.

  14. Sonophoto Studios
    Member
    Posted 2 years ago #

    ymf,

    I was working on the site for a bit after my last post, you may have hit it then. I've checked the site on several actual phones today including Samsung Galaxy, HTC One, LG Net-10 "smartphone" and one iPhone. Site looked normal on all of them. The broswer version however is showing issues. I got this error in WP in some of the message boxes on the dashboard:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in (FILE-SYSTEM)/wp-includes/class-simplepie.php on line 5426

    I'm not sure what the memory demands are or what my ultimate constraints are here on this host.

    This is with everything running as described above. I'm going to let this sit for now I have other work I have to get done. I have another site I can set up to test this if needed but that might not be for another day.

  15. Sonophoto Studios
    Member
    Posted 2 years ago #

    I wasn't able to investigate this more tonight, I did discover that WP-Super-Cache leaves a mess when it uninstalls. Looks like I have some housekeeping to do tomorrow :)

  16. BraveNewCode Inc.
    Member
    Posted 2 years ago #

    There is a known issue with AddThis conflicting with WPtouch (WPtouch Pro has disabled the AddThis containers by default).

    You may instruct WP Super Cache to reject mobile user agents in its "Advanced" tab by adding the following list of user agents:
    iphone
    ipod
    ipad
    pre
    pixi
    iemobile
    aspen
    incognito
    webmate
    android
    dream
    cupcake
    froyo
    blackberry9500
    blackberry9520
    blackberry9530
    blackberry9550
    blackberry 9800
    blackberry 9780
    blackberry 9850
    blackberry 9860
    webos
    s8000
    bada

    If you have others, add them to the list. Purge WP Super Cache's stored pages and you should see better interplay with WPtouch.

  17. ymf
    Member
    Posted 2 years ago #

    BraveNewCode Inc.,

    Thanks for a reply. Are you sure this "known issue with AddThis conflicting with WPtouch" is the same issue that I experienced: "WPtouch works fine with AddThis 2.3.2, but upgrading to AddThis 2.4.1 garbles the WPtouch"?

    Anyway, the solution you offer is well above my head. I hope it may help other people experiencing similar problem. As to me, I've switched from AddThis to Share Buttons by Lockerz / AddToAny, and the site works fine now in both "regular" (Atahualpa) and "Mobile" (WPtouch) modes.

  18. BraveNewCode Inc.
    Member
    Posted 2 years ago #

    Glad to hear you worked things out.
    For those working with WP Super Cache, the step-by-step instructions are:

    1 - Navigate to WP Super Cache Settings > Advanced tab.
    2 - Scroll down to the Advanced section on the Advanced tab.
    3 - Enable "Mobile device support". Save your settings.
    4 - Scroll further down to "Rejected User Agents".
    5 - Paste the list of user agents given above into the "Rejected User Agents" text field. Save your settings.
    6 - Navigate to the Easy tab.
    7 - Delete cached pages.

    This is applicable to Version 1.1.

  19. Sonophoto Studios
    Member
    Posted 2 years ago #

    I'm finished with this topic. Nice day to all :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic