Millegz
Private
- Tham gia
- 21/11/2020
- Bài viết
- 16
- Được Like
- 0
Hiện tại mình đang thử web, nhưng khi mình upload ảnh hoặc file bất kì thì bị lỗi, không thể up được.
Ngoài ra mình có thấy thông báo lỗi như thế này :
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] str...', '/home/vhosts/ww...', 159, Array)
#1 src/vendor/league/flysystem/src/Adapter/Local.php(159): stream_copy_to_stream(Resource id #132, Resource id #133)
#2 src/vendor/league/flysystem/src/Filesystem.php(122): League\Flysystem\Adapter\Local->writeStream('sitemaps/temp-s...', Resource id #132, Object(League\Flysystem\Config))
#3 [internal function]: League\Flysystem\Filesystem->putStream('sitemaps/temp-s...', Resource id #132, Object(League\Flysystem\Config))
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent:utStre...', Array)
#5 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('putStream', Array)
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(71): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('putStream', Array)
#7 src/vendor/league/flysystem/src/MountManager.php(615): League\Flysystem\EventableFilesystem\EventableFilesystem->putStream('sitemaps/temp-s...', Resource id #132, Array)
#8 src/XF/Util/File.php(185): League\Flysystem\MountManager->putStream('sitemaps/temp-s...', Resource id #132, Array)
#9 src/XF/Sitemap/Builder.php(409): XF\Util\File::copyFileToAbstractedPath('/home/vhosts/ww...', 'internal-data:/...')
#10 src/XF/Sitemap/Builder.php(85): XF\Sitemap\Builder->saveTempFile()
#11 src/XF/Job/Sitemap.php(25): XF\Sitemap\Builder->build(7.99475)
#12 src/XF/Job/Manager.php(258): XF\Job\Sitemap->run(7.99475)
#13 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 7.99475)
#14 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 7.99475)
#15 job.php(43): XF\Job\Manager->runQueue(false, 8)
#16 {main}
Xin hỏi các cao nhân có cách nào khắc phục không ạ ?
Ngoài ra mình có thấy thông báo lỗi như thế này :
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] str...', '/home/vhosts/ww...', 159, Array)
#1 src/vendor/league/flysystem/src/Adapter/Local.php(159): stream_copy_to_stream(Resource id #132, Resource id #133)
#2 src/vendor/league/flysystem/src/Filesystem.php(122): League\Flysystem\Adapter\Local->writeStream('sitemaps/temp-s...', Resource id #132, Object(League\Flysystem\Config))
#3 [internal function]: League\Flysystem\Filesystem->putStream('sitemaps/temp-s...', Resource id #132, Object(League\Flysystem\Config))
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent:utStre...', Array)
#5 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('putStream', Array)
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(71): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('putStream', Array)
#7 src/vendor/league/flysystem/src/MountManager.php(615): League\Flysystem\EventableFilesystem\EventableFilesystem->putStream('sitemaps/temp-s...', Resource id #132, Array)
#8 src/XF/Util/File.php(185): League\Flysystem\MountManager->putStream('sitemaps/temp-s...', Resource id #132, Array)
#9 src/XF/Sitemap/Builder.php(409): XF\Util\File::copyFileToAbstractedPath('/home/vhosts/ww...', 'internal-data:/...')
#10 src/XF/Sitemap/Builder.php(85): XF\Sitemap\Builder->saveTempFile()
#11 src/XF/Job/Sitemap.php(25): XF\Sitemap\Builder->build(7.99475)
#12 src/XF/Job/Manager.php(258): XF\Job\Sitemap->run(7.99475)
#13 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 7.99475)
#14 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 7.99475)
#15 job.php(43): XF\Job\Manager->runQueue(false, 8)
#16 {main}
Xin hỏi các cao nhân có cách nào khắc phục không ạ ?
Bài viết liên quan
Bài viết mới