Hi Yaholo,
That all looks OK to me - can you post a link to the form please?
Bob
Hi Yaholo,
Hmmm, that looks good too . . . scratches head . . .
Perhaps Max has a bright idea?
Bob
Hi,
There is a bug in the J1.5 version, line 530 at chronocontact.php:
Please make it :
$upload_path = JPATH_BASE.'/components/com_chronocontact/upload/';
This will do it๐
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max set the line, instead of:
$upload_path = $mosConfig_absolute_path.'/components/com_chronocontact/upload/';
Files are uploaded fine, in the folder, but there's no track of the filename in the record of the sql table...
I mean the field matched to field type="file" is empty...
Why? Scratching head as well...
The fix worked! Thank you very much.
Thanks Yaholo, gg4j:
In order to have file name stored you will need to edit the autogenerated code alittle, find the $_POST['file_field_name'] and replace it with $_FILES['file_field_name']['name']
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.