Hi Again,
I'm having another issue with file uploads, using Chronoforms V3.1 RC2. I had a similar issue before, where I would get my "Thank You" page, and also my notification email (sans the attachments -- they were too big, so we edited chronocontact.php to null the attachments). However, no files would be uploaded to the component's upload folder. We were able to resolve the issue with the following steps:
php.ini:
max_execution_time = 1200
max_input_time = 1200
memory_limit = 128M ; Maximum amount of memory a script may consume (32MB)
file_uploads = On
upload_max_filesize = 50M
post_max_size = 75M
chronocontact.php:
/**
* Send the email(s)
*/
$attachments = null;
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name );
Form Tag Data:
enctype='multipart/form-data'
Field names & allowed Extensions & sizes(KB) for each:
file_9:zip{20000000-200}
Uploads folder permissions:
755
I applied these various edits to my new form, and I'm having the exact same problem all over again!! Thank You page, notification email, but no file in the uploads folder! I've attached a backup of the form I'm having trouble with... can someone help me get to the bottom of this upload problem?
Thanks,
Mark
I'm having another issue with file uploads, using Chronoforms V3.1 RC2. I had a similar issue before, where I would get my "Thank You" page, and also my notification email (sans the attachments -- they were too big, so we edited chronocontact.php to null the attachments). However, no files would be uploaded to the component's upload folder. We were able to resolve the issue with the following steps:
php.ini:
max_execution_time = 1200
max_input_time = 1200
memory_limit = 128M ; Maximum amount of memory a script may consume (32MB)
file_uploads = On
upload_max_filesize = 50M
post_max_size = 75M
chronocontact.php:
/**
* Send the email(s)
*/
$attachments = null;
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name );
Form Tag Data:
enctype='multipart/form-data'
Field names & allowed Extensions & sizes(KB) for each:
file_9:zip{20000000-200}
Uploads folder permissions:
755
I applied these various edits to my new form, and I'm having the exact same problem all over again!! Thank You page, notification email, but no file in the uploads folder! I've attached a backup of the form I'm having trouble with... can someone help me get to the bottom of this upload problem?
Thanks,
Mark
Hi Mark,
The field name in the form is id="file_9" name="zipupload" but the file permissions are for file_9:zip{20000000-200} - the names (not the ids) must match.
Bob
The field name in the form is id="file_9" name="zipupload" but the file permissions are for file_9:zip{20000000-200} - the names (not the ids) must match.
Bob
Thanks again, Bob! Works like a charm...
This topic is locked and no more replies can be posted.