I receive an email with all the data being in the appropriate fields except for the file. There is also no attachment. Also when I get the data from the backend, same thing. No file name. And when I go to the upload folder via ftp, no file. I have changed the chmod settings on the fileperms in the joomla config file.
I am not sure my html code is correct. I also am not certain of whether or not there must be some parameters in the "File uploads" tab in the backend of the form. I have tried leaving everything blank and also putting in some parameters. Here is my html code:
Edited to add code tags<br><br>Post edited by: GreyHead, at: 2008/03/29 14:54
I am not sure my html code is correct. I also am not certain of whether or not there must be some parameters in the "File uploads" tab in the backend of the form. I have tried leaving everything blank and also putting in some parameters. Here is my html code:
<fieldset>
<legend>Your data</legend>
<label for="fromname">Name : </label>
<input type="text" name="fromname" id="fromname" tabindex="510" value="<?php echo $my->name?>"<?php echo $readonl?> /><br />
<label for="fromemail">Email : </label><input type="text" name="fromemail" id="fromemail" tabindex="511" value="<?php echo $my->email?>"<?php echo $readonl?> /> <br />
<label for="assignment">Assignment : </label><input type="text" size="60" name="assignment" id="assignment" tabindex="512" /><br />
<i>Please identify which assignment you are turning in above.</i><br /><br />
<label for="datafile">Please choose your file: </label><br>
<input type="file" name="datafile" id="datafile" tab index="513"size="40">
<br />
<label for="notes">Additional Notes : </label><textarea cols=40 rows=4 name="notes" id="notes" tabindex="514"></textarea><br />
</fieldset>
<fieldset>
<legend>Send</legend>
<input type="submit" value="Send" tabindex="515" /> <input type="reset" value="Start over" tabindex="516" /></fieldset>
I also wonder if it might be possible the the webhost (Dreamhost) requires a php or cgi script for uploads and if this should be in the code?
Edited to add code tags<br><br>Post edited by: GreyHead, at: 2008/03/29 14:54
Hi,
I have the same problem as xmvaldez.
I am also suspecting that my host, which uses cpanel, is not configured correctly to accept uploaded files to this directory.
All other email fields are emailed correctly.
Anyone know how to solve this problem, I can't find any forum posts which help resolve my upload issue.
My guess is php needs to be configured correctly to enable this to work.
Help!
I have the same problem as xmvaldez.
I am also suspecting that my host, which uses cpanel, is not configured correctly to accept uploaded files to this directory.
All other email fields are emailed correctly.
Anyone know how to solve this problem, I can't find any forum posts which help resolve my upload issue.
My guess is php needs to be configured correctly to enable this to work.
Help!
Hi both,
Have you put enctype="multipart/form-data" in the 'Form tag attachment' box on the General tab?
Bob<br><br>Post edited by: GreyHead, at: 2008/03/29 14:57
Have you put enctype="multipart/form-data" in the 'Form tag attachment' box on the General tab?
Bob<br><br>Post edited by: GreyHead, at: 2008/03/29 14:57
Hi GreyHead,
Thanks for your help, I hadn't put enctype="multipart/form-data" in the 'Form tag attachment' - my bad! I see it was listed in the FAQ section on the website!
After I did this , I got no emails at all, I had read about this problem too in the forums.
I ran through the FAQ and did another 2 changes which helped me to get the attachment emailed correctly, they were:
1. Changed my 0 KB file size minimum to 1 KB
2. Edited the chronocontact.php and changed the $fileperms = "0644"; to $fileperms = "777";
I'm not sure why 0644 did not work in the first place.
Thanks for a great Joomla Plugin🙂
Thanks for your help, I hadn't put enctype="multipart/form-data" in the 'Form tag attachment' - my bad! I see it was listed in the FAQ section on the website!
After I did this , I got no emails at all, I had read about this problem too in the forums.
I ran through the FAQ and did another 2 changes which helped me to get the attachment emailed correctly, they were:
1. Changed my 0 KB file size minimum to 1 KB
2. Edited the chronocontact.php and changed the $fileperms = "0644"; to $fileperms = "777";
I'm not sure why 0644 did not work in the first place.
Thanks for a great Joomla Plugin🙂
Hi people,
Firstly many thanks to the developments for made this wonderful component. I really enjoy working with it.
Now my question:
I'm trying to make a form for send doc files but it doesn't send the file.
Some times I receive the message:
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/swandigita/domains/swandigital.com/public_html/includes/joomla.php on line 3992
Warning: Variable passed to each() is not an array or object in /home/swandigita/domains/swandigital.com/public_html/includes/joomla.php on line 3994
Or simplify go direct to the main page.
I've done all of the explanations that appear in the FAQ and Forum.
1. Put enctype="multipart/form-data" in the 'Form tag attachment'
2. Changed my 0 KB file size minimum to 1 KB
3. Edited the chronocontact.php and changed the $fileperms = "0644"; to $fileperms = "777"
But it doesn't work. The form is here
Any suggestion?😟
Thanks<br><br>Post edited by: GreyHead, at: 2008/04/21 01:21
Firstly many thanks to the developments for made this wonderful component. I really enjoy working with it.
Now my question:
I'm trying to make a form for send doc files but it doesn't send the file.
Some times I receive the message:
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/swandigita/domains/swandigital.com/public_html/includes/joomla.php on line 3992
Warning: Variable passed to each() is not an array or object in /home/swandigita/domains/swandigital.com/public_html/includes/joomla.php on line 3994
Or simplify go direct to the main page.
I've done all of the explanations that appear in the FAQ and Forum.
1. Put enctype="multipart/form-data" in the 'Form tag attachment'
2. Changed my 0 KB file size minimum to 1 KB
3. Edited the chronocontact.php and changed the $fileperms = "0644"; to $fileperms = "777"
But it doesn't work. The form is here
Any suggestion?😟
Thanks<br><br>Post edited by: GreyHead, at: 2008/04/21 01:21
Hi diazwatson,
We've seen this error before and it seems to be link to an empty attachments array. Please will you take a Form Backup from the icon in the Form Manager and send it to me at the address in my sig so that I can take a closer look.
Bob
We've seen this error before and it seems to be link to an empty attachments array. Please will you take a Form Backup from the icon in the Form Manager and send it to me at the address in my sig so that I can take a closer look.
Bob
Sorry Bob which address did you mean?
The mail address at the component signature?
Thanks
The mail address at the component signature?
Thanks
Hi Diazwatson,
The one right below here in my sig 'info at greyhead.net'
Bob
|
v
The one right below here in my sig 'info at greyhead.net'
Bob
|
v
Ready. !!!
Hi diazwatson,
A few things might be causing this.
You must complete all four boxes on the File Uploads tab (two are blank on the form you sent me).
You should enter a ReplyTo name on the General Tab (sometimes Joomla will fill this in from your site settings but better to do it on the form).
Please put quotes around attribute values so
Try these changes and let us know what happens.
Bob<br><br>Post edited by: GreyHead, at: 2008/04/21 13:17
A few things might be causing this.
You must complete all four boxes on the File Uploads tab (two are blank on the form you sent me).
You should enter a ReplyTo name on the General Tab (sometimes Joomla will fill this in from your site settings but better to do it on the form).
Please put quotes around attribute values so
<INPUT TYPE=FILE SIZE=40 NAME="Attatchment">
should be<input type='file' size='40' name="Attatchment" />
I don't think this causes a problem here but it can do with other fields.
Try these changes and let us know what happens.
Bob<br><br>Post edited by: GreyHead, at: 2008/04/21 13:17
Hello,
My files are uploaded correctly but the file name is not shown in the mail received nor in the database when it can be inserted.
I followed your advices above and yes it's a unique name.
Any more ideas?
Thx for your time
My files are uploaded correctly but the file name is not shown in the mail received nor in the database when it can be inserted.
I followed your advices above and yes it's a unique name.
Any more ideas?
Thx for your time
Hi again.
I did all of the things that you recommend me and actually the error message disappeared but when I have a look to my mails looking for the message with the file attached, surprise!!
I've got only a text message.
Also I had notice that now the name of the file disappeared (in the mail massage)
Only appear a space in blank
Any idea?
Thanks a lot
I did all of the things that you recommend me and actually the error message disappeared but when I have a look to my mails looking for the message with the file attached, surprise!!
I've got only a text message.
Also I had notice that now the name of the file disappeared (in the mail massage)
Only appear a space in blank
Any idea?
Thanks a lot
Hi diaz watson & shoeshut,
Please take Backup copies of your forms and send them to me to look at. Much easier that way than trying to diagnose on line.
Thanks
Bob
Please take Backup copies of your forms and send them to me to look at. Much easier that way than trying to diagnose on line.
Thanks
Bob
My friend the form copy that you want is already in you inbox.
Thanks and very sorry for this trouble.
Nothing more stressful that a group of users complaining and asking for solution.
As a IT professional I recognize it
Cheers.
Raul
Thanks and very sorry for this trouble.
Nothing more stressful that a group of users complaining and asking for solution.
As a IT professional I recognize it
Cheers.
Raul
Hi Raul,
In the File Uploads tab you have "field_name_1:jpg|gif|doc|zip" which follows Max's example. What' needed here is the name of your File field, which is Attachment
Bob
In the File Uploads tab you have "field_name_1:jpg|gif|doc|zip" which follows Max's example. What' needed here is the name of your File field, which is Attachment
<input type="file" size="40" name="Attachment">
Try "Attachment:jpg|gif|doc|zip" instead.
Bob
Sorry Bob, but I did that. And it didn't work
I just changed this few seconds before send to you the attachment.
Anyway....
In my way to change it again.
I'll post the result in a few minutes
I just changed this few seconds before send to you the attachment.
Anyway....
In my way to change it again.
I'll post the result in a few minutes
My Friend I follow your last instructions and now Finally its working
Thank you so much :woohoo:
Thank you so much :woohoo:
This topic is locked and no more replies can be posted.