Page 1 of 1

Template too Large

PostPosted: 07. December 2015 18:34
by centurian27
I wanted to try out several templates before I load them up on Hostgator, but my localhost says they are too large (41mb) to upload. Where can I change the upload file size and what is the correct way to do this.

Thanks.

Re: Template too Large

PostPosted: 07. December 2015 19:14
by Nobbie
centurian27 wrote:I wanted to try out several templates before I load them up on Hostgator, but my localhost says they are too large (41mb) to upload. Where can I change the upload file size and what is the correct way to do this


If you are speaking about Xampp and PHP (what you did not mention), edit php.ini and look for "max_upload_size". Restart Apache after changing php.ini

Re: Template too Large

PostPosted: 07. December 2015 20:59
by centurian27
Hello Nobie
Sorry I left out PHP. I did exactly what you suggested in php.ini and restarted Xampp, but still didn't let me upload the template. I got this instead.

Warning: POST Content-Length of 42874310 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

I don't know wheather that has anything to do with php.inin but it wont let me upload the template.

Thanks for replying by the way.

Re: Template too Large

PostPosted: 08. December 2015 01:28
by Altrea
Increase the php.ini setting "post_max_size" too.
btw: This error message is a beautiful example of an issue you can find solutions on google.

Re: Template too Large

PostPosted: 08. December 2015 14:57
by centurian27
It doesn't matter which search I do, here or on the net, I still get the same result.

I'll be skipping LocalHost and putting my domain on to Hostgator where it was going anyway.

Perhaps the guy's at Hostgator can expand the upload file size for me.

Thanks for your posts guy's.

Re: Template too Large

PostPosted: 08. December 2015 17:11
by Nobbie
centurian27 wrote:It doesn't matter which search I do, here or on the net, I still get the same result.


???

How could you edit php.ini and increase max_upload_size, when you cannot edit php.ini and increase post_max_size??

Re: Template too Large

PostPosted: 08. December 2015 19:04
by Altrea
must be magic :lol: