When I click on admin, then "themes" the entire site loses its theme and turns white with times new roman font. I get the following error at the top of the page:

warning: is_dir(): Stat failed for files/theme_editor (errno=13 - Permission denied) in /home/letscon/public_html/drupal-4.6.0/includes/file.inc on line 505.

I disabled the theme editor module and even removed it entirely from my webspace, but this did not remove the problem.

Comments

merlinofchaos’s picture

Try removing the file yourdrupaldir/files/theme_editor -- whatever user Drupal runs on can't access that file.

-- Merlin

[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]

msz3544’s picture

this was actually a directory, not a file, but i removed it and the error persists ...

merlinofchaos’s picture

Ooog. Ummm. Tricky one.

Try creating the directory again and making sure it's readable by all (chmod a+r filename)

-- Merlin

[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]

msz3544’s picture

Good point - I'll see if I can figure out the upgrading from 4.6.0 to 4.6.2 tomorrow ...

I tried recreating the folder and made sure it had the 666 privileges (all readable) but that did not solve the problem. One thing interesting to note is that I believe this error only started occuring once I began playing with the friendselectric style.css file. However I uploaded the edited style.css file as well as the original style.css file and in either case the error persists. Any other ideas, or do you think the 4.6.0 -> 4.6.2 upgrade will solve it? Thanks

merlinofchaos’s picture

With a directory you want 755 -- you want the x bit to be ON so that the directory can be listed.

I don't think the upgrade will fix this specific problem. It will fix a problem you haven't had yet (that of your site getting defaced by some stupid hacker)

-- Merlin

[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]

merlinofchaos’s picture

OH, if you're using Drupal 4.6.0 as that directory indicates,
you really really really really should go get 4.6.2 and upgrade due to the security fixes.

-- Merlin

[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]