?
Solved

Error Message On Joomla V2.5.6

Posted on 2012-08-22
5
Medium Priority
?
754 Views
Last Modified: 2012-08-22
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
0
Comment
Question by:shaunwingin
  • 3
  • 2
5 Comments
 

Author Comment

by:shaunwingin
ID: 38320163
Joomla V2.5.6
0
 
LVL 35

Accepted Solution

by:
gr8gonzo earned 2000 total points
ID: 38320177
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
 

Author Closing Comment

by:shaunwingin
ID: 38320638
Tx! var $cache_handler = 'memcache';
Should this be changed back?
Whats the difference between them please?
0
 
LVL 35

Expert Comment

by:gr8gonzo
ID: 38320719
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
 

Author Comment

by:shaunwingin
ID: 38320744
tx, much appreciated.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

850 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