I've setup the image field to 500x500 and 2 Mo. If I upload a bigger image I've got an internal server error 500.
I know it's my mistake to upload a too big image, but shouldn't I receive a more friendly message ? ( like "image has not the correct size")
Your host probably doesn't allow 2mb uploads. You need to ensure maximum post size and such is all adjusted properly. If you allow 2mb, adjust it to say 3mb so the error can catch it and output. Example as follows using php.ini.
upload_max_filesize = 4M
post_max_size = 4M
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The limit is actually 48 Mb.
But I've limited to 2 Mb the profile image with 500*500 px.
If I upload a bigger image, I've got an internal error.
So it's normal, but pointing directmy to an error 500 is a bit heavy for users.
A message to explain that their image is too big should be better.
It's not supposed to be a 500 error. It's supposed to inform them it is too large. Try reducing the maximum size and re-upload to see if error persists. If it persists enable debug mode and maximum error reporting in Joomla global configuration then try to upload again to expose the error.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.