kalaspuff / redis-cache-zend-framework

🗄 Redis cache backend for Zend Framework with support for tags. Uses PHP module phpredis. [not actively maintained]
BSD 3-Clause "New" or "Revised" License
44 stars 30 forks source link

Fatal error #1

Closed footcow closed 11 years ago

footcow commented 11 years ago

Hi,

I'm not able to use this Zend_Cache Extented backend for Redis, I get using simply your example this message:

Jan 13 23:45:27 dealer apache2: PHP Fatal error: Call to a member function delete() on a non-object in /var/www/library/redis-cache-zend-framework/Extended/Cache/Backend/Redis.php on line 206

Any idea to solve this issue ?

Other point, in your example for the load part you show a save command. ;)

Thanks per advance for your reply, Regards.

kalaspuff commented 11 years ago

Heya,

Looks like the transaction start ("multi" call) is somehow failing. I've updated the code to try and fallback to normal mode if transactions is disabled or doesn't work. You can try and pull the latest changes and if we're lucky this will solve the problem.

Oh, and thanks about the typo on the example. :)

footcow commented 11 years ago

Thanks, it's runing perfectly for me.