Yes, thank you!
Can you please check the errors logs to see what causes the white sceen?
Turning on WP_DEBUG might also help.
Thread Starter
KTS915
(@kts915)
OK, this is what I got after turning on debug mode, activating WP-FFPC and saving the default settings (which are set to PHP Memcache):
Notice: wp-ffpc init starting in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php on line 59
Notice: wp-ffpc 127.0.0.1:11211 added, persistent mode: 0 in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php on line 59
Notice: wp-ffpc checking server statuses in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php on line 59
Notice: wp-ffpc 127.0.0.1:11211 server is up & running in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php on line 59
After changing from PHP Memcache to XCache, I get the white screen of death with this message:
Fatal error: xcache_info(): xcache.admin.user and/or xcache.admin.pass settings is not configured. Make sure you've modified the correct php ini file for your php used in webserver. in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-ffpc-backend.php on line 630
Have you tried setting the xcache.admin.user and the xcache.admin.pass in the php.ini?
Xcache needs that in order to have the user cache work.
Thread Starter
KTS915
(@kts915)
My mistake! I assumed that the plugin did its own configuring.
I’ve set them both up now, and the site is now working, but I get these messages:
Notice: wp-ffpc init starting in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php on line 59
Warning: xcache_info() expects exactly 2 parameters, 0 given in /var/www/html/webby/wp-content/plugins/wp-ffpc/wp-ffpc-backend.php on line 630
Thread Starter
KTS915
(@kts915)
Just in case it helps, Query Monitor reports the following in addition to the debug messages:
wp-ffpc clearing scheduled hook wp-ffpc-precache-task
wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php:59
wp-ffpc getting option wp-ffpc-precache-timestamp
wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php:59
wp-ffpc getting option wp-ffpc-precache-log
wp-content/plugins/wp-ffpc/wp-common/wp-plugin-utilities.php:59
xcache documentation is one of the shittiest I’ve ever seen.
/**
* Get cache info by id on specified cache type
*
* @param int $type
* @param int $id
* @return array
*/
function xcache_info($type, $id) {}
and I cannot find any information on what type and id indicates there.
I’m very close to drop xcache support.
Any idea what do they represent or how to test if xcache is happy in another way?
Thread Starter
KTS915
(@kts915)
Thanks for looking at this. I’ll talk to my host and see if they have some ideas.
Thread Starter
KTS915
(@kts915)
Peter,
I have now had a good conversation with my host. They were, as always, extremely helpful.
But, to cut a longish story short, I think it probably does indeed make sense to drop support for XCache.
Thanks for your hard work!