happen-zhang / easy-admin Goto Github PK
View Code? Open in Web Editor NEWA simple system which generates content with curd management.
License: MIT License
A simple system which generates content with curd management.
License: MIT License
对现有的数据库生成模型,然后菜单生成后无法进入
[2048] Only variables should be passed by reference E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 252 行.
[2048] Only variables should be passed by reference E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 252 行.
[2048] Only variables should be passed by reference E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 252 行.
[2048] Only variables should be passed by reference E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 252 行.
[2048] Only variables should be passed by reference E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 252 行.
[2] Missing argument 2 for Home\Controller\CommonController::getPagination(), called in E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\AdminsController.class.php on line 14 and defined E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 132 行.
[2] Missing argument 3 for Home\Controller\CommonController::getPagination(), called in E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\AdminsController.class.php on line 14 and defined E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 132 行.
[2] Missing argument 4 for Home\Controller\CommonController::getPagination(), called in E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\AdminsController.class.php on line 14 and defined E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 132 行.
[8] Undefined variable: where E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 135 行.
[4096] Argument 1 passed to Home\Service\CommonService::getCount() must be an array, null given, called in E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php on line 135 and defined E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Service\CommonService.class.php 第 13 行.
[2] Missing argument 3 for Org\Util\Page::__construct(), called in E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php on line 137 and defined E:\APMServ5.2.6\www\htdocs\easy-admin\ThinkPHP\Library\Org\Util\Page.class.php 第 46 行.
[8] Undefined variable: where E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 140 行.
[8] Undefined variable: fields E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 141 行.
[8] Undefined variable: order E:\APMServ5.2.6\www\htdocs\easy-admin\Admin\Home\Controller\CommonController.class.php 第 142 行.
[8] Use of undefined constant current_account - assumed 'current_account' E:\APMServ5.2.6\www\htdocs\easy-admin\Cache\Runtime\Admin\Cache\Home\ec9fcc9c36ea64add016325e9b051079.php 第 67 行.
[8] Use of undefined constant email - assumed 'email' E:\APMServ5.2.6\www\htdocs\easy-admin\Cache\Runtime\Admin\Cache\Home\ec9fcc9c36ea64add016325e9b051079.php 第 67 行.
我用的系统是ubuntu 14.04 + nginx + mysql,安装完成后登陆一直显示验证码错误,但是验证码绝对没错,试了二十多次还是无法登陆
你好,首先很感谢你开源你的项目,刚好最近我也用thinkphp做一个个人项目,easyAdmin给我了许多参考。
有个小问题:你似乎没考虑目录安全问题,在windows+wamp环境下(linux环境没有测试过这个问题),比如可以直接访问目录http://localhost/easy-admin/Admin/ ,看到该目录下的文件。官方有相应的解决方案http://doc.thinkphp.cn/manual/dir_secure.html 不过我感觉不是很优雅,不知道你有没什么好的方案。
多谢了。
分页的html封装在getPagination里,没有拼接url参数,改的很累啊
{NOLAYOUT}
:(
syntax error, unexpected '['
错误位置
FILE: C:\wamp\www\easy-admin\Admin\Home\Controller\CommonController.class.php LINE: 132
ThinkPHP3.2.1 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]
建议不要改动TP核心框架,免得不好升级框架
模型建设完成之后怎么调用表单呀, 在哪里查看这个模型下的列表数据呢
作者不更新了吗?
如果模型aaa
再建立一个模型xxx_aaa
选中模型aaa的时候xxx_aaa会同时选中
我修改了helper.php这样能解决,不知道是否有考虑不周的
function activedLink($controller_name, $action_name, $style) {
if (isset($action_name)
&& (false !== strpos($controller_name, CONTROLLER_NAME))
&& ACTION_NAME == $action_name) {
return $style;
}
if (!isset($action_name)
&& ($controller_name==CONTROLLER_NAME)) {
return $style;
}
return '';
}
建立了一个模型,完全不知道在哪里CURD这个模型。
在安装向导中,点击创建数据库之后,就一直处于安装中状态,像是死掉了一样永远在安装中,这是怎么回事?
除了图片 大部分类型的文件无法使用文件上传 问题出在哪?
按照配置添加菜单选项,添加之后,点击新的菜单页面,导致顶部菜单消失啊!
没懂没什么每个函数都要return $this->successReturn或者errorReturn才行
就是我把代码放到远程服务器,然后用本地浏览器打开,可以完成安装功能,但是有关,角色添加,管理员添加,还有模型添加,点按提交按钮没有反应。我在想是不是 这个函数的问题commonAjaxSubmit(url);。
可否内置一个地区选择的字段类型
我在model_menu.PHP里 在About模型里添加了member模型的子菜单 访问的时候提示页面不存在 我该怎么在一个模型里调用一个内置模型呢?
如果是支持php5.3起的话,里面数组的写法不该写成5.4后的新写法吧? 如果定了支持的php版本后,建议统一用一种写法
hi,发现一个firefox兼容性问题,我看到页面是通过layout include js文件,在firefox浏览器中无法加载这些js,但也页面源码有些js信息
数据库连接失败,但是我的数据库连接没有问题啊。
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.