THẢO LUẬN

Mình bị lỗi này fix mãi ko đc. Giúp mình với!!! Please make sure the PHP Redis extension is installed and enabled.

0
thg 3 2, 2020 6:44 SA

Tự tạo bằng tay nha e

0
thg 3 2, 2020 5:59 SA
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        //
    ];

    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        // $schedule->command('inspire')
        //          ->hourly();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}

Cũng có thể ở version 6.2 nó không hỗ trợ nhỉ

0

query như nào v ạ 😦 nói rõ hơn được k ad

0

Dùng fish có ưu điểm gì vượt trội hơn không anh?

0
thg 3 2, 2020 4:08 SA

bạn đưa nội dung file này lên mình xem nào

App\Console\Kernel
0

Ok b Tele: anhntt1176

0

Tool chết rồi bạn ơi

0
thg 3 2, 2020 3:19 SA

Những bài viết của tester cho dev =)) Chỉ trans từ eng --> vi chứ có hiểu cái mẹ gì đâu. Càng ngày càng nhiều những bài kém chất lượng. Đăng cho đủ số lượng hả?

0
thg 3 2, 2020 2:50 SA

Mình sử dụng laravel 6.2
khi chạy câu lệnh php artisan vue-i18n:generate thì ra lỗi như bên dưới.
php artisan vue-i18n:generate PHP Fatal error: Cannot declare class App\Console\Kernel, because the name is already in use in D:\research\src\vietoffshore\app\Console\Kernel.php on line 42

Symfony\Component\Debug\Exception\FatalErrorException : Cannot declare class App\Console\Kernel, because the name is already in use

at D:\research\src\vietoffshore\app\Console\Kernel.php:42 $this->load(DIR.'/Commands');

   require base_path('routes/console.php');
 }

}

Whoops\Exception\ErrorException : Cannot declare class App\Console\Kernel, because the name is already in use

at D:\research\src\vietoffshore\app\Console\Kernel.php:42 $this->load(DIR.'/Commands');

      require base_path('routes/console.php');
    }

}

Exception trace:

1 Whoops\Run::handleError("Cannot declare class App\Console\Kernel, because the name is already in use", "D:\research\src\vietoffshore\app\Console\Kernel.php") D:\research\src\vietoffshore\vendor\filp\whoops\src\Whoops\Run.php:408

2 Whoops\Run::handleShutdown() [internal]:0
có ai bị thế không vậy, chỉ mình các fix với

0
thg 3 2, 2020 1:49 SA

Cảm ơn bạn vì bài viết, các thông tin rất hữu ích, có điều nhiều chỗ sai chính tả chút ^^

0
Avatar
đã bình luận cho bài viết
thg 3 1, 2020 4:02 CH

sss.jpg Cho em hỏi tạo file này dùng lệnh gì ạ, nếu tự tạo thì laravel vậy tự hiểu không ạ

0
thg 3 1, 2020 1:21 CH

Bạn ơi. Chỗ này làm thế nào vậy bạn?Screenshot_2020-03-01-20-18-47-16.png

0
thg 3 1, 2020 1:17 CH

Bạn ơi. Cho tui hỏi file run_app.py là mình lấy 2 thông số trong ảnh điền vô 2 thông số trong file run_app.py hả bạn?Screenshot_2020-0Screenshot_2020-03-01-20-14-56-82.png3-01-20-14-56-82.png

0
Avatar
đã bình luận câu trả lời trong câu hỏi
thg 3 1, 2020 4:01 SA

@thosanmaytinh index hết rồi, like thì không thể bỏ, join cũng không thể bỏ để dùng where bắt buộc phải dùng selfjoin, filesort với tmp mình cũng đọc rồi nhưng không làm mất đc vì câu query không viết khác được.

0
thg 2 29, 2020 9:24 CH

bài viết rất hay ạ. học hỏi được rất nhiều từ anh. nhưng đợi mãi vẫn chưa thấy phần tiếp theo ạ

0

A đã từ bỏ zsh và dùng fish 😄

+1
thg 2 29, 2020 2:18 CH

ui, e cũng đang coi video bên KhoaPham 😦

0

Thanks bạn. Mình nghĩ bài viết này khá thích hợp cho các bạn mới tiếp cận công nghệ Blockchain

0
Viblo
Hãy đăng ký một tài khoản Viblo để nhận được nhiều bài viết thú vị hơn.
Đăng kí