Comments (8)
I'm using a non-localhost host and PHP 5.4 on several machines with no issues..
from cm_redissession.
Thanks for the reply, do you have any idea why this might happen?
Was wondering if that might be anything in php.ini
from cm_redissession.
No, what is the result of var_dump(Mage::getConfig()->getNode('global/redis_session/host')) and var_dump(Mage::getConfig()->getNode('global/redis_session')) ?
from cm_redissession.
object(Mage_Core_Model_Config_Element)#105 (1) { [0]=> string(14) "192.168.100.40" }
object(Mage_Core_Model_Config_Element)#140 (13) {
["host"]=> string(14) "192.168.100.40"
["port"]=> string(4) "6381"
["password"]=> object(Mage_Core_Model_Config_Element)#141 (0) { }
["timeout"]=> string(3) "2.5" ["persistent"]=> object(Mage_Core_Model_Config_Element)#104 (0) { }
["db"]=> string(1) "0"
["compression_threshold"]=> string(4) "2048"
["compression_lib"]=> string(4) "gzip"
["log_level"]=> string(1) "1"
["max_concurrency"]=> string(1) "6"
["break_after_frontend"]=> string(1) "5"
["break_after_adminhtml"]=> string(2) "30"
["bot_lifetime"]=> string(4) "7200" }
from cm_redissession.
Beats me.. I would think that an object instance would be a truthy value.. What version of PHP are you running?
from cm_redissession.
PHP 5.4.18 (cli) (built: Aug 19 2013 14:48:39)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
maybe you should consider
$options = Mage::getConfig()->getNode('global/redis_session');
if ($options) {
$options = $options->asArray();
}
and then use it as array?
from cm_redissession.
Will consider a pull request, but I still have no idea how the same code evaluates to a different result for you than it does for me.. Have you actually inspected the variables in a debugger?
from cm_redissession.
Issue is back on production, fresh two servers on Centos 6.4, php 5.4.x and same problem again
from cm_redissession.
Related Issues (20)
- Connectivity issue with Azure Redis Cache HOT 1
- Configuration changes don't take effect HOT 3
- hard coded session expiry HOT 5
- Magento 1.7.0.2 and PHP 7.x HOT 1
- Fatal Error when compilation is enabled HOT 4
- Passing glue string after array is deprecated. Swap the parameters in colinmollenhour/credis/Client.php on line 1414 HOT 4
- Cm\RedisSession\Handler::read taking more than 6sec HOT 14
- Session storage - Too many active connections HOT 2
- Tag current version master HOT 1
- Magento 2 switching to Laminas instead of Zend (ZF2) HOT 3
- Experiencing delay problems HOT 1
- PHP Warning: Module 'redis' already loaded in Unknown on line 0 HOT 1
- Make setSaveHandler() only callable once
- Separate read-only instance from read/write instance HOT 5
- missing ConfigInterface HOT 1
- Session IDs are plain text in redis (missing hash) HOT 1
- Native Magento Redis Session extension HOT 1
- 3.0.1 can not load the session model using composer HOT 10
- How can I install a specific version of this module via modman? HOT 4
- Error cleaning cache by mode matchingAnyTag: A pipeline is already in use and only one pipeline is supported. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cm_redissession.