Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 3:39 am (All times are UTC )

 


Forum rules

Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Sat Nov 07, 2009 6:41 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Nov 07, 2009 6:36 pm
Posts: 1
Joomla 1.5.14 and .15, I enabled XCache and it worked for php caching.
Enabled "cache plugin" and it saved on files. Set to save on XCache but it still saved on files.
Enabled the global cache and it saved on XCache
Disabled the global cache and it saved on files....

I cheched the code and I think there is a missing declaration, the patch is this:

Code:
--- cache.php   2009-04-21 01:58:49.000000000 +0200
+++ cache.php   2009-11-07 00:38:58.000000000 +0100
@@ -51,7 +51,8 @@
                        'lifetime'              => $this->params->get('cachetime', 15) * 60,
                        'browsercache'  => $this->params->get('browsercache', false),
                        'caching'               => false,
-                       'language'              => $config->getValue('config.language', 'en-GB')
+                       'language'              => $config->getValue('config.language', 'en-GB'),
+                       'storage'               => $config->getValue('config.cache_handler', 'file')
                );

                jimport('joomla.cache.cache');


With this patch cache plugin correctly saves on XCache....

Let me know if it is ok....


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group