Hi Daniele,
I suspect that the problem is that you have an entry in the Ghost Value box. If you don't upload a file the ChronoForms Upload Files action will see this entry and try to upload a file that doesn't exist.
Bob
Dear Bob,
thanks very much for your quick reply.
Unfortunately I have already tried not to put any value in Ghost Value box, i also tried to de-check Enable Gost box, but nothing has changed.
Can you give me any other suggestions?
Thanks a lot.
Daniele
Hi Daniele,
So what does this mean "Ghost value: {field name}" - puzzled??
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Hi Bob,
i don't use Easy Wizard.
However, the file upload box have:
-Field Name = allegato
-Enable Ghost = true
-Ghost Value ={allegato}
Using Debugger Event, i have
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => inserimentoReferenza-Copy
[event] => submit
[Itemid] =>
[nome] => test
[allegato] => {allegato}
[inserisciReferenza] => Inserisci
[555539bb5bf3d590201fd422c940f89b] => 1
)
Validation Errors:
Array
(
)
If i remove {allegato} in Ghost Value, using debugger event i have:
Array
(
[option] => com_chronoforms
[chronoform] => inserimentoReferenza-Copy
[event] => submit
[Itemid] =>
[nome] => test
[allegato] =>
[inserisciReferenza] => Inserisci
[555539bb5bf3d590201fd422c940f89b] => 1
)
The upload file doens't attach any file in email, but it only save the filename in db.
Thanks very much Bob,
regards
Hi Daniele,
Please copy and paste **all** of the Debugger output here.
Bob
Hi Bob,
as i wrote before, if i insert Debugger event in Upload Files event, i have always a blank page.
If i insert debugger in OnSubmit Event (before the Upload Files event), the output is:
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => inserimentoReferenza-Copy
[event] => submit
[Itemid] =>
[nome] => test
[allegato] =>
[inserisciReferenza] => Inserisci
[555539bb5bf3d590201fd422c940f89b] => 1
)
Validation Errors:
Array
(
)
If i set
Ghost Value ={allegato}, in the debugger i have
[allegato] => {allegato}.
Regards,
Daniele
Hi Bob,
could you suggest me anything?
Thank you in advance.
Daniele
Hi Daniele,
Please, please, please do not put ***anything*** in the Ghost Value.
It looks to me as though your Upload Files action isn't enabled, or isn't correctly configured. What settings do you have in there.
Bob
Hi Bob,
i have:
-Field Name = allegato
-Label Text = Carica Immagine
-Enable Ghost = true
and it doesn't work. I de-check also Enable Ghost and however it doesn't work.
Could be a problem of Joomla? i have 1.7.3 and i didn't upgrade to 1.7.5.
Regards,
daniele
Hi Daniele,
What settings do you have in the Upload Files action?? Or the Files Upload tab if you are using the Easy Wizard?
Bob
In Upload Files i have:
-Enabled= Yes
-Files= allegato:png
-Max Size in KB = 2000
-Min Size in KB = 0
-Safe File name= yes
Regards,
Daniele
Hi Daniele,
That looks OK but I don't understand why it isn't showing in the Debugger output.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Dear Bob,
as i wrote in the first message, the form works successfully if i attach an image in file upload box.
The box it "not Acquired" and if i don't attach any file i have a blank page and the forms doesn't work.
Thank you in advance.
Regards,
Daniele
Dear Bob,
you are a great!Thanks very much, finally i've resolved this problem.
Thanks Thanks Thanks 🙂
Best regards,
Daniele