李东涛

李东涛

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

  • 财富值85
  • 威望值0
  • 总积分145

个人信息

  • 回复了 的评论

    新手刚刚学习,请问jquery-ui应该放在哪里呢

    vendor/bower

  • 回复了 的评论

    https://github.com/liucunzhou/yii2-ueditor
    这个是小弟写的百度编辑器扩展。

    有什么特色呢?怎么获取getFileInfo()返回的json?

  • 回复了 的评论
    Warning: require(F:\Web\website\test_yii\basic\frontend\web/../../vendor/autoload.php): failed to open stream: No such file or directory in F:\Web\website\test_yii\basic\frontend\web\index.php on line 5
    Call Stack
    
    Fatal error: require(): Failed opening required 'F:\Web\website\test_yii\basic\frontend\web/../../vendor/autoload.php' (include_path='.;C:\php\pear') in F:\Web\website\test_yii\basic\frontend\web\index.php on line 5
    

    求解。。。

    F:\Web\website\test_yii\basic\frontend\web\index.php on line 5 这句出错就是Apache服务器不允许执行 require(__DIR__ . '/../../vendor/autoload.php'); 其实也就是不允许执行require这句,apache配置文件。xx.com.conf中是否是这样的?php_admin_value open_basedir "/home/www/xx.com/frontend/web:/tmp/:/var/tmp/:/proc/" ?如果是,恭喜你,原因找到了,这里限定了打开目录仅限于web目录,改成 php_admin_value open_basedir "/home/www/xx.com:/tmp/:/var/tmp/:/proc/ 就ok。

  • 回复了 的评论
    Warning: require(F:\Web\website\test_yii\basic\frontend\web/../../vendor/autoload.php): failed to open stream: No such file or directory in F:\Web\website\test_yii\basic\frontend\web\index.php on line 5
    Call Stack
    
    Fatal error: require(): Failed opening required 'F:\Web\website\test_yii\basic\frontend\web/../../vendor/autoload.php' (include_path='.;C:\php\pear') in F:\Web\website\test_yii\basic\frontend\web\index.php on line 5
    

    求解。。。

    apache出错,重装Apache问题就解决了

  • 回复了 的评论

    Response content must not be an array

    Yii::$app->response->format=Response::FORMAT_JSON; 加这一句就好了

  • Response content must not be an array

  • 回复了 的回答

    这编辑器还不如百度编辑器好使呢

    比百度好用的多

  • 赞了回答

    这编辑器还不如百度编辑器好使呢

  • 能不能详细点。

  • 回复了 的回答

    举个例子
    目录A 是谷歌
    目录B 是必应
    域名都是 www.aaa.com 那么你访问的是哪个?程序无法确定对吧。
    所以,推荐做法是
    www.aaa.com 指向你的前台目录
    back.aaa.com 指向你的后台目录

    软链接,很容易,也很有趣

助理 等级规则
145/200
资料完整度
10/100
用户活跃度
0/100

Ta的关注

1

Ta的粉丝

0

Ta的访客

1