Forums

cannot upload the jpg to my server... but can send the email

llc121212 24 Mar, 2013
anyone can help me
I read 1 day in this forum but not success.


it look like the form cannot read the path or the upload folder permission problem?


I need to show it to my boss tmr. I really hope that can run.
many thanks!
Max_admin 24 Mar, 2013
Hi,

Your upload file settings string is wrong, it should be in this "format":

field_name:extesnions{max-min}

example:

upload_field:jpg|png{10000-1}

Whats your Joomla version ? you should use V4 instead.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
llc121212 24 Mar, 2013
many thanks your quick reply!!!

my code:
<input class="cf_input" maxlength="120" size="60" id="filename" name="filename" type="file">

also i set that in File Uploads tab:
filename.jpg|png{10000-1}

but still not work...

i think i am using the old version.
if i change that i worry that my website all chronoform need to recreate..


thanks
Max_admin 25 Mar, 2013
Hello,

You should have ":" but not "."

You may also revise other posts on the forums, search for "upload v3"

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
llc121212 25 Mar, 2013
ohmygod...

it fixed.this simple form waste my full day.

Thanks you Max very much!!!!!

i love this component and the customer support.
it really good.

cheer🤣
llc121212 25 Mar, 2013
i don't know why if the file size too large , the email cannot send out...when click the submit button it will go to the blank page.
if under 1M it work good.
GreyHead 25 Mar, 2013
Hi llc121212,

A blank page could be a sign of a PHP error, check this FAQ

And you may have the file upload size limited to 1Mb in your php.ini server configuration file.

Bob
llc121212 25 Mar, 2013
HI Bob

when i click submit go to blank page , it cannot send a email but the file upload success.

Unfortunlty i set the Reporting to Maximum in the Site Global Configuration but still blank page

also i checked that the C:\WINDOWS\php.ini set upload_max_filesize = 200M



* i think i can upload under 2M file or can you tell me that where can i set the upload_max_filesize?
* do not set the Reporting to Maximum in the Site Global Configuration because still blank page..
GreyHead 25 Mar, 2013
Hi llc121212,

The file appears to upload OK, what do you see with the a Debugger action?

You don't get a completely blank page, just one with no content, so I'd guess that you haven't added any content to the Thank You page of your form.

Bob
llc121212 25 Mar, 2013
i have set a thanks page. attached the jpg.
Also i have upload the other image with upload success case. the jpg under 2MB

i think it cannnot upload more than 2MB jpg...
or can you tell me that where can i set the upload_max_filesize? isn't that issue??
GreyHead 25 Mar, 2013
Hi llc121212,

I tried a file just over 1Mb as you said that was causing problems. I did see your Thank You page (my reading Chinese characters is a bit poor).

You set the max_upload_size in your php.ini file. Check your web host docs for more info.

Bob
llc121212 26 Mar, 2013
i think the issue is my email. because i can 1-5MB upload file success and save to server.
when i disable the Email the results to"No". i uploaded the 3MB file success and have the thanks page.

In "setup email tab" i changed the "Enable Attachments: No". it all work!!
But i change it "Enable Attachments: Yes". it can upload 3mb file success but email not success
Any idea on the email code or setting?

many many thanks!
GreyHead 26 Mar, 2013
Hi llc121212,

ChronoForms has no limit on the Email attachment size. It may be that your mail server does though.

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
This topic is locked and no more replies can be posted.