J3 Issue ?
avatar thomasledoux1
thomasledoux1
21 Jun 2018

Steps to reproduce the issue

I changed my configuration.php file to include the following to use Memcached:
public $caching = '2';
public $cache_handler = 'memcache';
public $memcache_server_host = 'memcached-10314.c2.eu-west-1-3.ec2.cloud.redislabs.com';
public $memcache_server_port = '10314';
public $memcache_server_user = 'memcached-app98811975';
public $memcache_server_pass = '********';
I have installed the memcached extension on Heroku, and it was set up automaticly. I received the details above, so I entered the host I received and the port. There was also a username and password given to me, and I did not find how to enter this in the configuration.php so I added as seen above here. Is this maybe where I'm wrong?

Expected result

I expected the caching to be done by Memcached and to not receive an error.

Actual result

Now I get a server 500 error on my heroku webserver, and the following error:
The memcache Cache Storage is not supported on this platform.

System information (as much as possible)

  • php (7.2.6)
    • ext-gd (bundled with php)
    • nginx (1.8.1)
    • apache (2.4.33)

Additional comments

avatar thomasledoux1 thomasledoux1 - open - 21 Jun 2018
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Jun 2018
avatar brianteeman
brianteeman - comment - 21 Jun 2018

memcache and memcached are not the same thing

avatar thomasledoux1
thomasledoux1 - comment - 21 Jun 2018

@brianteeman I tried with the 'memcached' as $cache_handler but got the same error..

avatar mbabker
mbabker - comment - 21 Jun 2018

For Memcached, the PHP Memcached class must be available (generally true after installing and enabling PHP's ext/memcached).

For Memcache, the PHP Memcache class must be available (generally true after installing and enabling PHP's ext/memcache, note the official extension at last check wasn't PHP 7 compatible and I'm not entirely sure the fork that's mentioned in the PHP docs comments will actually work with our adapter).

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2018
Category com_cache
avatar brianteeman brianteeman - change - 22 Jun 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 22 Jun 2018
avatar wilsonge
wilsonge - comment - 18 Aug 2018

It's been two months without updates here so I'm assuming this has been solved and am closing the issue. It can always be re-opened if this is still an issue.

avatar wilsonge wilsonge - change - 18 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-18 11:07:56
Closed_By wilsonge
avatar wilsonge wilsonge - close - 18 Aug 2018

Add a Comment

Login with GitHub to post a comment