File upload problems

Strommy 09 Feb, 2008
Hello,

I can't get file uploads to work in my form. I've followed a lot of the posts already on the forum but it still isn't working for me. Not only does the file not upload, the email doesn't even say the file name. When I remove the enctype from the general tab, it says the filename but the file doesn't upload. I have attached the cfbak file if anyone would be so kind to look. Thanks in advance!

Eric [file name=InstallMyScript.cfbak size=3754]http://www.chronoengine.com/components/com_fireboard/uploaded/files/InstallMyScript.cfbak[/file]<br><br>Post edited by: Strommy, at: 2008/02/09 09:58
GreyHead 10 Feb, 2008
Hi Strommy,

The wild-card * is no longer supported as a File Uploads extension - it just opens up too many possibilities for hacking. Try a list of specific suffixes instead like rar|zip . . . You probably don't want to include php or js🙂

Bob

PS check the case as well you have 'Script' in one place and 'script' in another; I don't remember if this makes any difference.<br><br>Post edited by: GreyHead, at: 2008/02/09 20:29
Strommy 10 Feb, 2008

Hi Strommy,

The wild-card * is no longer supported as a File Uploads extension - it just opens up too many possibilities for hacking. Try a list of specific suffixes instead like rar|zip . . . You probably don't want to include php or js🙂

Bob

PS check the case as well you have 'Script' in one place and 'script' in another; I don't remember if this makes any difference.<br><br>Post edited by: GreyHead, at: 2008/02/09 20:29



Still nothing. Any special CHMOD changes I need to make that I'm not aware of? I have the com_chronocontact uploads folder set to 777.
GreyHead 10 Feb, 2008
Hi Strommy,

OK, I'll look again at your form in the morning. The rest of the code looked OK to me.

Bob<br><br>Post edited by: GreyHead, at: 2008/02/10 00:08
Max_admin 11 Feb, 2008
Hi Strommy,

Can you see the file uploaded under the uploads folder ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Strommy 11 Feb, 2008

Hi Strommy,

Can you see the file uploaded under the uploads folder ?



No, unfortunately not. I have some additional information to provide...

Today when I looked at the form, "Field names & allowed Extensions for each:" had switched itseld from "script:zip|rar" to "Array"...

Additionally, I've been getting e-mails like this:

This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of its
recipients after more than 48 hours on the queue on sagittarius.serversn.com.

The message identifier is: 1JKh6e-0001mm-LZ
The subject of the message is: ChronoForms test
The date of the message is: Thu, 31 Jan 2008 16:38:00 -0500

The address to which the message has not yet been delivered is:

[email]admin@example.com[/email]

No action is required on your part. Delivery attempts will continue for
some time, and this warning may be repeated at intervals if the message
remains undelivered. Eventually the mail delivery software will give up,
and when that happens, the message will be returned to you.
GreyHead 12 Feb, 2008
Hi Strommy,

The Array problem is a known bug and the fix is here

The email error is correct. 'example.com' is a dummy domain used for testing and emails sent to is are undeliverable. The question is where is it showing up in your form? It needs to be replaced with a valid email address.

Bob
Strommy 12 Feb, 2008
That fixed it! Getting uploads and e-mails correctly now. Thanks for the great component and customer support! Keep it up!

Edited to remove quote of previous message<br><br>Post edited by: GreyHead, at: 2008/02/12 16:12
GreyHead 12 Feb, 2008
Hi Strommy,

Glad you got it working, well done.

Bob
This topic is locked and no more replies can be posted.