Hello Rafael,

> I have to 2 server configured to run SquirrelMail v. 1.4.3a

What about PHP, apache setup etc?  Are they also identical?

> ERROR:
> Could not move/copy file. File not attached

> I've made sure that my attachement directory has the proper permissions by
> chmod -R 733 <SM_attach_dir>, I also did a chown -R nobody <SM_attach_dir>
> to make all of the folders included in that directory writable by the user
> httpd runs as.  I even went so far as chmod 777 the <SM_attach_dir> to see
> if that made any difference, it didn't.

> /tmp/
> `-- [drwx-wx-wx nobody   nobody  ]  SM_attach
>     |-- [drwx-wx-wx nobody   nobody  ]  3
>     |   `-- [drwx-wx-wx nobody   nobody  ]  7
>     |       `-- [drwx-wx-wx nobody   nobody  ]  9
>     |           `-- [drwx-wx-wx nobody   nobody  ]  b
>     `-- [drwx-wx-wx nobody   nobody  ]  7
>         `-- [drwx-wx-wx nobody   nobody  ]  b
>             `-- [drwx-wx-wx nobody   nobody  ]  9
>                 `-- [drwx-wx-wx nobody   nobody  ]  0


> The error in apache's error log is:

> [Thu Aug 19 15:25:01 2004] [error] PHP Warning:  File upload error -
> unable to create a temporary file in Unknown on line 0
> [Thu Aug 19 15:25:01 2004] [error] PHP Notice:  Undefined index:
> attachfile in
> /usr/local/apache/htdocs/squirrelmail-1.4.3a/src/compose.php
> on line 1276

> The part of the compose.php file looks like so:

[..]

Please don't paste code here, unless you're suggesting a change, in
which case use a unified diff:

  diff -uw oldfile.php newfile.php > file.patch

We have access to the code, and can work it out ;)

Can you please confirm with your configuration file that
/tmp/SM_attach is the real path? Can you try without the
dir_hash_level (set to 0 to see)?  Have you checked disk space?

-- 
Jonathan Angliss <[EMAIL PROTECTED]>
Posting Guidelines: http://www.squirrelmail.org/wiki/?MailingListPostingGuidelines



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to