Bagisto Forum

    Bagisto

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

    Uploaded Image showing error 403 forbidden

    Bug Report
    3
    3
    544
    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.
    • S
      sandeep last edited by

      Uploaded Image showing error 403. forbidden access. Like

      http://site-name.com/public/storage/slider_images/Default/PqZhtr1f7NgxCkIRhHFbxi1VB7jbCdddGvZ645NV.jpeg

      showing bellow message while image uploaded and exist
      Forbidden
      You don't have permission to access this resource.

      Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @sandeep,

        From inside /public, run:

        chown -R username:group storage
        Of course replace username:group with the same username:group combo that you find against any other public file or folder when you run ls -l whilst in the public folder.

        For more reference, please read this one - https://www.oipapio.com/question-27079

        Thanks

        1 Reply Last reply Reply Quote 0
        • L
          larabrian last edited by

          This error indicates that the server has determined that you are not allowed access to the thing you've requested, either on purpose or due to a misconfiguration . It's probably because the site owner has limited access to it and you don't have permission to view it. The vast majority of the time, there's not much you can do to fix things on your (*client) end. There are four common causes for 403 Forbidden error (server side) . Here they are listed from most likely to least likely:

          • An empty website directory
          • No index page
          • Incorrect settings in the .htaccess file
          • Permission / Ownership error

          If authentication credentials were provided in the request, the server considers them insufficient to grant access. The client SHOULD NOT automatically repeat the request with the same credentials. The client MAY repeat the request with new or different credentials. However, a request might be forbidden for reasons unrelated to the credentials.

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