CodeIgniter Forums
Cache / caching - is it working? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Cache / caching - is it working? (/showthread.php?tid=21490)

Pages: 1 2


Cache / caching - is it working? - El Forum - 11-30-2009

[eluser]Phil Sturgeon[/eluser]
Hard to say. Open up application/libraries/Output.php and find "_display_cache". Within this method, replace each "return FALSE;" with "exit(__LINE__);" and you should find out which step the Output library is failing on.

Post results back here if you still need help.


Cache / caching - is it working? - El Forum - 11-30-2009

[eluser]Bullit2k[/eluser]
Thanks Phil, I'll get back here with results soon. cheers


Cache / caching - is it working? - El Forum - 12-12-2009

[eluser]aidehua[/eluser]
Dying to hear the end of this!

@Bullit2k - Did you find the answer?


Cache / caching - is it working? - El Forum - 12-13-2009

[eluser]Bullit2k[/eluser]
Hi,

I nearly have this figured out...
It's path related.

I turned off md5 on the path being written to and read from.
Both were different and non existent.
This is in _displaycache and _writecache in output.php.

The path problem has happened as I have changed baseurl on the fly.
I'm using on install of CI to run multiple domains - similar sites.
It's now looking at a wrong blank baseurl (cos I've done this in an odd way...)

So, I'll fix up the paths and that should be that for this problem.

I suggest anyone with similar issues turns off the md5 to take a look at their paths.
Probably the issue.

Cheers to all for help offered.