Advertisement

Media Manager can not upload file larger 1 MB

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Media Manager can not upload file larger 1 MB

Post by longtaithien » Tue Oct 01, 2024 3:20 pm

Hi All

My website can't upload file larger 1 MB by Media Manager . After I click upload . Nothing happen . When I upload smaller 1 MB , everything is ok.

I try a sample upload by PHP file . It's working fine . It so strange .

Hope to receive everyone's help to resolve this case

I'm using Joomla 4.4.8

Thanks
You do not have the required permissions to view the files attached to this post.

Advertisement
User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44646
Joined: Sat Apr 05, 2008 9:58 pm

Re: Media Manager can not upload file larger 1 MB

Post by Webdongle » Tue Oct 01, 2024 3:45 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10254
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Media Manager can not upload file larger 1 MB

Post by AMurray » Tue Oct 01, 2024 9:10 pm

you probably need to increase the limits in your web hosting. The limit set in Joomla (your screenshot above) can only be up to or less than whatever your web host allows.

The FPA will confirm what the file upload and post limits are.
Regards - A Murray
General Support Moderator

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Wed Oct 02, 2024 2:09 am

AMurray wrote: Tue Oct 01, 2024 9:10 pm you probably need to increase the limits in your web hosting. The limit set in Joomla (your screenshot above) can only be up to or less than whatever your web host allows.

The FPA will confirm what the file upload and post limits are.
I tried to use a basic code upload . It's fine . So this problem is belong to Joomla ?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31332
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Media Manager can not upload file larger 1 MB

Post by Per Yngve Berg » Wed Oct 02, 2024 3:58 am

What do you mean by a "basic code upload"?

FTP is not limited by php limits.

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Wed Oct 02, 2024 4:35 am

Per Yngve Berg wrote: Wed Oct 02, 2024 3:58 am What do you mean by a "basic code upload"?

FTP is not limited by php limits.
I upload a simple php file to test upload . It's upload success for file larger 1 MB
You do not have the required permissions to view the files attached to this post.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17837
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Media Manager can not upload file larger 1 MB

Post by toivo » Wed Oct 02, 2024 6:35 am

Check the contents of the .htaccess file. it can have statements that override the settings in PHP.ini.
Toivo Talikka, Global Moderator

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Wed Oct 02, 2024 7:42 am

toivo wrote: Wed Oct 02, 2024 6:35 am Check the contents of the .htaccess file. it can have statements that override the settings in PHP.ini.
HtAccess clean and not override PHP.ini . Seems this is problem very difficult to resolve

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17837
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Media Manager can not upload file larger 1 MB

Post by toivo » Wed Oct 02, 2024 8:41 am

Ok. Please post the results from the Forum Post Assistant (FPA), as suggested by @Webdongle above.
Toivo Talikka, Global Moderator

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10254
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Media Manager can not upload file larger 1 MB

Post by AMurray » Wed Oct 02, 2024 9:37 am

I'm now confused that the OP is confused....is he uploading the PHP file through Media Manager or an FTP program?

If through Media Manager, then maybe that's the problem. Do you allow *.php files (file extension), and MIME type application/x-httpd-php (options in the Media Manager for these)?

For that matter, check the file extensions and MIME types you want to allow upload - typically these would be images, documents, or perhaps media files like MP3/MPEG/MP4

Not really a good idea to allow upload PHP files through media manager since they are executable files.....
Regards - A Murray
General Support Moderator

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Wed Oct 02, 2024 10:30 am

AMurray wrote: Wed Oct 02, 2024 9:37 am I'm now confused that the OP is confused....is he uploading the PHP file through Media Manager or an FTP program?

If through Media Manager, then maybe that's the problem. Do you allow *.php files (file extension), and MIME type application/x-httpd-php (options in the Media Manager for these)?

For that matter, check the file extensions and MIME types you want to allow upload - typically these would be images, documents, or perhaps media files like MP3/MPEG/MP4

Not really a good idea to allow upload PHP files through media manager since they are executable files.....
Thanks your feedback .

I use Media Manager of Joomla 4 to upload file image (.jpg) , and I can't upload file it if it is larger 1 MB . But if I resize it smaller 1 MB , it's working fine

I guess this problem of hosting .

But I tried to write a sample PHP upload , it upload success with file larger 1 MB
You do not have the required permissions to view the files attached to this post.

gws
Joomla! Champion
Joomla! Champion
Posts: 6398
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Media Manager can not upload file larger 1 MB

Post by gws » Wed Oct 02, 2024 10:53 am

If you want help post the FPA.

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Wed Oct 02, 2024 2:14 pm

gws wrote: Wed Oct 02, 2024 10:53 am If you want help post the FPA.
I downloaded fpa-en.php and upload to root folder . After I run this file , it display error : HTTP ERROR 500

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44646
Joined: Sat Apr 05, 2008 9:58 pm

Re: Media Manager can not upload file larger 1 MB

Post by Webdongle » Wed Oct 02, 2024 6:02 pm

System >>> Information >>> System information >>> php information (tab) ... Server API ... what does it say?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Thu Oct 03, 2024 2:16 am

Webdongle wrote: Wed Oct 02, 2024 6:02 pm System >>> Information >>> System information >>> php information (tab) ... Server API ... what does it say?
2024-10-03_9-16-03.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44646
Joined: Sat Apr 05, 2008 9:58 pm

Re: Media Manager can not upload file larger 1 MB

Post by Webdongle » Thu Oct 03, 2024 2:19 am

Make sure the livesite var in configuration.php is '' (two single quotation marks)
You could also try https://wampserver.aviatechno.net/ on your pc and copy your site to there?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

longtaithien
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Oct 01, 2024 3:09 pm

Re: Media Manager can not upload file larger 1 MB

Post by longtaithien » Thu Oct 03, 2024 2:44 am

Webdongle wrote: Thu Oct 03, 2024 2:19 am Make sure the livesite var in configuration.php is '' (two single quotation marks)
Yes , Sure

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44646
Joined: Sat Apr 05, 2008 9:58 pm

Re: Media Manager can not upload file larger 1 MB

Post by Webdongle » Thu Oct 03, 2024 10:48 am

If no avail
Rename .htaccess to bac.htaccess

If still no avail
Then use https://wampserver.aviatechno.net/ on your pc. If the fpa works on your pc then there is something wrong with the setup of the Host's server.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”