laravel-admin 报错 Disk [admin] not configured, please add a disk config in `config/filesystems.php`.
在config/filesystems.php中添加:
'disks' => [
'local' => [
        'driver' => 'local',
        'root' => storage_path('app'),
    ],
'public' => [
        'driver' => 'local',
        'root' => storage_path('app/public'),
        'url' => env('APP_URL').'/storage',
        'visibility' => 'public',
    ],
's3' => [
        'driver' => 's3',
        'key' => env('AWS_KEY'),
        'secret' => env('AWS_SECRET'),
        'region' => env('AWS_REGION'),
        'bucket' => env('AWS_BUCKET'),
    ],
    'admin' => [
        'driver'     => 'local',
        'root'       => public_path('upload'),
        'visibility' => 'public',
        'url' => env('APP_URL').'/public/upload/',
    ],
],
原文:https://blog.csdn.net/guaiguaiknl/article/details/80332337
config/admin.php
config/filesystem.php

laravel-admin 报错 Disk [admin] not configured, please add a disk config in `config/filesystems.php`.的更多相关文章
- elasticsearch报错:None of the configured nodes are available: []
		问题:在内网测试的时候可以正常访问,但是部署到外网上客户端连接elasticsearch报错:None of the configured nodes are available: [] 原因:默认情 ... 
- git报错:fatal: No configured push destination.
		本地仓库代码(git push)上传git仓库报错: fatal: No configured push destination. Either specify the URL from the co ... 
- Laravel 5.5 迁移报错:General error: 1215 Cannot add foreign key constraint
		问题 之前一直用的 Laravel 5.4,数据库也是直接写 sql 的,感觉可定制性更强,顺便锻炼下 sql.这次改用了 Laravel 5.5,索性用迁移建库试试,结果报错如下: SQLSTATE ... 
- laravel 下载报错:Unable to guess the mime type as no guessers are available
		在使用laravel的download()函数实现下载功能时,报错如下:Unable to guess the mime type as no guessers are available (Did ... 
- laravel groupby 报错
		报错信息 laravel which is not functionally dependent on columns in GROUP BY clause; this is incompatible ... 
- laravel Tinker报错  BadMethodCallException with message 'Call to undefined method Illuminate\Database\Query\Builder
		进行模型关联操作, php artisan tinker 执行 $user = App\Models\User::find(1) $user->followings()->attach([ ... 
- 【spring cloud】spring cloud中启动eureka集群时候,发生端口已经绑定的报错The Tomcat connector configured to listen on port 8000 failed to start. The port may already be in use or the connector may be misconfigured.
		在分别设置 进行微服务eureka集群启动时候,执行命令行启动jar包时候,报错前面一个端口8000已经被使用,而我这里启动的配置文件中端口号是8001,怎么会导致端口冲突呢?? 但是报错我的端口冲突 ... 
- Android报错:WindowManager$BadTokenException: Unable to add window -- window has already been added
		很久之前测试通过的代码,现在手机升级了Android7.0后一运行就崩溃,报出这样的错误,具体错误如下: Process: com.example.sho.android_anti_theft, PI ... 
- tornado接收ajax的post请求报错WARNING:tornado.access:405 OPTIONS /add
		后端报错信息 WARNING:tornado.access:405 OPTIONS /add (::1) 1.00m 前端报错信息 2xhr.js?ec6c:172 OPTIONS http://lo ... 
随机推荐
- 关于Synthesis
			1,当追求面积最小时 会以牺牲Fmax为代价,可以使用一下setting: fit_pack_for_density=on fit_report_lab_usage_stats=on 可在 .qsf ... 
- call和apply的应用
			相同点 都能够改变方法的执行上下文(执行环境),将一个对象的方法交给另一个对象来执行,并且是立即执行 var arrayLike = { 0: 'item1', 1: 'item2', 2: 'ite ... 
- IOS学习笔记56-IOS7状态栏适配方法一
			近期由于IOS7的发布,所以应用的适配潮可谓是都搞的锣鼓喧天,甚是热闹,因此呢,因适配IOS7而产生的问题也是铺天盖地的卷来,所以了,我也从简单的状态栏适配开始,先研究了下关于状态栏的适配,特总结如下 ... 
- 用maven创建Spring MVC项目
			用maven创建Spring MVC项目 mvn archetype:generate -DgroupId=fry-arthur -DartifactId=spring-mvc-study -Darc ... 
- VS2010-MFC(MFC应用程序框架分析)
			转自:http://www.jizhuomi.com/software/145.html 一.SDK应用程序与MFC应用程序运行过程的对比 程序运行都要有入口函数,在之前的C++教程中都是main函数 ... 
- VUX的使用方法(以弹出框为例)
			一.安装 cnpm install vux --save cnpm install vux-loader --save-dev 二.配置 const vuxLoader = require('vux- ... 
- Windows下运行Tomcat闪退问题
			直接双击startup.bat后闪退,可能的原因是tomcat的配置没有完全正确 完整的tomcat的配置应该配置: 1.JAVA_HOME 2.CATALINA_HOME 3.Path:%CATAL ... 
- 07_springmvc校验
			一.概述 项目中,通常使用较多是前端的校验,比如页面中js校验.对于安全要求较高点建议在服务端进行校验. 服务端校验: 控制层conroller:校验页面请求的参数的合法性.在服务端控制层conrol ... 
- Spring容器管理各种文件
			1. 导入文件 <import resource="applicationContext-dataSource.xml" /> 2. 引用资源配置文件 <cont ... 
- NoSQL 列族数据库
