Ok, I've had a lot of weird problems with drupal but THIS one takes the cake. I've been trying to get my favicon to show up on the site, and no matter what I seem to do, it only shows the drupal one, or the wrong themed one. I removed the one in my theme folder completely, and it seemed to be reverting to the .ico in the /misc folder. So I deleted that one too...

And BOOM.

Bye bye Styles. All gone. You've got to be joking...except I'm not. Suddenly drupal does not see the style sheets AT ALL. I have totally unstyled content on my site now.

I tried to replace the favicon in the /misc folder by pulling it out of the download and putting it back. No dice. The site is totally busted.

#1, I cannot believe this even happened.
#2 Does anyone have a suggestion on how I might fix this? Is this some crazy known issue?

Flabbergasted,

Tom

Comments

DittoBox’s picture

When replacing the files did you manage to screw up the permissions so that your web server can no longer read/serve the content? Is it at all possible that you managed to remove more than the just the ico file?

Have you tried loading the page in other browsers or computers...or clearing your cache?

tdellaringa’s picture

Ok, my bad - I did two things so close together - and the result was delayed - that I thought one thing caused another. I added this line in my .htaccess

RewriteRule ^[0-9]{4}/[0-9]{2}/[0-9]{2}/(.+?)/?$ /articles/$1/ [R=301,L]

Which kills the stylesheets for some reason. Removing that fixed the problem. The reason I thought it was the favicon is that the effect didn't happen right away. Then I removed the favicon and went to the site and that is when the styles disappeared... sheesh.

Thanks for the suggestions. Not happy about modrewrite not working but that's another issue.