AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: l3n on October 01, 2016, 11:52:50 AM

Title: 12kb > 500M error_The uploaded file exceeds the upload_max_filesize directive
Post by: l3n on October 01, 2016, 11:52:50 AM
Hi,

I've changed php.ini with the following (as confirmed in phpinfo):

     file_uploads = On
     post_max_size = 500M
     upload_max_filesize = 500M

But im still getting the error:

    File logo.png (error_The uploaded file exceeds the upload_max_filesize directive in php.ini (now 500M ))


I've also changed Resource Library Upload Max File Size, kB to 500000.

The file I'm currently uploading is only 12kb.


Thanks in advance.


Title: Re: 12kb > 500M error_The uploaded file exceeds the upload_max_filesize directive
Post by: digitalt on October 01, 2016, 01:15:14 PM
Take a look at your global php settings. Problem could be there as set by your server.
Title: Re: 12kb > 500M error_The uploaded file exceeds the upload_max_filesize directive
Post by: l3n on October 01, 2016, 03:56:34 PM

I had contacted Godaddy since it is shared hosting and asked about global settings but they said it should run at 500M as set. I've since made some changes for local php.ini (even threw in a .user.ini) and phpinfo now shows (before it was just one column):

           Directive                   Local Value    Master Value
      post_max_size                        500M                 500M
      upload_max_filesize            500M                  500M

Since I just found it I also made sure that public_html/abantecart/php.ini matched too. Still same error.
Title: Re: 12kb > 500M error_The uploaded file exceeds the upload_max_filesize directive
Post by: digitalt on October 01, 2016, 05:35:21 PM
Call Godaddy support and ask them. They have the best CS around. They should be able to get you fixed up. It's php config somewhere but not sure where.

I have Godaddy too and they are tops with their help.