-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cache engine default is not available. #12
Comments
What version of CakePHP are you using ? |
I'm not sure, but I think your issue is coming from the way your setting up the Cache engine in the other engines. Try not setting |
oh sry forgot to mention that - i'm using cakephp 2.4.4... and i don't understand your second message. |
The error You are setting |
when i let it as default $engine = 'File'; |
Did you install CakePHP with composer ? Is the plugin located in app/Plugin/Memcached, or in plugins/Memcached ? |
it's locatedn in app/Plugin/Memcached |
What's the steps ? You created a composer.json to install Cake, then |
yes, i've an /httpdocs/Cakeroot/composer.json for installing cake and than i baked projects to /httpdocs/Someapp with an /httpdocs/Someapp/composer.json where i have my plugins and stuff i just tried pasting the Memcached Engine directly into the Core and got another Error: Uncaught exception 'CacheException' with message ' is not a valid serializer engine for Memcached' in CakePHP/Cake/Cache/Engine/MemcachedEngine.php:140 When i let $engine = 'File'; i don't even get an error, but i'm not sure if it's working |
I think in <?php
//...
CakePlugin::load('Memcached');
App::uses('MemcachedEngine', 'Memcached.Lib/Cache/Engine');
Cache::config('default', array(
'engine' => 'Memcached.Memcached',
// more options
));
//... I did config success on my project. |
hi there, i can't get this plugin to work, even when memcached seems to work.
Here's what i've done:
http://bin.cakephp.org/saved/113597
i don't really know if it's a bug or misconfiguration, so thx for any response ;)
regards
The text was updated successfully, but these errors were encountered: