Forums

File upload path not linking in email received

dmic2009 15 Mar, 2014
Hi,

Having a weird issue (which was not happening on my demo server).

I have a form on my web site that uploads a file. The upload is working fine, i.e. uploading to correct directory (default chrono) on server.

The email that is sent has the following code in the template to link to the file

<a href='{_PLUGINS_.upload_files.file_upload.link}' >{_PLUGINS_.upload_files.file_upload.name}</a>

However when the email is received the link is not working. Comes in as

CV Upload {_PLUGINS_.upload_files.file_upload.name}

and links to the root of the web site, rather than the correct chrono directory.

Any idea why this might be happening?

Thanks

Dave
Max_admin 16 Mar, 2014
Hi Dave,

Which Chronoforms version is this ?

Please add a debugger action before the email action and copy the results here!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
dmic2009 16 Mar, 2014
HI Max,

Thanks for your reply.

Version 4.0.4

Results below.

Regards Dave

Data Array:

Array
(
    [chronoform] => JoinTeam1
    [event] => submit
    [Name] => Dave
    [email] => 
 dave@dmic.ie
    [phone] => 9879879789
    [file_upload] => 
    [recaptcha_challenge_field] => 03AHJ_Vuu7pXZStBvFgrqBPRu5OhN_3W6aXjqUt0M8y1llaH1MzdDT1__5eQreSX28oHKRwIeETP81Ez-cccaxOIIMVvMjhiQsFxM-_I6ypW_yYNocsXz5YAjzfDhnxC0_2i51CZAtUi3emllPTEIzAiLtMT-6cOjf5xUzy3S0NfGUeuwm_DDKJ_fuTf90NgRVIVCCn0ei4ojfMO4KFWeZUG9z-zNPFxwTpknMd1VWruggFf9JOLEBSLY
    [recaptcha_response_field] => 431532855683
    [input_submit_5] => Submit
    [66fb27ab1965549d4b0db90002eeb864] => 1
)

Validation Errors:

Array
(
)

Debug Data

    email
        6
            Result An email has been SENT successfully from (admin) dave@dmic.ie to dave@dmic.ie	
            Body
            Name 	Dave
            Email 	dave@dmic.ie
            Phone 	9879879789
            CV Upload 	{_PLUGINS_.upload_files.file_upload.name}


            Submitted by 188.141.14.229
            Attachments array ( )
    Upload routine started for file upload by : file_upload
    /home/occasion/public_html/components/com_chronoforms/uploads/JoinTeam1/20140316102520_test cv.docx has been uploaded successfully.

Thank you. We will be in touch soon

GreyHead 16 Mar, 2014
Hi Dave,

It looks as though you may have the Upload Files action after the Email action. If so, please change the order so that the files are uploaded before the email is sent.

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