File Size Upload limitd to 1M on Front End only, Back End OK
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 28, 2010 3:57 pm
File Size Upload limitd to 1M on Front End only, Back End OK
My users can't upload files greater than 1M on the Front End. I contacted my hosting provider and they increased the upload_max_filesize limit to 5M via php.ini as follows:
upload_max_filesize = 5M
post_max_size = 5M
max_execution_time = 360
max_input_time = 120
register_globals = Off
Also, added the following to .htaccess which causes the php.ini file to affect all subfolders:
suPHP_ConfigPath /home/orrvi3/public_html/
I confirmed the changes by going to the back end and looking at Help-->System Info-->PHP Information. I then tried uploading a 4.8M file via the Media Manager in the back end and was successful.
I then went to the front end and logged in as a user. I tried creating a new article using JCE editor and attempted to upload the same 4.8M file. I got the error message "File size exceeds maximum allowed size." I tested other files of various sizes and found that I can only upload files if they are less than 1M. Anything greater causes the same error.
Joomla v1.5.18; PHP v5.2.9
I'm looking for some suggestions and direction.
upload_max_filesize = 5M
post_max_size = 5M
max_execution_time = 360
max_input_time = 120
register_globals = Off
Also, added the following to .htaccess which causes the php.ini file to affect all subfolders:
suPHP_ConfigPath /home/orrvi3/public_html/
I confirmed the changes by going to the back end and looking at Help-->System Info-->PHP Information. I then tried uploading a 4.8M file via the Media Manager in the back end and was successful.
I then went to the front end and logged in as a user. I tried creating a new article using JCE editor and attempted to upload the same 4.8M file. I got the error message "File size exceeds maximum allowed size." I tested other files of various sizes and found that I can only upload files if they are less than 1M. Anything greater causes the same error.
Joomla v1.5.18; PHP v5.2.9
I'm looking for some suggestions and direction.
-
- Joomla! Hero
- Posts: 2487
- Joined: Wed Jun 07, 2006 9:10 am
- Location: Brasov - Romania
- Contact:
Re: File Size Upload limitd to 1M on Front End only, Back En
Look into the administrator page, "Global configuration", "System" tab, "Maximum Size (in bytes)" field.
My latest project - http://www.extraglaze.co.uk/
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 28, 2010 3:57 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
That was the first thing I checked when the problem surfaced. It's set at 10M.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 28, 2010 3:57 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
Tried resetting Global Config to 0 and to 5000000. Still can't upload files greater than 1M on Front End. Back End works OK.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Jun 08, 2010 2:34 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
If you have JCE or another component installed it may be overriding Joomla's Global Configuration setting.
At least that is what happened on my site.
To remedy this in the Backend...
1. Select "Groups" in the JCE component.
2. Edit the enabled group. (In my case I hadn't set up a group so I accessed the "Default" group.
3. Select "Editor Parameters" heading.
4. Scroll down to "Plugin Options". You'll see your server's max file upload, and you'll see your setting. Mine was set to 1024 KB. I changed that to 10240 KB (10MB) to equal what I have Joomla! Global Config set to.
Good Luck! Hope it helps someone!
At least that is what happened on my site.
To remedy this in the Backend...
1. Select "Groups" in the JCE component.
2. Edit the enabled group. (In my case I hadn't set up a group so I accessed the "Default" group.
3. Select "Editor Parameters" heading.
4. Scroll down to "Plugin Options". You'll see your server's max file upload, and you'll see your setting. Mine was set to 1024 KB. I changed that to 10240 KB (10MB) to equal what I have Joomla! Global Config set to.
Good Luck! Hope it helps someone!
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 28, 2010 3:57 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
Fixed! Thank you maggiemarie. JCE settings were indeed overriding global settings.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Dec 21, 2009 4:33 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
I looked everywhere for a solution to this very frustrating problem. Thanks again @maggiemarie.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Oct 18, 2010 8:24 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
Thank you so much maggiemarie your instruction solved a frustrating problem I'd been trying to solve the all day ...... thank you very much ........
-
- Joomla! Apprentice
- Posts: 19
- Joined: Mon Sep 13, 2010 11:37 am
Re: File Size Upload limitd to 1M on Front End only, Back En
Thanks to maggiemarie!!! Was getting crazy about this... :-)
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Apr 03, 2011 6:52 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
My solution for JCE File size exceeds
In JCE Administration > Groups > Default > Editor Parameters > Upload file size
If you need more put one php.ini in folder administrator with the text
upload_max_filesize = 1024M
post_max_size = 1024M
In JCE Administration > Groups > Default > Editor Parameters > Upload file size
If you need more put one php.ini in folder administrator with the text
upload_max_filesize = 1024M
post_max_size = 1024M
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue May 03, 2011 6:22 pm
Re: File Size Upload limitd to 1M on Front End only, Back En
We've got a similar issue. We are getting the "File size exceeds maximum allowed size" message while trying to upload a 3MB PDF file using the JCE Editor with Flexicontent. We've got the "Front End" group disabled and are just using the "Default" group. Just in case, I set both of them to the PHP Max_Upload_SIze of 25600KB. It does work uploading through the Media Manager and through FTP. It's just through the JCE that we seem to be having issues. I've even tried it as a super admin and tried logging in and out a few times. Is there any other place that I should be looking?
Site>System>Global Config>media settings>maximum size set at 50000000 bytes
flexicontent>Global Config>Files Configuration>maximum size set to 25600000 (bytes?)
JCE admin>config>groups>Default>edit parameters>plugin options>25600KB
(disabled group) JCE admin>config>groups>Front End>edit parameters>plugin options>25600KB
Post_max_size = 25M
Max_Upload_Size 25M
max_execution_time = 30
max_input_time = 60
register_globals = Off
Joomla 1.5.22
JCE 1.5.7.7
Flexicontent 1.5.3c
Site>System>Global Config>media settings>maximum size set at 50000000 bytes
flexicontent>Global Config>Files Configuration>maximum size set to 25600000 (bytes?)
JCE admin>config>groups>Default>edit parameters>plugin options>25600KB
(disabled group) JCE admin>config>groups>Front End>edit parameters>plugin options>25600KB
Post_max_size = 25M
Max_Upload_Size 25M
max_execution_time = 30
max_input_time = 60
register_globals = Off
Joomla 1.5.22
JCE 1.5.7.7
Flexicontent 1.5.3c
- RustyJoomla
- Joomla! Explorer
- Posts: 409
- Joined: Wed Aug 01, 2007 12:08 am
- Location: UK
- Contact:
Re: File Size Upload limitd to 1M on Front End only, Back En
Thanks @maggiemarie
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Oct 30, 2015 4:08 am
Re: File Size Upload limitd to 1M on Front End only, Back End OK
funciono!!! muchas gracias, me pase 4 horas con el soporte de mi hosting y al final se dieron por vencidos
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Jan 24, 2018 6:17 am
Re: File Size Upload limitd to 1M on Front End only, Back End OK
Thank you, maggiemarie. It is the right solution.