ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Control panel page not rendering completely

August 04, 2011 1:22am

Subscribe [3]
  • #1 / Aug 04, 2011 1:22am

    Tyssen

    756 posts

    This is a very weird problem. Locally my install of this site works fine. The live version of the site should be no different because it was deployed from my local copy using Git and uses the same database.

    But on the live site, some pages in the control panel don’t fully render, missing the footer and key bits of javascript which stop the page working properly. It only seems to affect certain pages though, e.g. publish/edit, Structure module page, Communicate page, Template manager (but not template prefs of snippets or GVs) and PHP Info page.

  • #2 / Aug 04, 2011 2:04am

    Tyssen

    756 posts

    Seems to have been something weird going on at the server end because the control panel’s functioning again properly now. Would be interesting to know what sort of glitch would stop parts of pages rendering though.

  • #3 / Aug 04, 2011 11:49am

    Kevin Smith

    4784 posts

    John,

    Glad to hear everything’s working again. If it was a server issue, perhaps some server-side caching wasn’t sending the latest theme files? Let us know if this pops back up.

  • #4 / Aug 24, 2011 11:09pm

    Tyssen

    756 posts

    This problem is back except now it’s worse than before with every page of the CP being affected. I’ve tried upgrading the site to 2.2.2 and everything works fine on my local set-up but not on the live server. Front end of the site is fine, it’s just the CP which is borked. What with the problem appearing and then going away and now coming back, and the fact that everything is fine locally and the site was deployed using Beanstalk, I’m inclined to think it’s a server issue but it would be useful if we had an idea of where to look to fix the problem.

  • #5 / Aug 26, 2011 1:12pm

    Lisa Wess

    20502 posts

    Hi, Tyssen,

    This is a bit of an odd one.

    I am curious if you uploaded the files via FTP if that would help.  But before you go to that process - are there any server error logs that may indicate what is going on? And is this happening when you visit it from other locations, say a computer on another network?

    Also, do you have a screenshot of the partial load? It might help to see what it looks like.

    And lastly, did you run the server check wizard to ensure the server is EE ready?

  • #6 / Aug 26, 2011 6:37pm

    Tyssen

    756 posts

    The files were originally uploaded via FTP. This is a site that’s been running for a few months already and everything has been working fine until just recently, so I hadn’t run the wizard, but I have just now and it’s all fine.

    The only things in the error log are ‘PHP Warning:  Maximum number of allowable file uploads has been exceeded in Unknown on line 0’ which has happened on a few different occasions.

    And yes this happens both at my end and the client’s and we’re on different networks.

    I’ve posted a screenshot of what the home page looks like but other pages look differently, e.g. the Structure module page doesn’t show the links to the accessories at all and publish edit pages show even less, only displaying the top two or three fields on the page.

    What’s happening is that the browser just stops receiving HTML at a certain point and it appears to change from page to page although it could be a certain amount of bytes is received which means pages with more going on (like publish/edit) display less because there’s more code to render.

  • #7 / Aug 28, 2011 4:20pm

    Kevin Smith

    4784 posts

    Hi John,

    That PHP error from the log looks unrelated to loading CP pages. Could you try loading the CP while watching the logs to see if any new errors roll in? Make sure you’re watching Apache logs as well. If anything relevant prints to the log, post it back here and that might help us narrow things down.

    Are there any other applications on this server? If so, are you noticing any performance issues with them?

    What are your PHP config values for memory limit, max_execution_time, and max_input_time?

    Is it only the CP, or do your front-end pages only partially load as well? Have you asked your host if they can run some diagnostics to see if they know why things are only partially loading?

  • #8 / Aug 29, 2011 11:50pm

    Tyssen

    756 posts

    Just to follow up, got this working with some help from the hosts tech support. They had to disable mod_security. They’re currently looking into why it wouldn’t work correctly with it on and why there was nothing showing up in any of the error logs.

  • #9 / Aug 30, 2011 4:23am

    John Henry Donovan

    12339 posts

    John,

    Glad they got to the source of the issue. I don’t think most things affected by mod_security would show up in logs as it is doing its job and not an error persay. Feel free as always John to start anew thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases