Bagisto Forum

    Bagisto

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

    Artisan Command in routes not working

    General Discussion
    routes artisan command url
    2
    2
    303
    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.
    • R
      raihan83 last edited by

      Hi,
      In this sub domain(shop.raihantechbd.com) install Bagisto.
      /home/eshawghe/shop.raihantechbd.com/routes/web.php i use this code
      Route::get('/config-clear', function() {
      Artisan::call('config:clear');
      return 'Configuration cache cleared!';
      });
      Route::get('/config-cache', function() {
      Artisan::call('config:cache');
      return 'Configuration cache cleared!';
      });
      But when i visit www.shop.raihantechbd.com/public/config-clear then
      this error message show"Page lost content
      The page you're looking for isn't available."
      Please help me.
      Bagisto version: 1.3.2

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Have you run php artisan optimize after registering any route.

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