第二种安装方式后报错:
Warning: require(D:\xampps\htdocs\laravel02\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampps\htdocs\laravel02\public\index.php on line 24
Warning: require(D:\xampps\htdocs\laravel02\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampps\htdocs\laravel02\public\index.php on line 24
2017-10-06
创建字段时,记得删掉原有的$table->timestamps(); 保留这个方法会默认创建created_at 和 updated_at字段,无需手动创建
2017-10-06
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (S
QL: alter table `users` add unique `users_email_unique`(`email`))
出现这个错误请参照1楼的做法
QL: alter table `users` add unique `users_email_unique`(`email`))
出现这个错误请参照1楼的做法
2017-10-06
和 NPM 很像,我是前端过来学后端,发现有些地方太相似了。
掌握命令行操作很重要,每次看我们技术老大操作命令行都是一种享受,6的飞起。
掌握命令行操作很重要,每次看我们技术老大操作命令行都是一种享受,6的飞起。
2017-10-05
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>]...
显示了这些
2017-10-02
php artisan make:controller IndexConroller
[RuntimeException]
Unable to detect application namespace.
[RuntimeException]
Unable to detect application namespace.
2017-09-28