I receive this error message when trying to enter content. Line 119 seems to point to an htaccess file. This is on a Windows server running IIS6, so obviously I dont have the "chmod" function

chmod() [function.chmod]: Result too large in C:\websites\my_site\includes\file.inc on line 119.

Thanks in advance

Comments

keylope’s picture

I'd be interested if anyone has an idea as to why this is happening.

diodata’s picture

Yep, I get the same thing running Drupal 5.2 on Windows XP and IIS.

keylope’s picture

I didn't save the site where I got this from.... so this wasn't me at all.

“This will likely be a permissions issue with the system temp directory.

If you go to /admin/settings/file-system, you can change the temp directory to something different from the default. This might be preferable to changing permissions on c:\windows\temp

Then give the IIS guest account (the name of which probably starts with IUSR) read/write permissions to the temp directory, and you should be sorted.

Before changing temp directories, I had previously resolved this issue by adding read-only access to c:\windows\temp to the network group, which I thought was slightly curious.”

Hope that helps someone.

acwWeb’s picture

Of course, I'm having a little difficulty finding such a directory. I have searched my entire web server (Windows Small Business Server 2003) and have yet to find any such directory (/admin/settings/file-system).

I've looked in the C:/ drive.
I've looked in server management.
I've looked just about everywhere I can think of to find such a place.

I know this seems like a dumb question, but please help...

acwWeb’s picture

For the rest of the people like me, it's not a directory.

What they mean to say is to login to the Drupal Admin section,

click on Administer
click on Site Configuration
click on File System
then change the temp file directory from C:/Windows/temp to another location (i.e. someplace in the root of the site or the directory containing your Drupal files

Michael Mikx’s picture

Fixed "warning: chmod() [function.chmod]: No error ... " for me. Thanks!