Drupal Commons site has no style after install

After successfully installing Commons and going to the site, my site has no style. I see a reference to a css file in the form:

%install_root%/drupal_commons/sites/default/files/css/css_1acaad3d96ebad99fcc89b6ef59d4ee4.css

But I do not see that css file on the server.

As I navigate the install site, I start to get the following message:

The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

Is this related to not finding the css file?

Questions:

What is the purpose of that css file?

Why would the css file  css_1acaad3d96ebad99fcc89b6ef59d4ee4.css  be missing? Is this a site specific css file that is created at installation for the specific site? A write error of some sort?

Comments

wolfflow

To your questions:

It looks you may have some folder permission issue on your server -> see -> http://commons.acquia.com/wiki/installing-drupal-commons#Configuration

About the "css_1acaad3d96ebad99fcc89b6ef59d4ee4.css" file, this is an automatic generated file that compress all CSS styles used as to improve speed and help not overloading rendering.

This is due that by install in the performance administrative section ( admin/settings/performance ) you have on Bandwidth optimizations  the option "OPTIMIZE CSS FILES" and "OPTIMIZE JAVASCRIPT FILES" enabled.

This settings are normally very usefully  for production(live) sites.

For testing and customize your Drupal Commons install it's better to disable as to have CSS and JS development support with tools like "Firebug" using Firefox.

gman201

Thanks for the info. I'm

Thanks for the info. I'm running on Windows Server 2003.  It ended up being a folders permission issue.  I ended up running the Apache service using the local system account during installation and the css and js files were successfully written. I switch back to running the Apache service as another user account after install.

gman201

I believe this may be a

I believe this may be a Drupal Commons bug or issue at least on Windows Server 2003 R2. I can only get the css and js files to write with Apache running as local system  account or a local admin account. I cannot get this to work with a local user account that has permissions to write to the directories. Note that the local user account used to run Apache is also used to run Tomcat. I have never had an issue with web apps, both PHP and Java, writing to directories using the local user account used to run the Apache and Tomcat service. Drupal Commons is the first web app I have encountered that fails to write to a directory.

If anyone has gotten this to work using a local user account on Windows Server 2003 R2, please let me know what you did to get this to work.

wolfflow

What I also presume

It may be possible after checking your Web-Server configuration, if you have Virtual-Host configured to allow access to users or dedicated ip address in the VH configuration section for your Drupal Commons site. Another way is to build on The server (Win2003) a dedicated Apache Group Account that you may add your Windows Users to it.

For testing purposes try to add the Apache directive :

<VirtualHost ...... >

......

.....

<Directive>

Order deny,allow

Deny from all

Allow from   .example.com (or IP Address)

</Directive>

</VirtualHost>

I guess in your case you may add 127.0.0.1 or /and localhost and/or the IP address of your machine network card if you have a local private network

unleash

the same issue here - see http://www.campus-24.com

Hi everybody !

I prefer to tell that I'm just beginning. So thank you for your patience and your help !

The css layout on my drupal site was not found at all

I haven't found any threads about this specifically. Anybody know what might be going on?

Note the js and css files in:

/home/vhost/WWW/campus-24.com/sites/default/files/js
/home/vhost/WWW/campus-24.com/sites/default/files/css
/home/vhost/WWW/campus-24.com/sites/default/files/imagecache
/home/vhost/WWW/campus-24.com/sites/default/files/ctools
/home/vhost/WWW/campus-24.com/sites/default/files/pictures

All the folders are empty. The site looks like that campus-24.com during the install I noticed warnings about too many files open.

I heard about the "css_1acaad3d96ebad99fc9b6ef9d4ee4.css" file: This is called an automatic generated file that compress all CSS styles used as to improve speed and help not overloading rendering. What if this file is missing in my folder - does my site than have (!!!) to look like the above mentioned site. Well to be frank i have not seen the following options: This is due that by install in the performance administrative section (admin/settings/performance) you have on Bandwidth optimizations the option "OPTIMIZE CSS FILES" and "OPTIMIZE JAVASCRIPT FILES" enabled. This settings are normally very usefull for production (live) sites. For testing and customize your Drupal Commons install it's better to disable as to have CSS and JS development support with tools like "Firebug" using Firefox.

Note - I have not seen where i can switch the options?!

Note The original htaccess was changed by my server-admin. But I guess that I (and that means the site-admin [my friend]) miss (and have forgotten a important option) see the htacess that we use actually - it is a see it here http://pastebin.de/22149