Git Product home page Git Product logo

easy-admin's Issues

作者辛苦了,但是bug非常多,很多地方写的不是很严谨。

[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 行.

关于目录安全

你好,首先很感谢你开源你的项目,刚好最近我也用thinkphp做一个个人项目,easyAdmin给我了许多参考。
有个小问题:你似乎没考虑目录安全问题,在windows+wamp环境下(linux环境没有测试过这个问题),比如可以直接访问目录http://localhost/easy-admin/Admin/ ,看到该目录下的文件。官方有相应的解决方案http://doc.thinkphp.cn/manual/dir_secure.html 不过我感觉不是很优雅,不知道你有没什么好的方案。
多谢了。

安装后进入管理台提示错误

{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 ]

模型选择问题

如果模型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 '';

}

....

在安装向导中,点击创建数据库之后,就一直处于安装中状态,像是死掉了一样永远在安装中,这是怎么回事?

请教个问题 关于内置模型的调用

我在model_menu.PHP里 在About模型里添加了member模型的子菜单 访问的时候提示页面不存在 我该怎么在一个模型里调用一个内置模型呢?

firefox兼容性问题

hi,发现一个firefox兼容性问题,我看到页面是通过layout include js文件,在firefox浏览器中无法加载这些js,但也页面源码有些js信息

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.