From: <ma...@tu...> - 2007-04-09 16:14:36
|
This rings a bell. I don't think the PEAR caching labels template cache files with the same name regardless of their location. Please bug it on sf and I'll try and find a work around. Matt > Hi, > > Just a heads-up, this struck me as curious once I sorted it out... > > I am developing two phpws 1.x sites concurrently on different > subdomains of my server. One of them is at devsite1.mydomain.com and > the other is at devsite2.mydomain.com Both are using a custom theme > but of the same name. > > I was finding that when I made a change to the theme.tpl file in one > site, the other site also seemed to get the changes applied when > viewed in a browser, even though the .tpl files in each site were > quite different. > > This confused the heck out of me and after fiddling with any possible > local cache, my php accelorator caches, and anything else I could > think of, I found the following switch in /config/core/config.php and > disabled it. > > define('ALLOW_CACHE_LITE', TRUE); > define('ALLOW_SIGMA_CACHE', FALSE); // << this was the problem > define('CACHE_LIFETIME', 3600); > define('CACHE_DIRECTORY', '/tmp/'); > > Once I identified it, the fix was easy enough. I suppose I should > just change the cache directory, but I thought it curious that it > would confuse the two subdomain's cached files. I wonder what it's > doing to the data cache, CACHE_LITE? > > rgds, > verdon > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |