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.

Missing styles in CP after 2.1.3 upgrade

January 29, 2011 5:24pm

Subscribe [5]
  • #1 / Jan 29, 2011 5:24pm

    pbcweb

    36 posts

    This question may be related to a resolved thread.

    Just upgraded from 2.1.1 to 2.1.3 today. Everything OK except for missing styles/CSS in my control panel. Been searching through the forum and found a few related entries but most seemed to be solved by fresh uploads of the CP themes folder. I have deleted and uploaded fresh copies but no luck yet. Also uploaded fresh copy of the Javascript folder. Checked my FTP client and it is set to upload in ‘Auto” mode, and like I said, everything else is OK.

  • #2 / Jan 30, 2011 5:08pm

    pbcweb

    36 posts

    Unrelated I think to this issue is an error we get anytime we try to edit an entry. I think this was happening before the version upgrade.:

    A Database Error Occurred
    Error Number: 1064

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 3

    SELECT `channel_id`, `status_group`, `deft_status` FROM (`exp_channels`) WHERE `channel_id` IN ()

    Filename: controllers/cp/content_edit.php

    Line Number: 1247

  • #3 / Jan 31, 2011 3:42pm

    Barry Cogan

    291 posts

    Hi Brain,

    For faster responses please edit your most recent post in the topic to keep your place in the queue. Our system is automated and rates the longest unanswered post as the first in the queue. 

    Can you confirm your version and build numbers at the bottom of any Control Panel page for us please?

    Also do you have any third party extensions installed?

    Thank you.

  • #4 / Jan 31, 2011 8:27pm

    pbcweb

    36 posts

    Version is 2.1.3, build 20101220. Under “build and version” in the what I think is the footer area (I am seeing raw HTML code without styling) it shows “running_current” Third party extensions are CP Analytics and Low No-Spam.

  • #5 / Feb 01, 2011 11:38am

    Sue Crocker

    26054 posts

    Hi, Brian. Do you have a local install you can test this with? I still think you’re missing some files.

  • #6 / Feb 01, 2011 4:11pm

    pbcweb

    36 posts

    I just installed MAMP on my Mac and got it running, but I am a newbie with that and need help with next steps.

  • #7 / Feb 02, 2011 9:25am

    Sue Crocker

    26054 posts

    Help with installing on MAMP? Or with taking what’s on MAMP and moving it to a regular server?

  • #8 / Feb 02, 2011 1:12pm

    pbcweb

    36 posts

    Help getting it to where I can test a local install of EE 2.13. Or what about just comparing the files installed on the 1and1 server against what I uploaded from locally to start with?

  • #9 / Feb 02, 2011 6:34pm

    Sue Crocker

    26054 posts

    Usually what I do is rename the themes folder on the server, and FTP up the ones that are working.. have you tried that? Which CP theme are you trying to use?

  • #10 / Feb 03, 2011 9:33pm

    pbcweb

    36 posts

    I have no reference as to what is working since I don’t have a local environment setup yet to test on. That’s where we left off talking about MAMP. I did do a comparison of local files in cp_themes/default against those on the server and everything matches. I deleted and uploaded all the css files for that theme again for grins but no change. And when we had first started this thread I had already deleted and uploaded the themes folder twice.

  • #11 / Feb 04, 2011 4:17pm

    Barry Cogan

    291 posts

    Hi Brian,

    So have you gotten MAMP installed?

    If yes: can you install a new copy of ExpressionEngine on your localhost?

    Once that is done can you let us know if it is showing styling?

    On your un themed site can you still log in and see things even tough it is unformatted?  It sounds like the base_url is not matching correct and can’t find the CSS as a result.

    Could you right click on the live site and select view source and paste in there the contents of the <head> tags?

    Thank you,

    Barry

  • #12 / Feb 04, 2011 5:03pm

    pbcweb

    36 posts

    I need to figure out getting a database setup in MAMP before I can install EE. This may not happen for a couple of days.

    Meantime, yes I can log into the control panel and see all the content in unstyled HTML format. I can post new content, just have to scroll down to find the entry fields. After logging in, below is what is contained in the source code in the head section. If you look at the ccs links, they contain “themescp_themes” as one word. I think it should be “themes/cp_themes.” So that doesn’t seem right to me.

    ————————————————————————————————————

    <!DOCTYPE html> 
    <html lang="en"> 
    <head> 
        <meta charset="utf-8"> 
     
        <title>CP Home | ExpressionEngine</title> 
        <link rel="stylesheet" href="http://www.pontiacbible.org/themescp_themes/default/css/jquery-ui-1.7.2.custom.css?v=1296327854" type="text/css" media="screen" /> 
        <link rel="stylesheet" href="http://www.pontiacbible.org/themescp_themes/default/css/global.css?v=1296327852" type="text/css" media="screen" /> 
        
            <!--[if lte IE 7]><link rel="stylesheet" href="http://www.pontiacbible.org/themescp_themes/default/css/iefix.css?v=1296327853" type="text/css" media="screen" />
    <![endif]--> 
     
        [removed] 
    // <![CDATA[
     
                document.documentElement.className += "js";
     
                if (typeof console === "undefined" || ! console.log) {
                    console = { log: function() { return false; }};
                }
                
                if (typeof EE === "undefined" || ! EE) {
                    var EE = {"SESS_TIMEOUT":3600000,"XID_TIMEOUT":14400000,"SESS_TYPE":"cs","BASE":"index.php?S=c3350b8668d687da3efe186e9f21ff1955c57b49&D=cp","XID":"79f80d67bcd06534f532aa4ea65cbb405e3b0591","PATH_CP_GBL_IMG":"http://www.pontiacbible.org/themes/cp_global_images/","CP_SIDEBAR_STATE":"y","flashdata":{},"username":"bsullan","router_class":"homepage","lang":{"logout_confirm":"Are you sure you want to log-out?","logout":"Log-out","search":"Search","session_timeout":"Your session is about to expire due to inactivity","session_expiring":"Your Session has expired.  Please log back in to avoid data loss","username":"Username","password":"Password","login":"Login","close":"Close"},"THEME_URL":"http://www.pontiacbible.org/themes/cp_themes/default/"};
                }
            
    // ]]>
    [removed] 
        
        [removed][removed] 
        [removed][removed] 
     
            [removed][removed] 
        
        <link type="text/css" rel="stylesheet" href="index.php?S=c3350b8668d687da3efe186e9f21ff1955c57b49&D=cp&C=css&M=third_party&package=cp_analytics&file=accessory" /> 
     
    </head>
  • #13 / Feb 06, 2011 9:04am

    Greg Salt

    3988 posts

    Hi Brian,

    Let’s get your theme issue sorted and then we can deal with the SQL errors you are seeing. Can you please temporarily disable your 3rd party addons. Then, in your CP at Admin > General Configuration, if your ‘URL to your “themes” folder’ is ‘http://www.pontiacbible.org/themes’ please add a ‘/’ to the end of that URL. Do you have an .htaccess file in your webroot (where your main index.php file is)? If so, please post its contents here.

    Cheers

    Greg

  • #14 / Feb 06, 2011 5:35pm

    pbcweb

    36 posts

    Extensions had already been disabled back from the beginning of this thread. I added the ending forward slash to the end of the themes URL but no difference so far after logging out and back in again. The contents of the .htaccess file is one line:

    #AddHandler application/x-httpd-php .php

  • #15 / Feb 07, 2011 3:56pm

    Ingmar

    29245 posts

    Do you have a theme path set in your config.php, perhaps? I think that your assessment is correct, there’s a slash missing between themes and cp_themes.

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

ExpressionEngine News!

#eecms, #events, #releases