The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Mon Aug 27, 2012 2:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Nov 30, 2009 6:14 pm
Posts: 32
Hello,

We have a new installation of Joomla 2.5.4 running under IIS 7.

When trying to upload an image, it gives the error:

"This file is too large to upload."

Our max upload is 10 MB.
post_max_size in php.ini is set to 8M

The files I'm trying are less than 1 MB.

We manage our own server (no hosting company involved).

All permissions look fine.

Any tips would be greatly appreciated!

Steve


Top
 Profile  
 
PostPosted: Mon Aug 27, 2012 3:05 pm 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 17751
Location: Akershus, Norway
post_max_size should be larger than max upload.


Top
 Profile  
 
PostPosted: Mon Aug 27, 2012 3:21 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Nov 30, 2009 6:14 pm
Posts: 32
OK, I'll try that. Thanks.


Top
 Profile  
 
PostPosted: Thu Aug 30, 2012 6:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jun 03, 2007 12:12 pm
Posts: 27
@skbohler can you verify if it's working on your side? I've tried and its not working on mine..


Top
 Profile  
 
PostPosted: Sat Sep 01, 2012 8:32 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Dec 31, 2009 11:53 pm
Posts: 98
Location: Oregon, USA
I had the same problem although it was on an Apache server. Even though my hosting control panel showed a upload_max_filesize of 64 megabytes, in Joomla Administrator > Site > System Information > PHP Information showed:
post_max_size 8M
upload_max_filesize 2M

Putting
Code:
post_max_size = 10M
upload_max_filesize = 10M
into a php.ini file didn't work. It was ignored. I had to add
Code:
php_value post_max_size 10M
php_value upload_max_filesize 10M
to the .htaccess file in the site root.

At first, Joomla didn't report the change but I logged out and back into the Administrator. Then I checked the System Information again and the new values were shown. My files will now upload.

Joomla 2.5.6, PHP Version 5.3.15

_________________
Charles


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 2:51 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14715
Location: Kent, England
If you are on a remote hosted server you should speak to the host and get the values changed by them in the main php.ini file which on shared hosting only they will be able to do. Otherwise you should check with the host what restrictions they have with regard changing settings in either local php.ini or .htaccess files. This option will vary from host to host so if you subsequently transfer the files you may have issues.

On Dedicated servers, Virtual Servers, and on localhost installations you should be able to directly access the server's main php.ini file and change the settings directly.

IMPORTANT
Make sure that you change the existing "live" settings and not those that are in any information panels within the document (these are prefixed with the # (hash/pound sign) as the php.ini file is a hierarchy based document and if you make changes at the top and the same variables have different values lower down then the later values will be the ones that apply.


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 3:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 02, 2012 12:40 am
Posts: 48
I think this will work for you.
First, find out your FTP settings (username, host and password) these are often sent with an email when you first register to your domain.

Now download a Ftp software i recomend filezilla if youre on Pc, since it's free and easy. if your'e on mac then Cyber duck is nice.

Now connect with your settings trough your FTP Client, you should now se a folder called "Public_htm", go into that.

Now find a folder called "tmp" and extract your exteension so it's in a folder in your "tmp" folder.

now go to your Joomla/administrator site and select extension mananger then install from directory and after tmp add
"/*the name of the folder you extracted in tmp folder*" and then hit install.

It should do the trick :) i hope i was to some help :)

*edit*
saw that you manange your own server, then ignore the ftp part and go directly to the folder were your homepage is :)


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 3:18 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14715
Location: Kent, England
You should also update Joomla to 2.5.6 as a matter of priority.


Top
 Profile  
 
PostPosted: Sat Oct 13, 2012 2:25 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Oct 13, 2012 2:06 pm
Posts: 1
On Linux shared hosting accounts you can find the default system php.ini and php5.ini files here:
/web/conf/php.ini
/web/conf/php5.ini

Upload a file (for example info.php) to the root with this content:
<pre>
<? system("cat /web/conf/php5.ini"); ?>
</pre>

Then hit this page with a browser, eg: http://yoursite.com/info.php

Copy the text and place into a new php.ini or php5.ini file, make your changes (for example, max_upload_size etc) and upload to your server's root. To check if it worked go to system information in the joomla backend and open php settings.

For me newly placed php.ini works and php5.ini doesnt.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: Garyp25, rizuan05 and 52 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group