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 HTML output issues - FIXED

January 30, 2012 12:17pm

Subscribe [0]
  • #1 / Jan 30, 2012 12:17pm

    purple-agency

    11 posts

    I’ve having massive issues trying to resolve a problem where the control panel CSS that’s added by Javascript is closing the <head> of the document right near the top of the document, as follows:

    <html lang="en" class="js"><head><style type="text/css">.button a,
    .cp_button a,
    #search form,
    div.contentMenu,
    #mainContent .formArea,
    #navigationTabs .first_level:not(.addTab){border-radius:10px;}
    #navigationTabs .addTab{border-radius:none;}
    #accessoryTabs li,
    .heading{border-top-right-radius:10px;border-top-left-radius:10px;}
    .tableFooter,
    div.pageContents,
    #mainContent #publishForm{border-bottom-right-radius:10px;border-bottom-left-radius:10px;}
    .newTemplate{border-radius:5px;}
    #write_mode_writer{border-radius:15px;}
    .js_hide{}</style></head><body>
    
    
     <meta charset="utf-8"/>
    
     <title>Control Panel Theme | ExpressionEngine</title>

    Note after the closing style tag, the head is closed and body tag is opened.

    This issue is only happening on a staging server, on my local copy, there’s no error.

    The first assumption here is therefore a path issue, but I’ve checked each and every path and they are all correct.
    The second possible cause is a third party module, however, disabled and checked - still got the same issue.

    It should be noted I’ve had this same problem a number of times in the past.

    In firefox, it shows as whitespace at the top of screen.

    Unfortunately, it messes up a number of areas of the control panel and for the life of me, I simply cannot track down what’s causing the issue.

    As this is working on my local copy and as I cannot find any path issues, could it possibly be a file with a corrupt header, or a file with encoding by staging server isn’t keen on?

    I’m using ExpressionEngine 2.3.1 with the following third party addons:
    Matrix
    Better Workflow
    Navee
    DM EECK
    Freeform
    SEO Lite
    MiniMee
    P&T Fieldpack
    reCaptcha


    ————————————-

    Fixed. Was using bootstrap which was causing unforseen path issues with themes.

  • #2 / Jan 31, 2012 1:50pm

    Kevin Smith

    4784 posts

    Hi purple-agency,

    Glad you were able to find the solution. Let me know if there’s anything else I can do to help!

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

ExpressionEngine News!

#eecms, #events, #releases