tinywan/storage 单个文件上传显示文件数量过多

aimuc

截图
截图
截图
截图

报错信息

Tinywan\Storage\Exception\StorageException: 文件数量过多,超出系统文件数量限制 in /data/webman/vendor/tinywan/storage/src/Adapter/AdapterAbstract.php:197
Stack trace:
#0 /data/webman/vendor/tinywan/storage/src/Adapter/AdapterAbstract.php(149): Tinywan\Storage\Adapter\AdapterAbstract->allowedFileSize()
#1 /data/webman/vendor/tinywan/storage/src/Adapter/AdapterAbstract.php(93): Tinywan\Storage\Adapter\AdapterAbstract->verify()
#2 /data/webman/vendor/tinywan/storage/src/Storage.php(77): Tinywan\Storage\Adapter\AdapterAbstract->__construct()
#3 /data/webman/app/controller/Index.php(44): Tinywan\Storage\Storage::config()
#4 /data/webman/vendor/workerman/webman-framework/src/App.php(255): app\controller\Index->uploadImg()
#5 /data/webman/vendor/webman/cors/src/CORS.php(12): Webman\App::Webman\{closure}()
#6 /data/webman/vendor/workerman/webman-framework/src/App.php(250): Webman\Cors\CORS->process()
#7 /data/webman/vendor/workerman/webman-framework/src/App.php(135): Webman\App::Webman\{closure}()
#8 /data/webman/vendor/workerman/workerman/Connection/TcpConnection.php(638): Webman\App->onMessage()
#9 [internal function]: Workerman\Connection\TcpConnection->baseRead()
#10 /data/webman/vendor/workerman/workerman/Events/Event.php(193): EventBase->loop()
#11 /data/webman/vendor/workerman/workerman/Worker.php(2465): Workerman\Events\Event->loop()
#12 /data/webman/vendor/workerman/workerman/Worker.php(1574): Workerman\Worker->run()
#13 /data/webman/vendor/workerman/workerman/Worker.php(1416): Workerman\Worker::forkOneWorkerForLinux()
#14 /data/webman/vendor/workerman/workerman/Worker.php(1390): Workerman\Worker::forkWorkersForLinux()
#15 /data/webman/vendor/workerman/workerman/Worker.php(1722): Workerman\Worker::forkWorkers()
#16 /data/webman/vendor/workerman/workerman/Worker.php(1660): Workerman\Worker::monitorWorkersForLinux()
#17 /data/webman/vendor/workerman/workerman/Worker.php(559): Workerman\Worker::monitorWorkers()
#18 /data/webman/vendor/webman/console/src/Application.php(113): Workerman\Worker::runAll()
#19 /data/webman/vendor/webman/console/src/Commands/StartCommand.php(32): Webman\Console\Application::run()
#20 /data/webman/vendor/symfony/console/Command/Command.php(291): Webman\Console\Commands\StartCommand->execute()
#21 /data/webman/vendor/symfony/console/Application.php(998): Symfony\Component\Console\Command\Command->run()
#22 /data/webman/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
#23 /data/webman/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#24 /data/webman/webman(44): Symfony\Component\Console\Application->run()
#25 {main} [] []
1326 2 1
2个回答

aimuc

替换到2.2版本后正常

  • 暂无评论
Tinywan

感谢反馈,该Bug已修复。请升级到最新版本 v0.3.4https://github.com/Tinywan/webman-storage/commit/0867631bbd1731658ac745481131ef93415cdf62

  • 暂无评论
年代过于久远,无法发表回答
×
🔝