ThinkPHP中Xheditor编辑器报错

时间:2022-09-16 20:09:02

在使用Xheditor这个插件时..我按照他里面的domo中的方法放到自己的控制器中..出现如下问题

以下是我节选的错误提示

/index.php/admin/goods/upload/ 上传接口发生错误!

[2] unlink(D:\xampp\tmp\php4601.tmp): No such file or directory D:\xampp\htdocs\tpnew\Application\Admin\Controller\GoodsController.class.php 第 228 行.

经过实验..原来是ThinkPHP开启了配置项中的

'SHOW_PAGE_TRACE' => true,

就会报错

如果还不能解决问题的同学..可以尝试关闭其他配置试试