colinmollenhour / Cm_RedisSession

Redis-based session handler for Magento with optimistic locking
208 stars 121 forks source link

How to install without Modman or Composer #150

Closed 2ten closed 6 years ago

2ten commented 6 years ago

I've tried every logical placement of the submodules and cannot get this to work. Where do you place the submodules? My current error with files placed as below is
Warning: include(Cm\RedisSession\Handler.php): failed to open stream: No such file or directory in /var/www/www.blingjewelry.com/lib/Varien/Autoload.php on line 94

The placement of the submodules is as follows: https://github.com/colinmollenhour/php-redis-session-abstract

/lib/Cm/RedisSession/ConcurrentConnectionsExceededException.php /lib/Cm/RedisSession/ConnectionFailedException.php /lib/Cm/RedisSession/Handler.php /lib/Cm/RedisSession/Handler/ConfigInterface.php /lib/Cm/RedisSession/Handler/LoggerInterface.php https://github.com/colinmollenhour/credis /lib/Credis/Client.php /lib/Credis/Cluster.php /lib/Credis/Client.php /lib/Credis/Module.php /lib/Credis/Sentinel.php Please advise
2ten commented 6 years ago

The point of reference for all the paths above is the magento root.

This seems to be working now, even though I'm sure I tried this before, but now working. app/code/local/Credis/Contents of https://github.com/colinmollenhour/credis app/code/localCm/RedisSession/lib/src/Contents of https://github.com/colinmollenhour/php-redis-session-abstract/tree/master/src/Cm/RedisSession/Handler