Error Message On Joomla V2.5.6

Hi

We have recently moved our backed up website from our previous host server Joomla.org   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
shaunwinginAsked:
Who is Participating?
 
gr8gonzoConnect With a Mentor ConsultantCommented:
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';
0
 
shaunwinginAuthor Commented:
Joomla V2.5.6
0
 
shaunwinginAuthor Commented:
Tx! var $cache_handler = 'memcache';
Should this be changed back?
Whats the difference between them please?
0
 
gr8gonzoConsultantCommented:
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.
0
 
shaunwinginAuthor Commented:
tx, much appreciated.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.