Uploaded files not being saved on server.

gouz 01 Jan, 2015
I must be doing something very wrong here. Everything seems to work ok except files are not being saved on server even if path is empty.

Please any tip?
------------------
Debug:
Data Array
Array
(
    [option] => com_chronoforms5
    [chronoform] => product_registration
    [event] => submit
    [product_cat] => xicom
    [product] => Valencia
    [purchase_date] => 01-01-2015
    [submit_form] => Submit
    [id] => 7
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
    [4] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `jos_chronoengine_chronoforms_db_product_registration` (`product_cat`, `product`, `purchase_date`, `submit_form`, `user_id`, `uniq_id`, `created`) values ('xicom', 'Valencia', '01-01-2015', 'Submit', '0', '18d4d99b911a8886e47a4c626dcfea7d26aaf62c', '2015-01-01 05:26:14');
                        )

                )

        )

)


-----------------------------------
Edit element settings
General

Field Name: receipt
Field ID: receipt
Label: Purchase receipt
Label position: Left
Sub Label:
Class:
Title:
Style:
Multiple: No
Extra params:
Load state: Visible & Enabled
Tooltip: Scan/Copy your receipt and save it online. (Backup in case of receipt loss.)
Enable ghost: No
Ghost value:


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

Edit action
Enabled: Yes
Files config: file1:jpg-png-pdf-docx
Upload path: /home/Offline/product_registration
Max file size: 2000
Min file size: 0
Max size error: Sorry, Your uploaded file size exceeds the allowed limit.
Min size error: Sorry, Your uploaded file size is less than the minimum limit.
File type error: Sorry, Your uploaded file type is not allowed.
Array fields:
File name code: <?php return date("YmdHis")."_".$file_name;
Extensions separator: -
vales 01 Jan, 2015
I do not see file1 in to fields of form.
GreyHead 01 Jan, 2015
Hi gouz,

As vales says - is there a file1 File Upload element in your form Designer tab?

Bob
gouz 01 Jan, 2015
Answer
thx.
I changed "file1" from Files config: file1:jpg-png-pdf-docx, into the Upload Element's name that i was using and it worked.
This topic is locked and no more replies can be posted.