Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter Lakjin

    (@lakjin)

    Okay, once I edited out nonce, Ajaxize is working but on my main page only; it shows nothing on product posts (I’m running WooCommerce). Any idea what is up?

    Thread Starter Lakjin

    (@lakjin)

    Update: It isn’t working on any page except the main homepage.

    Plugin Author yoav.aner

    (@yoavaner)

    It’s hard for me to tell without further info about your setup. I’m using it with W3TC without any issues. Not familiar with WooCommerce though.

    Can you send a link to the page/s that are affected? Are you using Apache or Nginx?

    Thread Starter Lakjin

    (@lakjin)

    Thank you for the response. It is working now. Turns out, I forgot to remove nonce from the JS file.

    Thread Starter Lakjin

    (@lakjin)

    Okay, I’m coming across another issue.

    AJAX is working but once a user logs in, the AJAX portion is not refreshing to show the new stuff based on logged in status. Any tips?

    Thread Starter Lakjin

    (@lakjin)

    I think it may be due to browser caching the JS call. How can we prevent that?

    Plugin Author yoav.aner

    (@yoavaner)

    I don’t think the browser caches js calls. One of the reasons using AJAX is to let the js code run even when the page is cached. I can’t help much without more specific info I’m afraid.

    Thread Starter Lakjin

    (@lakjin)

    It is browser caching that is screwing with it; when I manually refresh with Ctrl + F5, it shows up the right stuff.

    I’m on Apache. Pages are. I’m using AJAX for the part in the sidebar and the comment form on each product page.

    Plugin Author yoav.aner

    (@yoavaner)

    I see quite a few jQuery errors on the console for your website. Perhaps something isn’t loaded properly with W3TC / your CDN. Looks like CDN related or check your W3TC Minify settings (especially javascript).

    My suggestion is to try to get wordpress working without caching/CDN first and then add each layer to check what it might break.

    Thread Starter Lakjin

    (@lakjin)

    How can I identify those errors? I’m a newbie at this 🙁

    Plugin Author yoav.aner

    (@yoavaner)

    I updated my comment above. Might be your Minify settings.

    Sorry, but this is not an Ajaxize problem per se.

    As I said, try to remove things and then add one by one, to at least know what breaks it. Then you can better troubleshoot. You can also ask around on W3TC forums etc.

    Good luck.

    Thread Starter Lakjin

    (@lakjin)

    Can you tell me how you found out about the jquery errors? That would be a good starting point.

    Plugin Author yoav.aner

    (@yoavaner)

    Use the browser console (In chrome, press F12, and go to Console).

    Thread Starter Lakjin

    (@lakjin)

    Thanks. And I’ve tested it — minify and CDN are not causing the issue. I’m fairly certain it is a browser caching issue, but I’m just a newb.

    Thread Starter Lakjin

    (@lakjin)

    The issue has been identified to Browser Cache. I’m looking into seeing what settings can be modified to fix this.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Ajaxize not working’ is closed to new replies.