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.

Admin takes 16 seconds to load - locally

May 27, 2011 3:38am

Subscribe [7]
  • #1 / May 27, 2011 3:38am

    dominickelly

    179 posts

    My EE admin has suddenly become very unresponsive. What can cause this? Plugins? Database problems?

    TO confirm, I’m running my site locally, and all my other sites run fine, so this is a specific instance that’s running terribly.

  • #2 / May 27, 2011 4:17am

    dominickelly

    179 posts

    It seems to be a JS issue, the admin panel renders fine and quickly, but the interface elements are unresponsive.. Looking at the Output/Debugging information shows no slow queries. The top tabs are unresponsive in FF for 20 seconds, and never work in Chrome.

  • #3 / May 27, 2011 4:23am

    dominickelly

    179 posts

    I’m now seeing two other irritating issues:

    When trying to edit an entry in one channel:

    “An Error Was Encountered

    You are not authorized to access this page”

    When trying to edit an entry in a second channel:

    None of the fields are pre-populated with data,

    This is getting ridiculous and costing me money.

  • #4 / May 27, 2011 6:29am

    John Henry Donovan

    12339 posts

    Hi Dominic,

    What version and build of EE are you using?
    Are you using any add-ons?

    Try turning off version update info in your General Config. If you have the NSM update Accessory disable it.

    The 2 issues you refer to look like an existing bug where you click an entry too fast on the Edit page before it has finished loading

    You can find a fix for this straight away here

  • #5 / May 27, 2011 6:36am

    dominickelly

    179 posts

    What version and build of EE are you using?  v2.1.3 20101220
    Are you using any add-ons? yes, lots and lots. Can these slow down the admin?

    Try turning off version update info in your General Config - done, no effect.
    If you have the NSM update Accessory disable it - done, no effect.

  • #6 / May 27, 2011 6:39am

    John Henry Donovan

    12339 posts

    dominic,

    Are you using any add-ons? yes, lots and lots. Can these slow down the admin?

    Yes most certainly. If you disable them globally does it make a difference?

    So head to your extensions page and click on Disable Extensions in the top right. Do not disable individually as you will erase any settings you had for them. Using the button in the top right keeps all your settings intact.

    If you control panel speeds up then we can start looking at extensions

  • #7 / May 27, 2011 6:54am

    dominickelly

    179 posts

    Disabled Extensions globally - still slow, so not that!

  • #8 / May 27, 2011 6:59am

    John Henry Donovan

    12339 posts

    Dominic,

    You try restarting Apache locally?

    using FireBug do you see any JS errors or incomplete calls to scripts?

    Did this issue only start recently or was it there since your initial install?

  • #9 / May 27, 2011 7:05am

    dominickelly

    179 posts

    I’ve rebooted my machine and tried restarting Apache several times.

    Firebug is weird - http://screencast.com/t/HncoEhnZ - When I refresh, initially the bottom right ‘onload’ is < 2 seconds, but the browser continues to load and eventually ‘onload’ updates to 16 seconds. All assets in Firebug appear to load normally, and the total execution time doesn’t even add up to 16s!

    This is a recent issue.

  • #10 / May 27, 2011 10:42am

    Sue Crocker

    26054 posts

    Hi, dominic.

    What I’d do is the following:

    Download a copy of EE 2.1.3 build 20110411 (the most recent stable version) and make sure *that* version is working as expected.

    If it is, then import in your older database into the new one (after making a backup of the working newer database), make the changes you need for paths, etc..

    Does *that* work?

  • #11 / Jun 02, 2011 6:14am

    dominickelly

    179 posts

    Ok, upgrading EE is not an option due to tight deadlines. It was working fine, so I can’t see how it will be specific to this build.

    I’ve disabled extensions, no help.

    See here:

    http://screencast.com/t/9OxKvzQRn1

    The request URL for this asset is:

    system/index.php?S=be1b7b47df7127346fb2ec295729253a51fd3278&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog&plugin=ee_focus,ee_notice,ee_txtarea,tablesorter,ee_navigation&file=cp/global&effect=core&v=1305717369

    In Chrome this asset is completely empty, so non of the menu’s ever work.
    In Safari this issue is intermittent, sometimes it loads fine, other times the same pages take ages.
    In Firefox the issue is consistant, 15 second page load for everything, then the menu start working.

  • #12 / Jun 02, 2011 3:17pm

    Brandon Jones

    5500 posts

    Hi dominickelly,

    Do you have Gzip enabled in Output and Debugging Preferences? Try turning that off and see if there’s any difference.

  • #13 / Jun 02, 2011 5:01pm

    dominickelly

    179 posts

    Tried disabling Gzip - no difference.

    However, I have since released the site to a staging server and the admin is working perfectly fine. I used SVN to checkout an exact duplicate on my local development copy, and the database contains all the same data.

    To confirm, this appears to be an issue with my local copy only. What could cause it?

  • #14 / Jun 03, 2011 10:41am

    dominickelly

    179 posts

    Correction. It doesn’t work in Chome whatsoever on Staging. JS never loads.

    So, it’s been 8 days since I first reported this and I’m no closer to finding a solution. Not impressed.

  • #15 / Jun 05, 2011 2:52pm

    Greg Salt

    3988 posts

    Hi Dominic,

    It looks like you may be using some 3rd party Accessories as well as modules and extensions. Is that correct? If so, please try editing the settings for your accessories and removing them for certain CP areas to test whether they might be the culprit. What does the Chrome Inspector show? Any console errors?

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases