开发者

Joomla memcache session problem

开发者 https://www.devze.com 2022-12-20 03:31 出处:网络
Hi i have some troubles with memcached + joomla. I installed and started memcached => joomla options cache type memcache (write memcache options) and session type - memcache too. Save all options and

Hi i have some troubles with memcached + joomla. I installed and started memcached => joomla options cache type memcache (write memcache options) and session type - memcache too. Save all options and after cann't login to开发者_开发知识库 site and administration. In error log nothing, when i change cache to database i can login, where is the problem?


What version of Joomla are you running and what is the browser / server combination?

I'm assuming you've cleared the browser cache after making these changes?

Some web servers, especially shared hosting, don't cycle as quickly as we'd like and I've experienced a lag in the time cache settings in Joomla are changed, and when they take effect...


this problem is very simple! go to your directory of joomla.

example:

/home/user/workspace/joomla

and open the file into the joomla folder:

"configuration.php"

with it opened change the line:

public $session_handler = 'memcache';

to

public $session_handler = 'database';

Alright? I hope that helped you.


Don't use memcached for session cache. Use database or file cache for sessions.

0

精彩评论

暂无评论...
验证码 换一张
取 消