big-pang / laravel5.2-admin Goto Github PK
View Code? Open in Web Editor NEW基于laravel5.2的开箱即用后台,权限,面包线,日志等都是开箱即用
基于laravel5.2的开箱即用后台,权限,面包线,日志等都是开箱即用
laravel5.2-Admin-master\app\Listeners\permChangeListener.php line 60:
报错如下Undefined offset: 23
视图路径在controller里,有些首字母大写,有些没有。
在views目录下,有些目录也是不一样的。
统一一下比较好吧。个人想法。
PermissionController.php 的create方法里给cid声明了不存在的int类型。
php artisan optimize
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'master.permissio
ns' doesn't exist (SQL: select * from permissions
)
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'master.permissio
ns' doesn't exist
Script php artisan optimize handling the post-install-cmd event returned with er
ror code 1
ErrorException in C:\Users\��ɽ\Desktop\Laravel����\���Կ���Դ��\laravel5.2-Admin-master\app\Listeners\permChangeListener.php line 60:
Undefined offset: 20
这是因为没有对应的路由?
Base table or view not found: 1146 Table 'gewuxy.permissions' doesnot exists
entrust_setup_tables 中创建 permissions 有两个主键,把cid改成$table->integer('cid');
第27行$router->group(['namespace' => 'Admin', 'middleware' => ['auth','authAdmin','menu']], function () {
,authAdmin是否应与menu互换,否则当用户没有权限时返回的403页面中没有menu。会报错
数据库缺少脚本,比如:wish_daysales_temp表等
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.