>> I've been suffering this problem with some time and was wondering if this
>> might be my problem. I don't have administrative access to the
webserver so I've just asked support to look in the logs to see if this
is my problem. If this is the problem how can I fix it given that I
don't have access to the php.ini file?
>
> This error is most definitely NOT a SM problem.  If you are paying for
hosting you should expect better.  Make sure your attachment directory
has good permissions (try 777 only temporarily) and then tell your host
to get their server configured correctly.  If you don't have access to
php.ini, ask your host to ensure that it has these settings working
properly and that they correspond to directories on their server with
the proper permissions.  If they don't know how to deal with such
things, you should think about hosting elsewhere.
>
>   -paul

I'm not sure upload_tmp_dir is a problem. I've got my own PHP scripts on
this server and they happily upload and process files. Also
http://uk.php.net/manual/en/ini.sect.file-uploads.php#ini.upload-tmp-dir
says:
"upload_tmp_dir string
The temporary directory used for storing files when doing file upload.
Must be writable by whatever user PHP is running as. If not specified PHP
will use the system's default.
"
Which suggests that it is acceptable to have this value not specified (as
it is in the default php.ini as supplied with PHP). I've asked support to
tell me what directory is being used for temporarily storing uploads and
what permissions this directory have. If their answer doesn't suggest a
problem is there anything else I can try?

The httpd error logs gave no error relating to this either.

Many thanks,
Geoff

>>>After 24 hours of searching for the answer, I finally figured it out...
>>>
>>>upload_tmp_dir in my php.ini file wasn't set & the system didn't have
>>> any
>>>means of identifying the value for that variable.
>>>
>>>--Raf
>>>
>>>
>>>---------------------------- Original Message
>>> ----------------------------
>>>Subject: [SM-USERS] Cannot upload attachements
>>>From:    "Rafael Hinojosa" <[EMAIL PROTECTED]>
>>>Date:    Thu, August 19, 2004 4:32 pm
>>>To:      [EMAIL PROTECTED]
>>>-------------------------------------------------------------------------
>>
>>
>> <snip>
>>
>>>The attachements aren't that large 20K - 200K.
>>>
>>>The error I get is:
>>>
>>>ERROR:
>>>Could not move/copy file. File not attached





-------------------------------------------------------
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