All the CSS styling has disappeared from the Control Panel site
Posted: 10 March 2008 12:10 AM   [ Ignore ]  
Summer Student
Total Posts:  2
Joined  03-09-2008

UPDATE: I just found this article which could help me with this problem.I’ll remove this post if I get this fixed myself

Hi everyone, I was going to log on to my locally-installed EE site, when it appears that all the CSS styling has disappeared from the CP. So for example, where the default EE login page would look something like

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<
head>
<
title>Login ExpressionEngine</title>

<
meta http-equiv='content-type' content='text/html; charset=utf-8' >
<
meta http-equiv='expires' content='-1' >
<
meta http-equiv='expires' content='Mon, 01 Jan 1970 23:59:59 GMT' >
<
meta http-equiv='pragma' content='no-cache' >
<
style type='text/css'>
body { 
    margin
0
    
padding0
    
font-familyArialLucida GrandeVerdanaGenevaSans-serif
    
font-size12px
    
color#333; 
..... 

mine instead looks like:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<
head>
<
title>Login ExpressionEngine</title>

<
meta http-equiv='content-type' content='text/html; charset=utf-8' >
<
meta http-equiv='expires' content='-1' >
<
meta http-equiv='expires' content='Mon, 01 Jan 1970 23:59:59 GMT' >
<
meta http-equiv='pragma' content='no-cache' >
<
style type='text/css'>


</
style

When I do login (no problems there) there’s no CSS styling anywhere in the CP. But all my site’s content is intact. (I’ve attached a screenshot.)

What could have happened here? Is there a missing or corrupted mySQL table or something?

Thanks!

Profile
 
 
Posted: 10 March 2008 12:24 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  2
Joined  03-09-2008

Oops, never mind, for someone bizarre reason, my open_basedir setting did get modified last night or something. problem solved.

Profile
 
 
Posted: 10 March 2008 12:29 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  493
Joined  04-23-2006

Login to your Control Panel, and navigate here:
CP Home ›  Admin ›  System Preferences ›  General Configuration

Make sure that URL to your “themes” folder and Theme Folder Path are properly set.

/*EDIT*/ Let’s leave the responses here, although the problem was solved, someone may find these useful.

smile

 Signature 

OLD username was jammo, NEW username is OrganizedFellow

It’s a struggle even to keep focused. This is the best of my AD/HD & GTD.
The exceptionally slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

Profile
 
 
Posted: 10 April 2008 10:11 AM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  3
Joined  04-10-2008

I’m facing exactly the same problem. There is no CSS styling in the Control Panel site. I can log in, so I made sure that URL to my “themes” folder was correct. But there is no Theme Folder Path field to enter Theme Folder Path.

The whole story goes like this:
I had to run the company’s site locally in order to add multilingual features.. I search for instructions on the whole procedure and finally I managed to make it.

The things I did were:

I made a database back-up through EE Core v 1.5.2. Build:  20061128 (This is the one that is used in the live site).
I made a new database using phpMyAdmin and imported the db back-up, after altering the Urls in the back-up, so that they have “localhost”.
I downloaded via ftp the files of the site and placed them in the right folders in my computer.
I also changed the Urls in Config.php.
Now, everything seemed ready..

I typed in the browser the right Urls and the result was:
The Control Panel site had no CSS styling,
and
the site had the right appearance but everything that was written in greek had been substituted with characters “?”. In the Control Panel also every text,entry and some parts of the templates that had greek characters were alterd with “?” characters. If I delete the “?” characters and write the correct text, then it’s ok. So, I have to do some copy-paste from the live site to the loite, but what about the appearance of the Control Panel?

I’ve tried a lot of times the procedure and I don’t know what’s the problem about the Control Panel.

Profile
 
 
Posted: 07 May 2008 03:34 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  58
Joined  11-09-2004

I’m experiencing the same problem right now too. I migrated my database tables to a new DB (as well as the site to a new host & server), and the Control Panel’s styling has completely disappeared. Same as the screenshot above. I’ve edited my Prefs’s paths, but no dice. Everything else is still there though.

You mention your “open_basedir settings” were modified. Where would I find this, and if I do, is this something I should mess with?  long face

Profile
 
 
Posted: 07 May 2008 04:40 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  58
Joined  11-09-2004

Oy, so stupid, I was. Solved this one after realizing it wasn’t just my Theme Folder Path that needed editing to the new host’s path, but also the Template Preferences, and the File Upload Preferences.

*Huge sigh of relief*

Profile
 
 
Posted: 08 May 2008 05:12 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  3
Joined  04-10-2008

The URL to my themes folder (Admin > System Preferences > General Configuration > URL to your “themes” folder) seemed to be OK.

I checked the Template Preferences (Templates > Global Template Preferences) and the field “Basepath to Template File Directory” had no value both in my local and on-line site (on-line site has CSS styling in the control panel). I entered a path but nothing changed, so I left it blank as it was.

Also, I checked the File Upload Preferences (tab Admin > Weblog Administration > File Upload Preferences > Main Upload Directory click Edit) and the field “Server Path to Upload Directory” had value: “../images/uploads/”. It seemed OK to me so I didn’t changed it.

All these didn’t worked, but finally, I solved the problem by copying the cp_themes folder into my system folder, as the first post says..

Now my Control Panel has CSS styling, but there is one thing I discoved:
In the field “Default Control Panel Theme” (Tab Admin > System Preferences > Control Panel Settings) there isn’t any dropdown list at all, for choosing the control panel’s theme..

I don’t know if this is the only problem or I’m going to find also other things missing in the various menus of the control panel..

Profile
 
 
Posted: 09 May 2008 01:02 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Avatar
Total Posts:  15
Joined  03-03-2007

Now my Control Panel has CSS styling, but there is one thing I discoved:
In the field “Default Control Panel Theme” (Tab Admin > System Preferences > Control Panel Settings) there isn’t any dropdown list at all, for choosing the control panel’s theme..

I don’t know if this is the only problem or I’m going to find also other things missing in the various menus of the control panel..

I am having the same problem after migrating a local development site to my Engine Hosting account. All appears well, with the exception of the missing control panel theme selection options (both places) and missing buttons on the control panel homepage (the green buttons along the top, beneath the main navigation and above the main content). I have moved the cp_themes folder to my system directory (which styled the control panel, sans the aforementioned items), I have cleared my caches, etc…any other ideas?

UPDATE: I was able to get everything back up to speed. I had moved my “cp_themes” folder to the system folder as a shot in the dark…I decided to delete it and reupload, making sure I did so using binary formatting. It looks like it did the trick.

Profile
 
 
Posted: 12 May 2008 03:16 AM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  3
Joined  04-10-2008

I don’t know which are the “missing buttons on the control panel homepage (the green buttons along the top, beneath the main navigation and above the main content)”, that are mentioned above. I have attached a screenshot of my cp homepage.

The cp_themes folder was in binary formatting when I downloaded it from the on-line site to my local one and still the “Default Control Panel Theme” dropdown list is missing.. Any other ideas?

Profile
 
 
Posted: 14 July 2008 03:35 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Total Posts:  8
Joined  05-15-2008

EE1.6.3 - Also had a problem with the control panel CSS going AWOL after migrating. It turned out to be the THEME FOLDER PATH that was wrong. All I did was add two dots to go up a directory - “../themes/” (don’t forget the two dots!). That suddenly fixed it.

Profile
 
 
Posted: 02 December 2008 07:09 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Rank
Total Posts:  31
Joined  01-30-2008

I had this issue and I also needed to add more of the URL to the themes path. I had “/themes/” and changed it to “http://path_to_site/themes/”

Profile
 
 
Posted: 03 June 2009 07:29 PM   [ Ignore ]   [ # 11 ]  
Grad Student
Avatar
Rank
Total Posts:  34
Joined  05-28-2009
joninnz - 14 July 2008 07:35 AM

EE1.6.3 - Also had a problem with the control panel CSS going AWOL after migrating. It turned out to be the THEME FOLDER PATH that was wrong. All I did was add two dots to go up a directory - “../themes/” (don’t forget the two dots!). That suddenly fixed it.

genius! just hope everything else is ok smile thanks

I have moved it to my hosting as I want paying b4 sending the goods haha!

 Signature 

loves EE! But is a noob to all this so please bare with me smile

Profile
 
 
Posted: 03 June 2010 04:01 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Avatar
Rank
Total Posts:  34
Joined  09-13-2005
joninnz - 14 July 2008 07:35 AM

EE1.6.3 - Also had a problem with the control panel CSS going AWOL after migrating. It turned out to be the THEME FOLDER PATH that was wrong. All I did was add two dots to go up a directory - “../themes/” (don’t forget the two dots!). That suddenly fixed it.

../themes/ did the trick for me too as the “Theme Folder Path”.

Thanks a lot! smile

Profile