laravel更新代码后异常include(_$PATH_): failed to open stream: No such file or directory
摘要:vendor\composer\ClassLoader.php:444 440| * Prevents access to $this/self from included files. 解决办法:执行 composer dump-autoload 更新上面的文件
阅读全文
已解决 : VMware Workstation 与 Hyper-V 不兼容。请先从系统中移除 Hyper-V 角色
摘要:问题描述 最近项目用到了docker,电脑重装了系统(win10企业版),开启了Hyper-V。 但是再想使用VM就杯具了 网上的解决方案就是再关掉Hyper-V重启,亲测无效。 问题解决 以管理员身份(win + x)运行命令提示符; 执行命令:bcdedit /set hypervisorlau
阅读全文
解决Can 't connect to local MySQL server through socket 'tmp/mysql.sock '(2) ;
摘要:查看mysql.sock是否存在 如果能找到,做一个软连接到/tmp下 ./mysqld --defaults-file=/etc/my.cnf --user=root & 解决过程
阅读全文
ThinkPHP6验证码显示不全问题?????
摘要:> 多应用下配置无效,设置长度为4,但是只显示2位 前端代码部分 ```html ``` PHP代码部分 ```php class Verify { public function index() { return Captcha::create('admin_login'); } } ``` `c
阅读全文
ThinkPHP6验证码显示不全问题
摘要:> 多应用下配置无效,设置长度为4,但是只显示2位 前端代码部分 ```html ``` PHP代码部分 ```php class Verify { public function index() { return Captcha::create('admin_login'); } } ``` `c
阅读全文
LayUI中分页组件:点击分页又自动跳转到第一页的问题
摘要:### 官方文档 ```JavaScript laypage.render({ elem: 'id', count: 70, // 数据总数,从后端得到 jump: function(obj, first){ console.log(obj.curr); // 得到当前页,以便向服务端请求对应页的数
阅读全文
ThinkPHP6实现success函数和error函数
摘要:> 因为版本原因,TP6的`think\Controller`类取消 ```php /** * 操作成功跳转的快捷方法 * @access protected * @param mixed $msg 提示信息 * @param string $url 跳转的URL地址 * @param string
阅读全文