阿星

阿星

这家伙有点懒,还没写个性签名!

  • 财富值245
  • 威望值0
  • 总积分315

个人信息

  • 回复了 的回答

    楼主不懂markdown语法吗?我已经帮你重新编辑了,以后请注意!

    恩恩 好 新人不懂 以后还望多指教,谢谢!

  • 2015-07-27 已签到
    连续签到2天,获得了10个金钱
  • 2015-07-26 已签到
    连续签到1天,获得了5个金钱
  • 回复了 的回答

    把重要方法和数据放到动态扩展里

    动态扩展是指哪个?我看了yii官方文档,上面有讲扩展的地方,是自己安装某某扩展的,然后我还不懂动态扩展是什么,是自定义的扩展?还是yii中提供的扩展中的一个?

  • 2015-07-22 已签到
    连续签到3天,获得了15个金钱
  • 回复了 的回答

    把你的域名换成127.0.0.1试试

    哦哦,行了行了,换成127.0.0.1就直接好了,刚一不小心把127.0.0.1后面的漏掉才不行的,谢谢你啦~~这个问题终于解决了,啊,好开心呀。嘿嘿。

  • 回复了 的回答

    把你的域名换成127.0.0.1试试

    换了还是什么都没,我现在把一切又回到了最原始的,所以可以麻烦你和我说下一步一步要怎么设置吗?我现在不明白它到底要不要设置了,看文档它好像是说直接输那个url就能出来那个页面的,可是我的是什么都没出来,就白白的一个页面,连错误信息什么的都没。

  • 回复了 的回答

    你检查一下,你的gii模块代码是否存在,不存在的话,去下载一个呗,

    怎么看gii模块代码是否存在哒,是在vendor/yiisoft/yii2-gii下的Module.php吗?

    /**
     * This is the main module class for the Gii module.
     *
     * To use Gii, include it as a module in the application configuration like the following:
     *
     * ~~~  
     *  return [
     *     'bootstrap' => ['gii'],
     *     'modules' => [
     *        'gii' => ['class' => 'yii\gii\Module'],
     *     ],
     * ]
     * ~~~
     *
     * Because Gii generates new code files on the server, you should only use it on your own
     * development machine. To prevent other people from using this module, by default, Gii
     * can only be accessed by localhost. You may configure its [[allowedIPs]] property if
     * you want to make it accessible on other machines.
     *
     * With the above configuration, you will be able to access GiiModule in your browser using
     * the URL `http://localhost/path/to/index.php?r=gii`
     *
     * If your application enables [[\yii\web\UrlManager::enablePrettyUrl|pretty URLs]],
     * you can then access Gii via URL: `http://localhost/path/to/index.php/gii`
     *
     * @author Qiang Xue <qiang.xue@gmail.com>
     * @since 2.0
     */
    

    那个php文件里这段话是注释的,我有试过把那段return部分的注释去掉,可是还是没能直接输入那个url打开gii的那个页面

见习主管 等级规则
315/500
资料完整度
10/100
用户活跃度
0/100

Ta的关注

2

Ta的粉丝

5

Ta的访客

10