Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6110875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:33:57+00:00 2026-05-23T14:33:57+00:00

I wrote my own cacheEngine for memcached as that’s the extension I have installed

  • 0

I wrote my own cacheEngine for memcached as that’s the extension I have installed on my server and not memcache, so I can’t use the default memcache engine.

Now the engine is working fine when visiting the website, however. When I try to start a shell I get all sorts of Cache::Config errors, that I don’t see when visiting the site.

PHP Warning:  Cache not configured properly. Please check Cache::config(); in APP/config/core.php in /home/ezra/sites/example.nl/cake/libs/configure.php on line 402

Warning: Cache not configured properly. Please check Cache::config(); in APP/config/core.php in /home/ezra/sites/example.nl/cake/libs/configure.php on line 402
PHP Notice:  Undefined index: prefix in /home/ezra/sites/example.nl/cake/libs/configure.php on line 410

Notice: Undefined index: prefix in /home/ezra/sites/example.nl/cake/libs/configure.php on line 410
PHP Warning:  /persistent/ is not writable in /home/ezra/sites/example.nl/cake/libs/cache/file.php on line 267

Warning: /persistent/ is not writable in /home/ezra/sites/example.nl/cake/libs/cache/file.php on line 267
PHP Warning:  /models/ is not writable in /home/ezra/sites/example.nl/cake/libs/cache/file.php on line 267

Warning: /models/ is not writable in /home/ezra/sites/example.nl/cake/libs/cache/file.php on line 267

Welcome to CakePHP v1.3.10 Console

And my Cache::config in core.php

/*
  Memcached (http://www.danga.com/memcached/)
 */
     Cache::config('default', array(
        'engine' => 'Memcached', //[required]
        'duration'=> 3600, //[optional]
        'probability'=> 100, //[optional]
        'prefix' => 'smm_', //[optional]  prefix every cache file with this string
        'servers' => array(
            array('127.0.0.1', 11211), // localhost, default port 11211
        ), //[optional]
        'compress' => true, // [optional] compress data in Memcache (slower, but uses less memory)
        'persistent' => false, // [optional] set this to false for non-persistent connections
    ));

Are there any bugs with Shells and custom cacheengines or did I really mess up?

TIA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:33:57+00:00Added an answer on May 23, 2026 at 2:33 pm

    Found the problem.

    I had a different php.ini for cli, in this php.ini I forgot to load the memcached.so.

    After adding this to the php.ini it worked fine!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two collections of my own reference-type objects that I wrote my own
I have an application that allows users to write their own code in a
I wrote my own jquery plugin and was surprised that I haven't access to
I wrote my own function that keeps a sidebar fixed on screen after a
I have to replace the standard mod_roster with my own custom roster. I wrote
I wrote my own terminal program that reads from the serial port to read
i wrote a own Security Manager and my problem is, that i run code
in php i wrote my own debug function which have two arguments: text and
I want to use Powershell to write some utilities, leveraging our own .NET components
I wrote a windows service using VB that read some legacy data from Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.