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