[ solved] attachment size limit?

Solutions for other phpList version 2 users
Forum rules
Please do not ask questions here, this is for Solutions you have discovered or come across.

[ solved] attachment size limit?

Postby Steve0 » 9:59pm, Mon 26 Mar, 2007

I have enabled attachments in the config and allowed a massively large file size upload in SQL and PHP..when I send a test message with an attachment larger than 2M, i get take to a white screen...no source code..just totally blank and the message never gets sent.
in the attachment repository directory, I can locate the attachment, but it appears in duplicate...a ) byte file and the attached file, but they have additional random characters at the end of the file name.

Am I hitting some file size limit?
Steve0
phpList newbie
 
Posts: 4
Joined: 9:53pm, Mon 26 Mar, 2007

Postby Keith Jordan » 10:43pm, Mon 26 Mar, 2007

PHP has a max file size limit so that is probably stopping you. I think it is 2MB by default. Speak to your host of edit your PHP config file.
Keith Jordan
PL Nut
 
Posts: 30
Joined: 4:49pm, Sun 25 Mar, 2007
Location: Cheshire, England

nope, not that

Postby Steve0 » 2:06pm, Tue 27 Mar, 2007

No, I already thought of that...from my PHP.INI:

post_max_size 8M 8M
upload_max_filesize 5M 5M
Steve0
phpList newbie
 
Posts: 4
Joined: 9:53pm, Mon 26 Mar, 2007

FOUND IT!

Postby Steve0 » 4:51pm, Tue 27 Mar, 2007

fyi...it was either a time out in the PHP.ini or lack of a default path

max_execution_time = 240
max_input_time = 240
memory_limit = 2M

; UNIX: "/path1:/path2"
include_path = ".:/usr/share/php"
Steve0
phpList newbie
 
Posts: 4
Joined: 9:53pm, Mon 26 Mar, 2007


Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 5 guests

cron