Horrible message when creating content

gleble - March 20, 2007 - 20:01

When I try to create a page or story I get
warning: fopen(C:\Inetpub\vhosts\climatecalm.org\httpdocs/.htaccess) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\climatecalm.org\httpdocs\drupal\includes\file.inc on line 117.
Does anyone understand? Does anyone know a solution?

Check your FTP folder permissions.

radscientist - March 20, 2007 - 20:11

Check the folder permissions for your install - you may need to chmod everything to 755

permissions

gleble - March 20, 2007 - 20:16

chmod?

The poster above didn't

coreb - March 20, 2007 - 20:53

The poster above didn't notice you were on windows. You need to make sure that the files are readable by the server.

EDIT: It looks like you're using IIS, does it use .htaccess files? Try searching for how to use clean URLS on IIS/Windows.

Sorry

radscientist - March 20, 2007 - 22:12

Oops! Sorry didn't realize there was not a chmod or equivalent on IIS. Basically the error is that the files on your server are not "viewable" by drupal. This can happen quite often when you download some files, your computer sets the ownership of the file to your user account, and then you upload them with a program that doesn't set them back to server defaults.

Or it could also be an htaccess issue.

These aren't unique problems to drupal though, so you might want to just talk to your host about getting the folder permissions worked out. Sorry i am not familiar with IIS.

 
 

Drupal is a registered trademark of Dries Buytaert.