PHP报不存在图像文件,使用TP3.2.3图片文件上传显示不存在图像文件

:(

不存在的图像文件

错误位置

FILE: D:\wamp64\www\c2\ThinkPHP\Library\Think\Image\Driver\Gd.class.php  LINE: 42

TRACE

#0 D:\wamp64\www\c2\ThinkPHP\Library\Think\Image\Driver\Gd.class.php(42): E('\xE4\xB8\x8D\xE5\xAD\x98\xE5\x9C\xA8\xE7\x9A\x84\xE5\x9B\xBE...')

#1 D:\wamp64\www\c2\ThinkPHP\Library\Think\Image.class.php(79): Think\Image\Driver\Gd->open('Uploads/')

#2 D:\wamp64\www\c2\Application\Admin\Model\GoodsModel.class.php(58): Think\Image->open('Uploads/')

#3 D:\wamp64\www\c2\ThinkPHP\Library\Think\Model.class.php(316): Admin\Model\GoodsModel->_before_insert(Array, Array)

#4 D:\wamp64\www\c2\Application\Admin\Controller\GoodsController.class.php(21): Think\Model->add(Array)

#5 [internal function]: Admin\Controller\GoodsController->add()

#6 D:\wamp64\www\c2\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Admin\Controller\GoodsController))

#7 D:\wamp64\www\c2\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Admin\Controller\GoodsController), 'add')

#8 D:\wamp64\www\c2\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()

#9 D:\wamp64\www\c2\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()

#10 D:\wamp64\www\c2\ThinkPHP\ThinkPHP.php(97): Think\Think::start()

#11 D:\wamp64\www\c2\wwwroot\index.php(24): require('D:\\wamp64\\www\\c...')

#12 {main}

3e04b3c17dd92e09a96c927ac42583b7.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值