hi,
I used ChronoForms 4.0 RC3.5.2 with joomla 2.5, everything works fine.
But when I use upload file it works not!
the problem is that it gives me no error and at the database all fields are filled correctly, just the field file is empty.
help please
Hi sagaequipements,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Hi Bob,
I did what you asked and here is the result :
Data Array:
Array
(
[chronoform] => fichier
[event] => submit
[Itemid] => 164
[option] => com_chronoforms
[view] => form
[fichier] =>
[input_submit_3] => Envoyer
[0bd1ed59c7b9e5cac829a48bd43813fa] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
)
)
[chronoform_data] => Array
(
[cf_uid] => c3a14193091bd13a7a6884d4d257ece1
[cf_created] => 2013-04-22 08:24:15
[cf_created_by] => 0
[cf_ipaddress] => 127.0.0.1
[cf_user_id] => 0
[chronoform] => fichier
[event] => submit
[Itemid] => 164
[option] => com_chronoforms
[view] => form
[fichier] =>
[input_submit_3] => Envoyer
[0bd1ed59c7b9e5cac829a48bd43813fa] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
)
)
[cf_id] => 4
)
[chronoform_data_cf_id] => 4
)
Validation Errors:
Array
(
)
Hi sagaequipements,
This is good, thank you. You can see that the Upload Files action is running but doing nothing. What settings do you have in the action?
Bob
Hi Bob,
in the action, I have juste an Upload file with DB save.
Joseph
Hi Joseph,
Please post a screenshot of the settings in the Upload Files action.
Bob
Hi Joseph,
In the Upload Files configuration you have file:doc-docx-pdf but I think that the input in your form is called fichier so it needs to be fichier:doc-docx-pdf
The Notice you see is from mod_title - I don't know what that is but you can hide PHP Notices by setting Error Reporting to System Default or None in the site Global Configuration. You should always do this on a live site.
Bob
Hi M. Bob,
about the second problem,
juste we should Change the line 13:
$title = JFactory::getApplication()->JComponentTitle;
into the following:
$title = JFactory::getApplication()->get('JComponentTitle');
on my first problem, now the file server load, but at the database field dedicate the file is empty!
Hi, Bob,
thank you very much for your help.
the problem is resolved
Joseph