Link to home
Start Free TrialLog in
Avatar of Shaun Wingrin
Shaun WingrinFlag for South Africa

asked on

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
Avatar of Shaun Wingrin
Shaun Wingrin
Flag of South Africa image

ASKER

Joomla V2.5.6
ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Tx! var $cache_handler = 'memcache';
Should this be changed back?
Whats the difference between them please?
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.
tx, much appreciated.