Uploaded File not attached into email

brmbrm 24 Oct, 2012
Hi,
I've followed some literal thread about file upload & wacthed video from youtube, but my problem still unsolved.
- Form : File Upload element added; name:file_upload, id:file_upload.
- Event :
- Email; Attachments fields name : file_upload
- Upload Files; fields Configuration : file_upload:doc-docx-pdf-txt, upload path : JOOMLA_PATH/cv/ , max size : 500

Uploaded File not attached into email image 1

Debugger wrote that the file could not uploaded, after i check the upload path, the file are exists but its not attached to the email.
Anyone can give me suggestion?

regards,
rie.
GreyHead 24 Oct, 2012
Hi rie,

The error message "xxx could not be uploaded!!" is shown when the Joomla! file moving code reports a failure in moving the file from the temporary upload folder used by PHP to the folder that you specify. When this happens the processing stops.

The question is why it is happening. I'd guess that maybe there is a permissions problem with the folder. Yet you say that the file has been uploaded correctly and is in the /cv/ folder?

Bob
brmbrm 25 Oct, 2012
wow, thanks bob, you remind me about file permission problem on joomla! 1.5
I've patched the joomla! library (funtion for checking file permission). And now the file successfully attached to the email.
Once again, Thanks Bob.
This topic is locked and no more replies can be posted.