Hi there,

i´ve got a little, but fine problem.
I set up Drupal 4.7.2 on an publicwebserver from an provider and set up the database an all these things.
The once problem that is left know, is that it seems like Drupal or the Webserver is unabled to access the .css file in the themes directory.

If i access the site i set up ( www.op-crew.de/opc/index.php ) everything is unformatted and just put into the site...

Can anyone tell me what could be the reason?

Maybe missing accesspermissions?

Thanks a lot

Marc

Comments

cburschka’s picture

By the way, the CSS file is not processed by the server, but by every user that looks at the page - the browser first downloads the page itself, then any CSS files that the page links to.

I see the problem already:

In the source of the page, the stylesheets are called with these paths:

<style type="text/css" media="all">
   @import "/opc/index.php/misc/drupal.css";
</style>
<style type="text/css" media="all">
   @import "/opc/index.php/themes/Da-Unbound/style.css";
</style>

However, the correct paths should be:

<style type="text/css" media="all">
   @import "/opc/misc/drupal.css";
</style>
<style type="text/css" media="all">
   @import "/opc/themes/Da-Unbound/style.css";
</style>

Since I don't know where these style paths are set, I can't tell you exactly how to fix the problem. If you didn't add the "index.php" to the path yourself, try putting "../misc/drupal.css" instead of "misc/drupal.css", and so on.

Otherwise, just remove "index.php" from the paths.

mulehu’s picture

aaahh okai thank you ^^ i fixed it with your help...

the paths are read out of the settings.php.. its the baseurl ... it was written in like this: " http://www.op-crew.de/opc/index.php " in my file...

i removed the index.php and now it works ^^ thank youuu