Forums

Attachments not sending

Smithy 12 Apr, 2012
HI guys,

Great new version of the software. I intend to buy it once I have my form working.

My issue is that I am not getting attachments with my emails.

The form does send correctly thought - just no attachments.

Maybe you can tell me exactly what settings I must make to receive attachments. (a list)

There are a lot of settings in this new version that are a bit confusing to me.

I'm using Joomla 2.5.3
GreyHead 12 Apr, 2012
Hi Smithy,

You probably need to add the file upload input name to the Attachments box in the Email action.

Bob

There are a series of videos here that will help you get started with CFv4.
Smithy 13 Apr, 2012
Hi,

I had already done that but alas it did not help.

Any other ideas?
GreyHead 13 Apr, 2012
Hi Smithy,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here. Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.

Bob
Smithy 13 Apr, 2012
Hi,

I dragged a Debugger to the OnSubmit. Clicked Submit Button. The form was emailed to me.

However nothing else happened. Where do I find the debugger code/log?
GreyHead 14 Apr, 2012
Hi Smithy,

Normally it shows after the form is submitted. Please try again using the Front-end View link to open the form.

Bob
Smithy 14 Apr, 2012
Hi,

It goes through to my Thankyou message. I turned on debug in the Global Config.

Is this what you need to see:

14 Queries Logged
SELECT `data`
FROM `g6rt5_session`
WHERE `session_id` = 'cfbcd8cbb518d0fbff6204db030df409'
SELECT folder AS type, element AS name, params
FROM g6rt5_extensions
WHERE enabled >= 1
AND type ='plugin'
AND state >= 0
AND access IN (1,1)
ORDER BY ordering
SELECT extension_id AS id, element AS "option", params, enabled
FROM g6rt5_extensions
WHERE `type` = 'component'
AND `element` = 'com_languages'
SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,m.browserNav, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM g6rt5_menu AS m
LEFT JOIN g6rt5_extensions AS e
ON m.component_id = e.extension_id
WHERE m.published = 1
AND m.parent_id > 0
AND m.client_id = 0
ORDER BY m.lft
SELECT extension_id AS id, element AS "option", params, enabled
FROM g6rt5_extensions
WHERE `type` = 'component'
AND `element` = 'com_chronoforms'
SELECT *
FROM g6rt5_languages
WHERE published=1
ORDER BY ordering ASC
SELECT extension_id AS id, element AS "option", params, enabled
FROM g6rt5_extensions
WHERE `type` = 'component'
AND `element` = 'com_menus'
SELECT id, home, template, s.params
FROM g6rt5_template_styles as s
LEFT JOIN g6rt5_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id
WHERE s.client_id = 0
AND e.enabled = 1
SELECT *
FROM `g6rt5_chronoforms`
WHERE `name` = 'Membership_Application_Form'
AND `published` = '1'
SELECT *
FROM `g6rt5_chronoform_actions`
WHERE `chronoform_id` = '1'
ORDER BY `
order`
SELECT *
FROM `g6rt5_extensions`
WHERE `element` = 'com_chronoforms'
AND `type` = 'component'
SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM g6rt5_modules AS m
LEFT JOIN g6rt5_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN g6rt5_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
WHERE m.published = 1
AND e.enabled = 1
AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2012-04-14 07:24:06')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2012-04-14 07:24:06')
AND m.access IN (1,1)
AND m.client_id = 0
AND (mm.menuid = 0 OR mm.menuid <= 0)
ORDER BY m.position, m.ordering
SELECT extension_id AS id, element AS "option", params, enabled
FROM g6rt5_extensions
WHERE `type` = 'component'
AND `element` = 'com_content'
UPDATE `g6rt5_session`
SET `data` = 'fQWKJkIHsc9WSb7ZHSTS6xkPczsVpEszuK7qYmDSZSP6OP6YzMMu9JDTN0aCZ5P5FB8VoO_IT0vL7Ks8bo4dxdqohWUZ1WCvCKjMsv7JzHvuYAkY5Nv24-DjIzR_Q35-b1qKe3wzTc9dYNKoOUECgGiAJeJ_PVrNbcpZNK3nm3z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1Gof46oYLV-YKfaXsrs9TJ8cvN79uz-oiDhWv4m_gsTmt13fC__XKSmQJ_o67ZuQZUkQFRm_UhXXsU1hNdwz' , `time` = '1334388246'
WHERE `session_id` = 'cfbcd8cbb518d0fbff6204db030df409'
11 Query Types Logged, Sorted by Occurrences.
SELECT Tables:
4 × SELECT extension_id AS id, element AS "option", params, enabled
FROM g6rt5_extensions
1 × SELECT *
FROM `g6rt5_chronoform_actions`
1 × SELECT *
FROM `g6rt5_extensions`
1 × SELECT *
FROM `g6rt5_chronoforms`
1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM g6rt5_modules AS m
LEFT JOIN g6rt5_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN g6rt5_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
1 × SELECT *
FROM g6rt5_languages
1 × SELECT folder AS type, element AS name, params
FROM g6rt5_extensions
1 × SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,m.browserNav, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM g6rt5_menu AS m
LEFT JOIN g6rt5_extensions AS e
ON m.component_id = e.extension_id
1 × SELECT `data`
FROM `g6rt5_session`
1 × SELECT id, home, template, s.params
FROM g6rt5_template_styles as s
LEFT JOIN g6rt5_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id
OTHER Tables:
1 × UPDATE `g6rt5_session`
SET `data` = 'fQWKJkIHsc9WSb7ZHSTS6xkPczsVpEszuK7qYmDSZSP6OP6YzMMu9JDTN0aCZ5P5FB8VoO_IT0vL7Ks8bo4dxdqohWUZ1WCvCKjMsv7JzHvuYAkY5Nv24-DjIzR_Q35-b1qKe3wzTc9dYNKoOUECgGiAJeJ_PVrNbcpZNK3nm3zPi3bZBKU3RinswdcRgUyWL876zVThK_5d67r5bRTDqaqTFMT-hikV95MZW948kgnMhCcOMW9lBGfL6Vf6yxqOw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hNdwz' , `time` = '1334388246'
GreyHead 14 Apr, 2012
Hi Smithy,

