Closed arpadlukacs closed 10 years ago
Are there any errors when you turn debug to 2 in app/Config/core.php? It should be around line 36. Have you tried to refresh your browser cache?
What cache is the app using? It will be in the debug info. It should be something like FileCache or ApcCache. You could try to clear the cache, see the CakePHP documentation.
Thanks for helping me. The debug was turned on by default (2) and the pages did not show any error. It used FileEngine. I tried clearing the cache, I also tried different browsers without luck. Then I switched to ApcCache and the same pages are still broken there too. What is weird to me, if the cache does not work properly for me, why always the same pages are broken and why other same pages look ok? Even when I go to /books without loading the index page first, right after clearing the cache, the page is broken, but the authors page still ok. Update: I have also tried Redis for cache, but it gives me the same broken pages.
I installed this great tool on my machine using git clone and the master branch. On the index page everything looks good. Count of numbers, styles. When I try to go to the books page it shows a minimal page without any styling and no books at all. The source of page looks like this:
there is no head tag or anything, just a fraction of a page. The authours page works and looks ok, but when I try to click on a link (eg. /authors/view/156) I get a similar broken page.