Jump to content

Uploading theme into 1.7 returns this: The uploaded file is too large.


Recommended Posts

As the subject says. I have tried uploading multiple new themes into my basically fresh install of a 1.7.4 store. There are only a couple items listed on it so far. Every theme I upload Presta spits out the same error."The uploaded file is too large." Any idea what is causing this?

 

Thanks in advance (I hope)

 

-Zed

  • Thanks 1
Link to comment
Share on other sites

Hi there,

you need to enlarge upload size

 

1) php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

 

2) .htaccess

 

php_value memory_limit 256M

php_value upload_max_filesize 256M

php_value post_max_size 256M

 

 

  • Like 1
Link to comment
Share on other sites

Here also are instructions for FTP'ing theme up to your shop. 

https://addons.prestashop.com/en/content/13-installing-modules

 

Note:  Always do a full back up of your shop 'everyday' but special backup before installing theme. 

It is highly recommended to create a copy of your production shop so you can test theme installation and more importantly get experience configuring your new theme.   

happy themeing

 

 

 

Link to comment
Share on other sites

  • 8 months later...
On 9/4/2018 at 2:06 PM, pattyo1 said:

Hi there,

you need to enlarge upload size

 

1) php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

 

2) .htaccess

 

php_value memory_limit 256M

php_value upload_max_filesize 256M

php_value post_max_size 256M

 

 

where do i find it ?

Link to comment
Share on other sites

  • 10 months later...
On 5/13/2019 at 8:51 PM, Bambi1967 said:

where do i find it ?

Hi Bambi1967 to be more specific !
you need to enlarge upload size

 

1) php.ini

(C:)/wamp64/bin/apache/apache2.4.41/bin/php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

 

2) .htaccess

(C:)/wamp64/www/mysite/prestashop1.7.6.4/config/.htaccess

 

php_value memory_limit 256M

php_value upload_max_filesize 256M

php_value post_max_size 256M

Edited by faprestashop (see edit history)
Link to comment
Share on other sites

On 5/14/2019 at 12:21 AM, Bambi1967 said:

where do i find it ?

The simple way create new php.ini file and upload in your installation root folder, put above contents to increase memory. If it still not working.

create one php file called info.php and write there following code:

<?php

phpinfo();

?>

upload on root and run this file. www.yourdomain.com/info.php

check above variable if it change as per your desired configuration that we set. 

If not then contact your hosting company to do so. 

Hope this helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...