trevorseward
Forum Replies Created
-
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisOkay, got it working. I had added my defines below the line “/* That’s all, stop editing! Happy blogging. */”. Moving them above makes it work… sort of.
It shows as connected, but if I go to my homepage and refresh it a few times (as an anonymous user), I get timings between 2.2s – ~3s. If I disable the plugin, I get timings of ~2s. If I use the previous method I was using (linked above), I get 1s – 1.2s.
This is using IE11 on the Network -> Details as well as Chrome (current rev, x64).
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisHere’s the error I’m getting:
on\ConnectionException’ with message ‘Connection refused [tcp://127.0.0.1:6379]’ in …path…/wp-content/plugins/redis-cache/includes/predis.php:4049
No idea why it isn’t picking up my variables.
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisIs there any way I could echo out the status of the object cache to get an idea of the type of error I’m encountering?
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisOne thing, unsure if it is important for this plugin, my admin site is SSL-only, where as the site is non-SSL.
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisI had tried that previously — no luck unfortunately.
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisSure! So the previous method I linked to uses this:
include("predis.php"); $redis = new Predis\Client('tcp://instanceName.redis.cache.windows.net:6379?database=0'); $redis->auth("myAuthKey");
For this plugin, I tried using this in the wp-config.php:
define('WP_REDIS_SCHEME', 'tcp'); define('WP_REDIS_HOST', 'instanceName.redis.cache.windows.net'); define('WP_REDIS_PORT', '6379'); define('WP_REDIS_DATABASE', '0'); define('WP_REDIS_PASSWORD', 'myRedisKey');
Let me know if anything looks incorrect.
Thanks!
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisUnfortunately not! I’m using the exact same configuration settings, too. And I’m currently using tcp:// to my Redis instance via Predis, so that’s a bit of a bummer.
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisOk, so it sounds like this plugin was not tested against remote Redis instances via TCP, since this works just fine using the other method provided.
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisNo, the method I’ve been using is outlined in the link which involves manually placing predis with an appropriate index…php that leverages it. Your plugin does not work with Azure Redis, for whatever reason.
Forum: Plugins
In reply to: [Redis Object Cache] Enabling with Predis and Remote RedisThanks. And just to confirm that Predis/Azure Redis is working, I’ve been using this for some time via https://www.jimwestergren.com/wordpress-with-redis-as-a-frontend-cache/.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Lost Statistics (URL Change)You rock, thank you! ??
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Lost Statistics (URL Change)One additional detail I left out, my WP username is tseward.
Josh, question if you have a minute. If I hosted a blog at example.com/ and wanted to transfer it to contoso.com/, would the RewriteRule regex simply be
RewriteRule ^/(.*)$ ...
?Further information, I’m getting HTTP 500 errors when a user attempts to post a comment:
[18/Jun/2013:16:53:17 +0000] “POST /wp-comments-post.php?for=jetpack HTTP/1.1” 500 4184 “https://jetpack.wordpress.com/jetpack-comment/” “Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537
.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36″I checked and the error is coming from the iFrame located on https://jetpack.wordpress.com/jetpack-comments/?blogid=…