Jump to content
Zedster

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

Share this post


Link to post
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

Share this post


Link to post
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

 

 

 

Share this post


Link to post
Share on other sites
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 ?

Share this post


Link to post
Share on other sites
Posted (edited)
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)

Share this post


Link to post
Share on other sites
Posted (edited)

The same case also happens when you upload banner images, logo, etc, that's why people complain their logos are blurry than the original ones, we care the logo a lot that why we can tell if a logo is clear or blur, actually what happens to the logo also happens to product images MyAARPMedicare

Edited by Kirkland (see edit history)

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites
On 9/4/2018 at 5:36 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

Yes this works for me , 

Myaarpmedicare

 

 

Share this post


Link to post
Share on other sites

Hi,

you need to enlarge upload size

 

1) php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

Wagcares

Share this post


Link to post
Share on other sites
Posted (edited)
On 8/4/2020 at 12:12 AM, wagcares said:

Hi,

you need to enlarge upload size

 

1) php.ini

 

memory_limit = 256M

upload_max_filesize = 256M

post_max_size = 256M

Wagcares

Where do we obtain the php.ini file off the server?

Edited by natebc (see edit history)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More