Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Andrija Vu?ini?

    (@aidvu)

    Should be.

    Thread Starter knguyen2011

    (@knguyen2011)

    THank you. How can I make it work with multiple Woo stores on the same server?

    • This reply was modified 2 years, 5 months ago by knguyen2011.
    Plugin Contributor Andrija Vu?ini?

    (@aidvu)

    Hey, did you try it as is? What problem are you facing? This is using wp_cache_add which should prefix with blog_id on multisite.

    Thread Starter knguyen2011

    (@knguyen2011)

    It seemed to have problem with WP core

    Cannot redeclare wp_cache_add() (previously declared in wp-includes/cache.php:41/

    Plugin Contributor Andrija Vu?ini?

    (@aidvu)

    Ah, I see. Did you follow the installation steps here?

    https://www.ads-software.com/plugins/memcached/#installation

    This one doesn’t just install like a plugin. Some manual work is required.

    Thread Starter knguyen2011

    (@knguyen2011)

    Got it. Ty. Just a question. Why it asked for memcache instead of memcached?

    Plugin Contributor Andrija Vu?ini?

    (@aidvu)

    > Why it asked for memcache instead of memcached?

    There are 2 PHP extensions for Memcached:

    memcache
    memcached

    They have different APIs, and this plugin was written for the memcache extension.

    Thread Starter knguyen2011

    (@knguyen2011)

    Thank you. I set the key for different domain but the second domain got the cache for the first domain.
    Here is for the first domain
    define( ‘WP_CACHE_KEY_SALT’, ‘thefirstdomain’ );

    here is for the second domain:
    define( ‘WP_CACHE_KEY_SALT’, ‘forthesecondomain’ );

    I think there is something wrong

    Plugin Contributor Andrija Vu?ini?

    (@aidvu)

    Hmm, are these 2 different sites on the same server? We’re running a lot of sites in parallel and it works just fine.

    Are you sure it’s connecting to memcached server fine? Can you debug a bit?

    Thread Starter knguyen2011

    (@knguyen2011)

    Yes, It connected to memcached server just fine but the second site got the cache from the first site.

    These two sites are on the same server. I’m so nervous. I had to disable WooComemrce and reactivate again and the cached went out.

    Plugin Contributor Andrija Vu?ini?

    (@aidvu)

    Hmm, maybe you ran it first time before setting the values? You can always restart memcached server when you have set the values and see if it’s ok?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Compatible with WooCommerce?’ is closed to new replies.