Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mulehu on
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
CSS file paths are wrong...
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:
However, the correct paths should be:
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.
aaahh okai thank you ^^ i
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