php7.1版本報錯
Do not run Composer as root/super user! See https://getcomposer.org/root for details
增加用戶運行composer命令也不行
Do not run Composer as root/super user! See https://getcomposer.org/root for details
增加用戶運行composer命令也不行
2018-01-09
Mail::raw('隊列測試',function($message){
$message->to($this->email);
});
沒有報failed,但是一直不停這樣顯示。
[2018-01-06 12:43:08] Processing: App\Jobs\SendMail
[2018-01-06 12:43:09] Processing: App\Jobs\SendMail
[2018-01-06 12:43:11] Processing: App\Jobs\SendMail
$message->to($this->email);
});
沒有報failed,但是一直不停這樣顯示。
[2018-01-06 12:43:08] Processing: App\Jobs\SendMail
[2018-01-06 12:43:09] Processing: App\Jobs\SendMail
[2018-01-06 12:43:11] Processing: App\Jobs\SendMail
2018-01-06
第二種發送方式報錯Swift_TransportException (553)
Expected response code 250 but got code "553", with message "553 Mail from must equal authorized user "
Expected response code 250 but got code "553", with message "553 Mail from must equal authorized user "
2018-01-06
找到App/Providers/AppServiceProviders.php
添加use Illuminate\Support\Facades\Schema;
和
public function boot()
{
//
Schema::defaultStringLength(191);
}
重新執行php artisan migrate(如果先前執行過會報錯,請先把localhost里的數據表刪除,再執行)
添加use Illuminate\Support\Facades\Schema;
和
public function boot()
{
//
Schema::defaultStringLength(191);
}
重新執行php artisan migrate(如果先前執行過會報錯,請先把localhost里的數據表刪除,再執行)
2018-01-06
composer config -g repo.packagist
找不到啊
[InvalidArgumentException]
There is no packagist repository defined
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
找不到啊
[InvalidArgumentException]
There is no packagist repository defined
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
2018-01-06
推薦全局 composer config -g repo.packagist composer https://packagist.phpcomposer.com
2018-01-03
$arr = array('LIST'=>$_REQUEST);
Log::error('這是一個數組',$arr);
結果如下[2017-12-21 11:36:08] local.ERROR: 這是一個數組 {"LIST":[]}
LOG日志不能打印系統變量數組
Log::error('這是一個數組',$arr);
結果如下[2017-12-21 11:36:08] local.ERROR: 這是一個數組 {"LIST":[]}
LOG日志不能打印系統變量數組
2017-12-21
windows直接報下面的錯誤 file_put_contents(D:\Web\laravel01\storage\app/ups\2017-12-13 11:20:07-5a310ce721afd.txt): failed to open stream: No such file or directory,說沒有這個文件或者目錄,但是ups這個目錄可以生成
2017-12-13