Hi guys,
I have a form for uploading photos. It seemed to be working fine until a customer tried uploading a 2.3Mb image. I recieved the email, but no attachment. Also a copy of the image normally goes to a chronocontact folder, but nothing appeared there. No form error messages either!?!
I tried it myself. Small files of approx 150kb were fine, but 2.3 Mb Jpeg still wouldn't work.
Upload settings are - Field names/allowed Extensions/sizes(KB): file_0:jpg|gif|png{10000-1}
I also have the Image Resize plugin enabled.
Could it be a joomla setting elsewhere? Media settings in Global Config are currently set to unlimited.
Any help would be fantastic and very much appreciated.
Thanks,
Dan
I have a form for uploading photos. It seemed to be working fine until a customer tried uploading a 2.3Mb image. I recieved the email, but no attachment. Also a copy of the image normally goes to a chronocontact folder, but nothing appeared there. No form error messages either!?!
I tried it myself. Small files of approx 150kb were fine, but 2.3 Mb Jpeg still wouldn't work.
Upload settings are - Field names/allowed Extensions/sizes(KB): file_0:jpg|gif|png{10000-1}
I also have the Image Resize plugin enabled.
Could it be a joomla setting elsewhere? Media settings in Global Config are currently set to unlimited.
Any help would be fantastic and very much appreciated.
Thanks,
Dan
Hi Dan,
There's also a hosting site setting you can see in the phpinfo ]
Site Admin | Help | System Info | PHP Information | upload_max_filesize
2mb would be low but not impossible. It's also possible that memory or processor time is maxing out if you are doing image re-sizing.
Bob
There's also a hosting site setting you can see in the phpinfo ]
Site Admin | Help | System Info | PHP Information | upload_max_filesize
2mb would be low but not impossible. It's also possible that memory or processor time is maxing out if you are doing image re-sizing.
Bob
Hi Bob,
Wow - that was a quick response! Cheers.
I've taken a look but my php information tab, but it's empty!? In the PHP Settings tab, File Uploads are ON. In the Configuration file, $List_limit is 20, $feed_limit is 10 (If that helps). I'll see if I can view the php.ini file from the server.
I also tried it without the Image Resize plugin, but the same happens.
*** Just checked the php.ini on the server - all it contained was this:
register_globals = Off
safe_mode = Off
allow_url_fopen = Off
disablefunctions = showsource, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Thanks,
Dan
Wow - that was a quick response! Cheers.
I've taken a look but my php information tab, but it's empty!? In the PHP Settings tab, File Uploads are ON. In the Configuration file, $List_limit is 20, $feed_limit is 10 (If that helps). I'll see if I can view the php.ini file from the server.
I also tried it without the Image Resize plugin, but the same happens.
*** Just checked the php.ini on the server - all it contained was this:
register_globals = Off
safe_mode = Off
allow_url_fopen = Off
disablefunctions = showsource, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Thanks,
Dan
I'm not having much joy. I've found quite a few php5.ini files (in various locations) but they all have the same info - none of them mention mxa file upload sizes.
My hosts advised me that I have a 100mb server upload limit - so it's not them.
Any more ideas?
Thanks,
Dan
My hosts advised me that I have a 100mb server upload limit - so it's not them.
Any more ideas?
Thanks,
Dan
Hi Dan,
Not much else to suggest, try checking the server logs - you should see an error message there (or set site Error Reporting to Maximum)
Bob
Not much else to suggest, try checking the server logs - you should see an error message there (or set site Error Reporting to Maximum)
Bob
Cheers for your help Bob.
I think I'll take a break, have a beer, and start again tomorrow. It's Friday after all.
Dan
I think I'll take a break, have a beer, and start again tomorrow. It's Friday after all.
Dan
Hi Bob,
I'm still having problems with this. I've looked at all the php and php5.ini files. Do these look right to you?
All the php5.ini files have been set to:
register_globals = Off
safe_mode = Off
allow_url_fopen = Off
disable_functions = showsource, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
upload_max_filesize = 20M ;
post_max_size = 20M ;
max_execution_time = 360 ;
And the php.ini file is:
register_globals = Off
safe_mode = Off
allow_url_fopen = Off
disablefunctions = showsource, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
upload_max_filesize = 20M ;
post_max_size = 20M ;
max_execution_time = 260 ;
I can't seem to find any other settings. It still seems to time out after about 20 seconds. I get a blank screen in firefox.
Any ideas would be great. I am on a shared server at the moment, but resources are meant to be good enough for this.
Many thanks,
Dan
I'm still having problems with this. I've looked at all the php and php5.ini files. Do these look right to you?
All the php5.ini files have been set to:
register_globals = Off
safe_mode = Off
allow_url_fopen = Off
disable_functions = showsource, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
upload_max_filesize = 20M ;
post_max_size = 20M ;
max_execution_time = 360 ;
And the php.ini file is:
register_globals = Off
safe_mode = Off
allow_url_fopen = Off
disablefunctions = showsource, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
upload_max_filesize = 20M ;
post_max_size = 20M ;
max_execution_time = 260 ;
I can't seem to find any other settings. It still seems to time out after about 20 seconds. I get a blank screen in firefox.
Any ideas would be great. I am on a shared server at the moment, but resources are meant to be good enough for this.
Many thanks,
Dan
Hi Dan,
Everything there looks fine. Could be a time-out on the processor (though 360 should be plenty) or the processor memory limit being reached. The server log should give some clues.
Bob
Everything there looks fine. Could be a time-out on the processor (though 360 should be plenty) or the processor memory limit being reached. The server log should give some clues.
Bob
Thanks Bob. That makes sense. I'm moving to a dedicated server soon, so hopefully that should do the trick.
Also, it turns out that the files are now being uploaded, but the customer doesn't reach the confirmation page - just a blank page.
Thanks for your help.
Dan
Also, it turns out that the files are now being uploaded, but the customer doesn't reach the confirmation page - just a blank page.
Thanks for your help.
Dan
This topic is locked and no more replies can be posted.