• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
339
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 14 Feb 2022, 04:47

    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 15 Feb 2022, 04:15

      Have you run php artisan optimize after registering any route.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post