Thanks but that is the Site debug that shows the MySQL queries. I'm after the ChronoForms debugger info that normally displays when a Debugger action is in the On Submit event.

Bob
Smithy 14 Apr, 2012
Mmmm, I not getting any such information displayed.

Can i email you access details to my site so you have take a look first hand if you dont mind.

This is the second website I have encountered this problem on so if we can fix the one I'm the the other will come right to.😀
GreyHead 14 Apr, 2012
Hi Smithy ,

Are you using an OnSubmit URL with your form? That would have this effect.

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob
Smithy 14 Apr, 2012
I sent you a PM.

Ever had a Speights Beer🙂
Smithy 15 Apr, 2012
Hi Bob,

It appears to be working now. Pray tell, what did you do to make it work?
GreyHead 15 Apr, 2012
Hi Smithy,

Sorry, I intended to post here and got diverted to something else :-(

I changed the name in the Files box in the File Upload action so that it matched the name of the File Upload input in the form.

Bob

PS I also removed a few unused actions from the form while I was there. Drag then back in from the Actions tab if you need any of them again.
cjp101 18 Apr, 2012
Hi

I'm having the exact same problem, the emails are being sent but with no attachments:

here's the debug:

-------------------------------------
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => people_careers
[event] => submit
[Itemid] =>
[Name] => sds
[number] => 23232
[email] => [email]plumski@me.com[/email]
[covering_letter] =>
[cv] =>
[input_submit_5] => Submit
[9b3874873950a629101dabfc402535f4] => 1
)
Validation Errors:
Array
(
)
Debug Data
email
0
Result
An email has been SENT successfully from (test)chris@freestyleinternet.co.uk to [email]plumski@gmail.com[/email]
Body
Name sds
Contact Number 23232
Email [email]plumski@me.com[/email]
Covering Letter
CV


Submitted by 176.35.98.17
Attachments
array ( )
redirect_user
redirect_user_target_url: http://www.sg-cp.com/joomla/index.php/thank-you-cv
Redirect URL (click to continue):
http://www.sg-cp.com/joomla/index.php/thank-you-cv

-------------------------------------

I've added the upload field names to the email actions screen:



-------------------------------------

And I DEFINITELY tried to attach 2 files, an XLSX and a DOCX.

All help appreciated.

Chris
GreyHead 21 Apr, 2012
Hi cjp101,

I don't see the debug output from an Upload Files action here - do you have one on your form?

Bob
mariuszstach 25 Apr, 2012
Hi Bob,
First, very good component
Second, will be great compopnenent if I make it work:), I have similar problem, the attachments are not included, see the debug info:

Data Array:
Array
(
[chronoform] => ogloszenie
[event] => submit
[option] => com_k2
[Itemid] =>
[view] => item
[task] => 41
[id] => 41
[input_text_4] => email
[input_textarea_1] => content
[input_file_2] =>
[input_submit_3] => Wyślij
[d4b4021efaf6214ce296fc872b0726c1] => 1
)
Validation Errors:
Array
(
)
Debug Data
email
10
Result
An email has been SENT successfully from (SuperChata.info) [email]noreply@superchata.info[/email] to [email]kontakt@superchata.info[/email]
Body Twój adres email email
Treść ogłoszenia content
Zdjęcie 1



Submitted by 87.198.56.216
Attachments
array ( )

Any idea why?
mariuszstach 25 Apr, 2012
The problem is solved, at least in my case. It looks like the script requires to define config string for uploaded files, if it's not defined the upload simply doesn't work.
When I defined it the component works like a charm:).
GreyHead 25 Apr, 2012
Hi mariuszstach,

You do have to specify the allowable file types to configure the Upload Files action :-(

Bob
cjp101 26 Apr, 2012

You do have to specify the allowable file types to configure the Upload Files action :-(



Where can I find the setting to do this?
GreyHead 26 Apr, 2012
Hi cjp101,

In the Upload Files action 'Files' box.

Bob
davidy 02 Jul, 2013
I'm having the same problem. I tried adding the "upload files" part in the events, but still no success.
Not sure about the debugger thing, i'm still getting into joomla.
Any other thoughts ?
Thanks !
GreyHead 02 Jul, 2013
Hi davidy,

Exactly what problem do you have?

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

Bob
This topic is locked and no more replies can be posted.