Bagisto Forum

    Bagisto

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

    Admin Dashboard redirect

    Bug Report
    2
    3
    29
    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.
    • N
      Nicola_cascella last edited by

      Hi everyone, I’m facing an issue with my Bagisto installation.

      Sporadically, in the admin panel, while navigating through the pages, there are moments when I'm unable to access certain sections. When I click on some pages, it doesn’t let me enter — instead, it redirects me back to the main dashboard.

      I really can’t figure out why this is happening. It feels like I’m not authorized to access some pages, even though I should be.
      I’d like to understand what could be causing this issue and how I can prevent it from happening again.

      Thanks in advance for your help!

      N 1 Reply Last reply Reply Quote 0
      • N
        Nicola_cascella @Nicola_cascella last edited by

        @Nicola_cascella Hi everyone, I continued testing and debugging the issue, and it seems to be related to browser caching.

        On the browser that had the problem, it still happens; meanwhile, on another browser using the same user at the same time, it works fine. Also, in incognito mode on the problematic browser, the issue disappears.

        So I suspected it was a browser cache problem.
        At that point, I opened DevTools and disabled the cache from the Network panel — and the problem went away. Even after re-enabling the cache, the problem did not return immediately. But if I let the browser run for an indefinite amount of time, the problem comes back.

        In conclusion, I think this is the cause.
        Has anyone else experienced the same problem? Did you find a solution? Or is there a Bagisto maintainer who knows what might be causing this?

        Thanks in advance!

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

          Hello @Nicola_cascella

          Its a general behaviour of every websites that cache get stored.

          For this you can clear your website cache by running the command

          php artisan optimize:clear

          Warm Regards
          Team Bagisto

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