Attachment problem
Moderator: Thorsten
Attachment problem
I am having trouble attaching large PDF files to records. I have the limit set to 20 megs in both the phpMyFAQ settings and in the php.ini file. Upon trying to upload a 15 MB PDF I get the following error: The file attachment.php cannot be opened without proper authentification. Any idea what would cause this? Every other file works just fine.
Hi,
can you upload smaller files?
bye
Thorsten
can you upload smaller files?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
I just found the problem. For anyone else that runs into this issue, there are actually two settings you need to change in the php.ini file if you want to change the upload limit. The first is post_max_size (I assume the attach file function uses POST, its default was 8M) and the second is upload_max_filesize. I set both of these to 20M to accomodate large PDF files and now everything is working fine. If you are using IIS, reset after you make these changes to php.ini.
Hi,
okay, thanks for the hint!
bye
Thorsten
okay, thanks for the hint!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist