Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Setting prefix_key causes ErrorException #3

Closed
WishCow opened this issue Apr 9, 2013 · 1 comment
Closed

Setting prefix_key causes ErrorException #3

WishCow opened this issue Apr 9, 2013 · 1 comment
Assignees
Labels

Comments

@WishCow
Copy link

WishCow commented Apr 9, 2013

I have the following config:

lsw_memcache:
    clients:
        general:
            hosts:
                - { dsn: localhost, port: 11211 }
            options:
                prefix_key: lingo_general_

This results in:

ErrorException: Warning: Memcached::setOption(): error setting memcached option in /srv/http/lingo/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php line 1087

 in /srv/http/lingo/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php line 1087
at ErrorHandler->handle('2', 'Memcached::setOption(): error setting memcached option', '/srv/http/lingo/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php', '1087', array('option' => '15', 'value' => '0', 'start' => '1365523204.4116', 'name' => 'setOption'))
at Memcached->setOption('15', '0') in /srv/http/lingo/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php line 1087
at LoggingMemcache->setOption('15', '0') in /srv/http/lingo/app/cache/dev/appDevDebugProjectContainer.php line 2269
at appDevDebugProjectContainer->getMemcache_GeneralService() in /srv/http/lingo/app/bootstrap.php.cache line 211
...

If I remove the prefix_key, everything is fine.

@ghost ghost assigned mevdschee Apr 10, 2013
@mevdschee
Copy link
Contributor

Thank you for reporting this issue. I found the cause and fixed it in 8804c0c

mevdschee pushed a commit that referenced this issue Apr 10, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants