This is my first post on drupal.org so first of all: Hello :)
I've just installed Drupal 6.4.
After installation when I'm log in everything is fine but when I log out or go to main site - www.example.com I can just see html output without css. When I go to www.example.com/index.php the site is styled.
What can I do to change it?
Thanks,
snecz

Comments

bwv’s picture

You may need to go back into themes and make sure that your default theme is not only checked as default, but that it is actually selected. Then go to configure, and save the settings for the theme. Finally, clearing your browser cache sometimes helps when all else fails.

Do you have the cache settings set to "normal" on the performance page? Turning this off also helps at times (I have found), but that should be a change of last resort.
----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

Thanks bwv.
Default theme is selected. I've also saved the theme configuration.
I've also cleared browser cache.
And I 've changed caching mode to normal.
And still nothing.

There're actually two things that are strange:
1. When I'm log in as an admin and I go to main site than the style is missed and suddenly I'm log out.
2. The address www.example.com/drupal is without style while the address www.example.com/drupal/index.php is with style.

What can be wrong?

bwv’s picture

Can you please describe your file structure? Is it possible that you have an index.html file somewhere in root that is conflicting with index.php? I am just guessing.
----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

I've just transferred whole drupal 6.4 catalogue into my server.
So the structure on my server is: server/drupal.
Actually in drupal catalogue I just can see index.php. Should also be index.html in drupal catalogue?

--------
projektowanie stron www

bwv’s picture

It appears to be working now, correct? No, there should be no index.html file anywhere.
----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

bwv,
no. the main site is still unstyled.
I don't know what to do...

Thanks for your help.

---
projektowanie stron www

bwv’s picture

What do you have in your /themes folder?

And what is there in your /sites/all/themes folder?

Can you send screenshots of your directory so we can see how your folders are organized?

----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

In my theme folder I have 3 themes (blumarine, garland and chameleon) and folders: engines, pushbutton.
In sites/all I have only readme.txt...

In my root folder I have unziped drupal 6.4 folder which I have downloaded from drupal site so I guess it should be right...

-----------------------------
projektowanie stron www

bwv’s picture

Is there an .htaccess file in your root? Can you tell us the URL? We may be able to help if we can view the source of the home page.
----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

Yes, there's .htaccess file in root folder.

Sure. Here is the url:

Without style:
http://www.powisle.home.pl/partizan/

And styled:
http://www.powisle.home.pl/partizan/index.php

----------------------------------------
projektowanie stron www

bwv’s picture

The problem appears to be in your file structure.

Go to http://www.powisle.home.pl/partizan/ and look for the line below, and put your mouse pointer on the words "administration section."

Configure your website Once logged in, visit the administration section, where you can customize and configure all aspects of your website.

The link is this: http://www.powisle.home.pl/admin

The link should be: http://www.powisle.home.pl/partizan/admin

Hopefully this will steer you in the right direction.

----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

bwv, you're right :)
But how this could happen?
I must say I have no idea how can I fix it but yes, now I know the right direction.

-----
projektowanie stron www

bwv’s picture

Proszę, pan!

----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.

snecz’s picture

Haha. Ok ok. Proszę :)
It’s ok now :)
I’ve resolved this when I have attributed the catalogue with drupal to another domain which is mine (www.example.com) and not “hosted” (www.hostprovider.example.com).

Thanks bwv! That was really right direction.

Dziękuję

-----
projektowanie stron www