[imp] Attachments fail, uploads don't (was: All but attachments)
Joost De Cock
Joost.DeCock@astrid.be
Wed, 12 Jun 2002 14:08:08 +0200
Hi there,
I've haven't been able to get attachments to work.
I've been working on this for a while now, and I've checked everything Eric
told me to.
I've used the example scripts on the php site to create my own little upload
page, and I can upload any file (as long as it isn't too big)
However, if I want to attach a file in IMP, I still receive that annoying
error message.
Is there a way to see the real error message, does anybody has an idea, and
where is the attachment functionality located in the source, maybe I can
check it out.
Anything is more than welcome, 'cause I'm running out of ideas
Joost
-----Original Message-----
From: Eric Rostetter [mailto:eric.rostetter@physics.utexas.edu]
Sent: zaterdag 8 juni 2002 4:28
To: imp@lists.horde.org
Subject: Re: [imp] All but attachments
Quoting Joost De Cock <Joost.DeCock@astrid.be>:
> Hi there,
>
> I get the default:
> There was a problem with the file upload. The file may have been larger
than
> the maximum allowed size (2 MB).
>
> error message when trying to attach a file, how can I troubleshoot this?
> php.ini says uploads are ok.
How so? Check, and for some try changing, the values for:
max_execution_time
file_uploads
upload_tmp_dir
upload_max_filesize
post_max_size
memory_limit
safe_mode
Check the output of phpinfo() (from the /horde/test.php page) and see if
the reported values for file_uploads, upload_tmp_dir, and
upload_max_filesize
are what you expect or not.
Make sure the web server user can write to and delete from the directory
named in upload_tmp_dir. Make sure the value of $conf['tmpdir'] in
horde/config/horde.php is what you want it to be and is specified correctly.
Then check all your log files for any clues.
Try uploading a file via IMP, and at the same time monitoring your
upload_tmp_dir to see if anything goes there at all.
If none of that helps, then good luck!
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the
damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."
--"Enterprise Strategies" columnist Tom Yager.
--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org
**********************************************************************
The information in this mail is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
**********************************************************************