Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: 12kb > 500M error_The uploaded file exceeds the upload_max_filesize directive  (Read 4170 times)

Offline l3n

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
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.



Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
Take a look at your global php settings. Problem could be there as set by your server.

Offline l3n

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile

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.

Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
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.

 

Powered by SMFPacks Social Login Mod