Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default session_handler #5127

Closed
Olvikolvi opened this issue Nov 16, 2014 · 5 comments
Closed

Default session_handler #5127

Olvikolvi opened this issue Nov 16, 2014 · 5 comments

Comments

@Olvikolvi
Copy link

Steps to reproduce the issue

We are using memcache as default session handler and this set up is in php.ini.

Expected result

Joomla to use default session handler is not set in configuration.

Actual result

PHP Warning: session_start(): open(tcp://127.0.0.1:11211/sess_r5c5940ecaru55pr69bssctmu2, O_RDWR) failed: No such file or directory

System information (as much as possible)

php.ini: session.save_handler = memcache

Additional comments

Change libraries/joomla/session/storage/none.php to use default php session handler.

@Olvikolvi
Copy link
Author

Fix:
31c31

< ini_set('session.save_handler', 'files');

// ini_set('session.save_handler', 'files');


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5127.

@Olvikolvi
Copy link
Author

Fix:
libraries/joomla/session/storage/none.php
Comment out line 31:
// ini_set('session.save_handler', 'files');


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5127.

@jissues-bot
Copy link

Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/5127

@zero-24
Copy link
Contributor

zero-24 commented Nov 19, 2014

@Olvikolvi please have a look into this PR: #5142 It should work for you if the value is allready set 😄

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5127.

@Olvikolvi
Copy link
Author

@zero-24, Thank you. This really helps.

phproberto pushed a commit that referenced this issue Mar 7, 2015
…5127. Fixes #5142

description

description && check update

Update none.php

Update none.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants