Error Message On Joomla V2.5.6

Posted on 2012-08-22
Last Modified: 2012-08-22

We have recently moved our backed up website from our previous host server   and now we have uploaded it into our new  server. Everything seems to be have done correctly and appropriately concerning the restore process BUT  - when we are on our back-end area operating our website - we cannot save any changes made on our site. We receive a message saying this....Fatal error: Call to a member function add() on a non-object in /home/a1t01/public_html/shaunw/libraries/joomla/cache/storage/memcache.php on line 435
What could be the problem and what would be the solution be?

Thank You
Question by:shaunwingin

    Author Comment

    Joomla V2.5.6
    LVL 34

    Accepted Solution

    Try using the file cache handler instead of memcache. Edit your configuration.php file and use these values:

    public $caching = '0';
    public $cache_handler = 'file';
    public $cachetime = '15';

    Author Closing Comment

    Tx! var $cache_handler = 'memcache';
    Should this be changed back?
    Whats the difference between them please?
    LVL 34

    Expert Comment

    I would keep it as "file" for the cache_handler. Memcache requires additional dependencies. If you're not familiar with how to install them, I wouldn't recommend doing it, since you won't be aware of how to properly configure and administrate it.

    Joomla basically tries to cache various pieces of data to speed up the display of pages. The "file" cache handler stores the cache on disk, while "memcache" stores the cache in temporary memory. Memory is much faster than disk, but unless you're handling extreme loads of visitors (e.g. you have so many visitors per second that you are experience performance problems), disk cache will be perfectly fine.

    I rarely see a good use case for memcache, to be honest. I deal with enterprise PHP applications all day for companies ranging from global corporations down to 1-person companies, and memcache isn't usually the answer for any of them. Disk caching may be slower than memory, but it's still very effective. By the time you have performance problems related to disk caching, you probably will need to change your overall architecture and start considering multiple load-balanced servers.

    Author Comment

    tx, much appreciated.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
    The viewer will learn how to dynamically set the form action using jQuery.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now