I've created a form using Chrono Form on my Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux (Joomla! 1.5.9 Production/Stable [ Vatani ] 9-January-2009 23:00 GMT) installation. ChronoForm 3.1 RC2
When I use the form to upload a .mp3 file, this is what is returned in the UI (or something like this)
<snip>
$_POST array: Array ( [text_3] => Aaron Bradley [text_5] => Funky, Jackin [text_7] => Aaron - FunkyDeepEnd [17a88f005706773bb2c55cb9af5d79da] => 1 )
$_FILES array: Array ( [file_8] => Array ( [name] => fingers.mp3 [type] => audio/mpeg [tmp_name] => /tmp/phpQJSDZd [error] => 0 [size] => 1329424 ) )
Thanks for the Mix!
Redirect link set, click to test:
http://funkyhousebeats.com
</snip>
any ideas????
When I use the form to upload a .mp3 file, this is what is returned in the UI (or something like this)
<snip>
$_POST array: Array ( [text_3] => Aaron Bradley [text_5] => Funky, Jackin [text_7] => Aaron - FunkyDeepEnd [17a88f005706773bb2c55cb9af5d79da] => 1 )
$_FILES array: Array ( [file_8] => Array ( [name] => fingers.mp3 [type] => audio/mpeg [tmp_name] => /tmp/phpQJSDZd [error] => 0 [size] => 1329424 ) )
Thanks for the Mix!
Redirect link set, click to test:
http://funkyhousebeats.com
</snip>
any ideas????
Hi tokenring,
you have DEBUG enabled in the general tab of the form, please turn this OFF
Cheers
Max
you have DEBUG enabled in the general tab of the form, please turn this OFF
Cheers
Max
Thanks for your reply. It's now off. Did the messages help? Now what?
edit: I wasn't referring to the text as the *error*... I was simply putting that there just in case the output helped with my situation. I've completed the form with the wizard, edited it with the standard editor and made sure all settings were correct. Basically what is happening is that when a user attempts to upload a .mp3 file, the file is not being transferred. The directory is writable because I can manually ftp files to that dir. /uploads and /uploads/post_a_mix/
AB
edit: I wasn't referring to the text as the *error*... I was simply putting that there just in case the output helped with my situation. I've completed the form with the wizard, edited it with the standard editor and made sure all settings were correct. Basically what is happening is that when a user attempts to upload a .mp3 file, the file is not being transferred. The directory is writable because I can manually ftp files to that dir. /uploads and /uploads/post_a_mix/
AB
does Joomla see the components/ dir as writable ? maybe the folders are writable for your FTP user account but not for the Joomla script!
Max
Max
Hi Max😀
When I go into "edit" mode for the FORM, I see the directory as writeable. Maybe there is more work to the FORM building than I think. Can you maybe point me to a couple of threads in here that explain the "edit" settings in a bit more detail? I'll look around in the meantime.
Thanks,
Aaron
When I go into "edit" mode for the FORM, I see the directory as writeable. Maybe there is more work to the FORM building than I think. Can you maybe point me to a couple of threads in here that explain the "edit" settings in a bit more detail? I'll look around in the meantime.
Thanks,
Aaron
Hi Aaron,
this one may be misleading, in Joomla area go to Help > system info> permissions and see if the components dir is writable ? also, if you made a quick search in the forums here you will find some posts with the solutions! check them as well!😉
Regards,
Max
this one may be misleading, in Joomla area go to Help > system info> permissions and see if the components dir is writable ? also, if you made a quick search in the forums here you will find some posts with the solutions! check them as well!😉
Regards,
Max
Yes it is writeable...
components/ Writable
I'll do a search as I've been looking around already. I'm just trying to find a thread on FORM integration.
Thanks for the help!
Aaron
components/ Writable
I'll do a search as I've been looking around already. I'm just trying to find a thread on FORM integration.
Thanks for the help!
Aaron
Hi Aaron,
Ok, let me know what happens, If you are in no rush then don't start making heavy forms because there is a new release very soon, finishing it! its much better and easier to fix if there are problems!
Regards,
Max
Ok, let me know what happens, If you are in no rush then don't start making heavy forms because there is a new release very soon, finishing it! its much better and easier to fix if there are problems!
Regards,
Max
So I can get a form to uplaod a jpg|png|tif successfully to it's folder but I can't get another form to upload a .mp3 to its folder. Both folders are at the same level (in the file system - same parent) and have the exact same permissions. I've got the limit at 102400 (100MB) for the .mp3 form and the file I'm attempting with is only 10 MB in size. Any ideas why this would fail?
there is a PHP max size limit, if the file is over that then it will not work too!😉
Max
Max
Hi Aaron,
All that looks good - what's the Max_File_Size in your PHP ini file? you shoudl find it from the Help | System Info |PHP Information tab in the Site admin
Bob
All that looks good - what's the Max_File_Size in your PHP ini file? you shoudl find it from the Help | System Info |PHP Information tab in the Site admin
Bob
post_max_size 8M 8M
upload_max_filesize 20M 20M
okay... so this apprears to be the problemo. So it looks where I am now is only a "Read Only" area... where can I change these settings? Also, if I change these to the appropriate sizes, do I have to change the other settings that I showed you in the screenshots back to the originals or do I leave it how it is?
Aaron
upload_max_filesize 20M 20M
okay... so this apprears to be the problemo. So it looks where I am now is only a "Read Only" area... where can I change these settings? Also, if I change these to the appropriate sizes, do I have to change the other settings that I showed you in the screenshots back to the originals or do I leave it how it is?
Aaron
Hi Aaron,
Those settings are in your php.ini file which is part of the php configuration on your host. Your hosting company should be able to tell you if you can change them (it's not always allowed) and how to do it.
Bob
Those settings are in your php.ini file which is part of the php configuration on your host. Your hosting company should be able to tell you if you can change them (it's not always allowed) and how to do it.
Bob
Okay... I'll find out. However, in my own testing in the meantime I was only trying to PoST a 1 MB or a 2 MB file and I was still unsuccessful.
Joomla settings below:
post_max_size 8M
upload_max_filesize 20M
Media Settings:
Maximum Size (in bytes) 104857600 = (100 MB)
Restrict Uploads = NO
ChronoForms Settings:
File_2:mp3{102400-1} = (100 MB)
So I will contact them about changing that file to allow for bigger uploads/posts, but I still can't see why a ~ 2 MB file is not accepted???
Aaron
Joomla settings below:
post_max_size 8M
upload_max_filesize 20M
Media Settings:
Maximum Size (in bytes) 104857600 = (100 MB)
Restrict Uploads = NO
ChronoForms Settings:
File_2:mp3{102400-1} = (100 MB)
So I will contact them about changing that file to allow for bigger uploads/posts, but I still can't see why a ~ 2 MB file is not accepted???
Aaron
so I was told (host = 1and1.com) to create a file called php.ini with the following lines in it.
upload_max_filesize = 100M
post_max_size = 100M
and that I had to put it (php.ini) in every folder of the path (/joomla -> ... /uploads/Upload_a_Mix/). The .mp3 file I am testing with is 200 kb in size so I am completely stumped, especially since I can get a image to successfully upload.
edit:
just got an e-mail from the Host. This sucks. They say that 20M is the limit for both params... So even though the Max won't be enough for what I need, I would like to know why it's not working. I still just might be able to use it.
Aaron
upload_max_filesize = 100M
post_max_size = 100M
and that I had to put it (php.ini) in every folder of the path (/joomla -> ... /uploads/Upload_a_Mix/). The .mp3 file I am testing with is 200 kb in size so I am completely stumped, especially since I can get a image to successfully upload.
edit:
just got an e-mail from the Host. This sucks. They say that 20M is the limit for both params... So even though the Max won't be enough for what I need, I would like to know why it's not working. I still just might be able to use it.
Aaron
Hi Aaron,
No idea why it isn't working for you with the small mp3 file. [sendfb][/sendfb]
For the bigger files perhaps the Amazon cloud storage would work - haven't used it myself but I've heard good things.
Bob
No idea why it isn't working for you with the small mp3 file. [sendfb][/sendfb]
For the bigger files perhaps the Amazon cloud storage would work - haven't used it myself but I've heard good things.
Bob
Here it is along with my media settings captured.
[attachment=1]media_settings.JPG[/attachment]
Also, once inside the form (EDIT) I can set the path for the file uploads. Since my host said that they can't change the max to higher than 20M (php.ini) I thought I would get the users to upload to a different partition of the site. When I am editing the form, Joomla looks it sees my FTP area which it also sees as writeable. Maybe after we can get the form to post the .mp3 file to the standard directory, I can change the dir where it goes to. I don't think php.ini, joomla and/or the form will restrict the file going there will it???
Aaron
[attachment=1]media_settings.JPG[/attachment]
Also, once inside the form (EDIT) I can set the path for the file uploads. Since my host said that they can't change the max to higher than 20M (php.ini) I thought I would get the users to upload to a different partition of the site. When I am editing the form, Joomla looks it sees my FTP area which it also sees as writeable. Maybe after we can get the form to post the .mp3 file to the standard directory, I can change the dir where it goes to. I don't think php.ini, joomla and/or the form will restrict the file going there will it???
Aaron
I had another form that the user submits their profile and adds an attachment (jpg - for their avatar) which was attached to the e-mail that was sent to me when they submitted the form. I'm not sure what parameter allowed for this (attaching of the jpg) but for some reason now when they submit the form, the e-mail doesn't have the attached jpg anymore, but the jpg has been sent to the upload folder???
I'm pretty sure that I didnt' have anything in the e-mail template that did this, so not sure where this can be set?
I'm pretty sure that I didnt' have anything in the e-mail template that did this, so not sure where this can be set?
Hi Aaron,
check the email properties area, it has a switch for attachments per email!
Max
check the email properties area, it has a switch for attachments per email!
Max
Every field (email properties) are enabled as they have always been. Not sure why the attachments stopped coming.... I'll look into it.
Aaron
Aaron
Hi Aaron, every email properties has a "enable attachments" option, is it enabled ?
Ok, if the problem still exists then please send me a form backup through the email we have been exchanging recently!🙂
Regards
Max
Regards
Max
disabled them all and then re-enabled them and now the attachment arrives in the e-mail. Say if I didn't want the attachment anymore, which field do I disable to have that happen? None really have anything to do with attachments...
disregard what I had here... I thought that parameter (enable attachments) was attached to every field in the template.
Thanks,
Aaron
Thanks,
Aaron
I talked to my host and they have confirmed that I should be able to upload .mp3 files via the form. Does anyone have any ideas on why it wouldn't work? This is the last part of the form (functional requirementts - other than tweaks) that I need to get working.
Bob, you should be able to login now as the other new members have and have updated their profile and have used the "add a mix link" form too.
Aaron
Bob, you should be able to login now as the other new members have and have updated their profile and have used the "add a mix link" form too.
Aaron
Hi, I would like to look at a new form backup, can you post one ?
Cheers
Max
Cheers
Max
Here you go Max! BTW, I've made Bob a superadmin on the site.
p.s. I had to zip it up today, because I received the error ".cfbak extension is not allowed"
Aaron
p.s. I had to zip it up today, because I received the error ".cfbak extension is not allowed"
Aaron
Hi Aaron,
I found the problem - you had file_2 in your file permissions box and file_9 in the Form HTML. So ChronoForms was doign exactly as it should.
Bob
I found the problem - you had file_2 in your file permissions box and file_9 in the Form HTML. So ChronoForms was doign exactly as it should.
Bob
I just noticed that you made the change for me (Thanks for that). I really really appreciate the support I have been given!!!
In future releases, maybe elaborate on the *nerd knob* or a *tool tip* on that field (file uploads) that states file_1, file_2... etc doesn't mean the file type (which I thought) it means that this is the realestate (text box) that is taking the upload so it has to match (file uploads - with - form fields).
I was just lucky that on my other forms that have uploads enabled, that the 2 matched.
:(
In future releases, maybe elaborate on the *nerd knob* or a *tool tip* on that field (file uploads) that states file_1, file_2... etc doesn't mean the file type (which I thought) it means that this is the realestate (text box) that is taking the upload so it has to match (file uploads - with - form fields).
I was just lucky that on my other forms that have uploads enabled, that the 2 matched.
:(
Hi Aaron,
Glad it's working OK.
Bob
PS It does say 'field name' there on the tab :-(
Glad it's working OK.
Bob
PS It does say 'field name' there on the tab :-(
and another note for other users doing similar things with the ChronoForms. I have the *file uploads* set to 102400 (100MB) for the allowable upload limit, but in my PHP settings I see:
upload_max_filesize = 20M
post_max_size = 8M
however, I was able to upload a 50MB file today...
so these settings (php settings) must be applied to the standard *forms* and or other protocols that are built in Joomal for uploading media to the domain... because it's not restricting ChronoForms limits!
:-)
upload_max_filesize = 20M
post_max_size = 8M
however, I was able to upload a 50MB file today...
so these settings (php settings) must be applied to the standard *forms* and or other protocols that are built in Joomal for uploading media to the domain... because it's not restricting ChronoForms limits!
:-)
This topic is locked and no more replies can be posted.
