Support

Akeeba Backup for Joomla!

#27850 Akeeba Back up Pro update gives warning that upload file size stting in .htaccess is too small

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Friday, 23 June 2017 17:17 CDT

timtecsa
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Akeeba Back up Pro update (to 4.2) gives me warning that upload file size setting in .htaccess is too small. The .htaccess file was created by AdminTools Pro which updated OK a moment ago. How do I fix best this problem ?

Site is: http://www.graphicraft.com.hk/

dlb
The default upload limits in PHP are too small to upload our software packages, this has been the case for some time. Admin Tools does not set or change the PHP upload limits in the .htaccess file. It could be done on some servers using custom code commands. Those limits are more commonly set in php.ini files, sometimes the user can modify them, mostly the host controls them. If you are sure the error message said .htaccess, please check your custom code in .htaccess Maker. Otherwise, you should contact your host about increasing this limit.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

timtecsa
Thanks, Dale.

Are there any detailed instructions on your site (or elsewhere) on how to fix the problem by:

1. editing .htaccess that was created in AdminTools Pro

or

2. adding a suitable php.ini file somewhere on Joomla site

Tim

dlb
I knew I'd seen it somewhere. :-)

The packages of our latest versions of our components are rather big. Since the default maximum upload size on most servers is just 2Mb this may cause an upload error. The best solution is to ask your host to set the following in the server's php.ini:
upload_max_filesize = 10M
post_max_size = 10M


If this is not possible, there's a good chance that the following lines in your .htaccess file may work on most servers:
php_value upload_max_filesize 10M
php_value post_max_size 10M


There is also another alternative, but it won't work on all hosts: installation by URL. Please go to the Download section of our site and select the software and version you want to download. Next to the "Download now" button you will see a link called "DirectLink". Right click on it and select "Copy link address" (the exact phrase depends on the browser, but it should have to do about copying the link or its address / URL / location).

Now go to your site's back-end, Extensions, Extensions Manager and find the Install from URL field. Note: on Joomla! 3.x you have to click on the "Install from URL" tab to see that field. Replace the contents of the "Install URL" field with the contents of your clipboard (the DirectLink URL you copied above) and click on the "Install" button next to this textbox. As long as your server supports installing extensions from URL the installation should go through.

If this still doesn't help you can always follow the manual installation instructions in our troubleshooting documentation.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

timtecsa
I don't see any Direct Link here: https://www.akeebabackup.com/download.html
There is no entry found in my .htaccess file with Search for 'upload_max' or similar term.
There is a php.ini file in public_html root and site's folder with good settings but clearly ineffective.

Tim

dlb
Tim,

Try adding the commands to your .htaccess file in the root. The php.ini files are tricky because they don't inherit from higher folders, unlike .htaccess.

Our canned response is a little out of date. The Download button will give you the direct download address.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

timtecsa
Error



Invalid URL

Unable to find install package


Link on button gave error.

dlb
I will have to find out why the direct link is no longer on the Download page and where it can be found. But I can't talk to Nicholas or Davide until morning.

There is a manual install procedure for just this sort of situation. You can see the details here: https://www.akeebabackup.com/documentation/akeeba-backup-documentation/installation-updates-upgrades.html#installation-manual.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

timtecsa
Thanks, Dale,

I added the scripts to foot of .htaccess and the update to 4.2 went OK. I was surprised that AdminTools let me edit .htaccess without complaint. Should I be?
Maybe htaccess maker should, by default, add:

upload_max_filesize = 10M
post_max_size = 10M

Joomla files never seem to get smaller :-)


Tim

dlb
No, everything just keeps getting bigger.

We should go back and add those lines to .htaccess Maker and regenerate the .htaccess file. Otherwise, the next time you generate it we'll be trying to figure out why this is broken again.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!