File Size Upload limitd to 1M on Front End only, Back End OK

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.
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.
Post Reply
tozbolt
Joomla! Apprentice
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

Post by tozbolt » Wed Jul 28, 2010 5:20 pm

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.

Alex Dobrin
Joomla! Hero
Joomla! Hero
Posts: 2484
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

Post by Alex Dobrin » Thu Jul 29, 2010 7:19 am

Look into the administrator page, "Global configuration", "System" tab, "Maximum Size (in bytes)" field.
My latest project - http://www.extraglaze.co.uk/

tozbolt
Joomla! Apprentice
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

Post by tozbolt » Thu Jul 29, 2010 1:10 pm

That was the first thing I checked when the problem surfaced. It's set at 10M.

tozbolt
Joomla! Apprentice
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

Post by tozbolt » Sat Jul 31, 2010 5:00 am

Tried resetting Global Config to 0 and to 5000000. Still can't upload files greater than 1M on Front End. Back End works OK.

maggiemarie
Joomla! Fledgling
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

Post by maggiemarie » Tue Aug 10, 2010 8:14 pm

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!

tozbolt
Joomla! Apprentice
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

Post by tozbolt » Tue Aug 10, 2010 9:19 pm

Fixed! Thank you maggiemarie. JCE settings were indeed overriding global settings.

thirdestate
Joomla! Fledgling
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

Post by thirdestate » Fri Oct 01, 2010 1:16 am

I looked everywhere for a solution to this very frustrating problem. Thanks again @maggiemarie.

mohihassan
Joomla! Fledgling
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

Post by mohihassan » Mon Oct 18, 2010 8:40 pm

Thank you so much maggiemarie your instruction solved a frustrating problem I'd been trying to solve the all day ...... thank you very much ........

hyggestedetdk
Joomla! Apprentice
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

Post by hyggestedetdk » Thu Jan 20, 2011 7:37 am

Thanks to maggiemarie!!! Was getting crazy about this... :-)

cubachui
Joomla! Fledgling
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

Post by cubachui » Sun Apr 03, 2011 6:59 pm

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

WarnerP
Joomla! Fledgling
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

Post by WarnerP » Tue May 03, 2011 6:49 pm

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

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 395
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: File Size Upload limitd to 1M on Front End only, Back En

Post by RustyJoomla » Thu Sep 29, 2011 2:01 pm

Thanks @maggiemarie
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

weberos
Joomla! Fledgling
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

Post by weberos » Tue Sep 05, 2017 11:46 pm

funciono!!! muchas gracias, me pase 4 horas con el soporte de mi hosting y al final se dieron por vencidos

rizov_vladimir
Joomla! Fledgling
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

Post by rizov_vladimir » Wed Jan 24, 2018 6:19 am

Thank you, maggiemarie. It is the right solution.


Post Reply

Return to “Administration 1.5”