Note that there are some explanatory texts on larger screens.

plurals
  1. POCakePHP Rendering Error
    text
    copied!<p>I have a CakePHP 2.3.0 site I've been working on without issue until now.</p> <p>On my local setup everything works. On our original deployment everything works. But now, on a new deployment (using the same hosting provider as the first deployment) I'm getting very strange behavior.</p> <p>Occasionally, and I've been unable to pin it down to any particular controllers/actions, I will get the View rendered properly, but the layout that wraps it will not be included. Basically, instead of getting a complete HTML document, I'm getting only the markup for the view. There do not appear to be any errors in output in the view markup, so I'm not sure what/where the problem is occurring.</p> <p>What is strange is that, once this condition has been triggered, all other controllers/views do the same thing, but waiting some amount of time (a few minutes; I've been unable to nail it down to a more specific period of time) seems to reset whatever the problem is and the complete layout(s) and view(s) render correctly again.</p> <p>The guy here who manages our hosting tells me there are no apache logs and that it's a hassle getting the hosting provider to provide them, so I'm sort of stuck there. Given that the breakdown seems to be occurring within Cake itself, I'm not really sure where to even start troubleshooting.</p> <p>Has anyone else ever encountered this? Anyone have suggestions on where to being debugging? The lack of error logs is frustrating, but it's the situation I'm in.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload