Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    problem when I upload a product that exceeds 8 MB

    Bug Report
    2
    11
    353
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      youssefq last edited by

      good morning everyone, I tried to create a product with many Variations but when I tried to save the product it gave me the error 500, I went to see the terminal I found the following problem: ```
      WARN PHP Warning: POST Content-Length of 23686206 bytes exceeds the limit of 8388608 bytes in Unknown on line 0.

      
      ![1cd4abfb-d061-4863-b22f-e9a0a3aa745b-image.png](/assets/uploads/files/1732105506564-1cd4abfb-d061-4863-b22f-e9a0a3aa745b-image.png)
      Y 1 Reply Last reply Reply Quote 0
      • Y
        youssefq @youssefq last edited by

        Screenshot 2024-11-20 13.24.55.png
        the erorr

        1 Reply Last reply Reply Quote 0
        • Y
          youssefq last edited by

          Screenshot 2024-11-21 13.08.14.png

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by

            Hello @youssefq

            In deafult PHP uploading limit size 2MB for this you need to increase the max uploading limit from the php.ini file

            Thanks & Regards

            Y 1 Reply Last reply Reply Quote 0
            • Y
              youssefq @Rishabh-Webkul last edited by

              Hello @Rishabh-Webkul,

              Thank you for taking the time to look into my issue.

              Before reporting this bug, I had already edited the php.ini file and set the post_max_size and upload_max_filesize values to 1000M. Despite this, the problem persists, and I still encounter the same error.

              Thank you again for reviewing my bug report.

              Best regards,

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by

                Hello @youssefq

                After making your changes did you restart your apache service ?

                Thanks & Regards

                Y 1 Reply Last reply Reply Quote -1
                • Y
                  youssefq @Rishabh-Webkul last edited by

                  hello @Rishabh-Webkul,
                  i am very sorry if i did not see your message because i had lost hope that i could fix the problem, but anyway, oh restarted the xampp apachia with the command sudo /opt/lampp/lampp restart, ad thanks

                  1 Reply Last reply Reply Quote 0
                  • Rishabh-Webkul
                    Rishabh-Webkul last edited by

                    Hello @youssefq

                    You're Welcome, Keep Exploring

                    Thanks & Regards

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      youssefq @Rishabh-Webkul last edited by

                      @Rishabh-Webkul the problem is still there even though I restarted Apache several times and restarted the PC.

                      1 Reply Last reply Reply Quote 0
                      • Rishabh-Webkul
                        Rishabh-Webkul last edited by

                        Hello @youssefq

                        Can you please show me your php.ini file where you have made the changes with the help of image?

                        Thanks & Regards

                        Y 1 Reply Last reply Reply Quote 0
                        • Y
                          youssefq @Rishabh-Webkul last edited by

                          @Rishabh-Webkul yes sure
                          (https://www.mediafire.com/file/g1oompszczet8r6/php.ini/file)
                          i but the file on mediafire see the file and can you please tell me the error
                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post