I’m trying to sync an image directory that has about 3500 files in it. All the other ones are smaller, and I’ve had zero issues.
I’m getting this: ExpressionEngine\Dependency\League\Flysystem\CorruptedPathDetected Caught Corrupted path detected: Gary_Guggolz_Fieldwork_Class_4271.jpg ee/vendor-build/league/flysystem/src/CorruptedPathDetected.php:14 Stack Trace: Please include when reporting this error
#0 ee/vendor-build/league/flysystem/src/Util.php(124): ExpressionEngine\Dependency\League\Flysystem\CorruptedPathDetected::forPath('Gary_Guggolz_Fi...')
#1 ee/vendor-build/league/flysystem/src/Util.php(93): ExpressionEngine\Dependency\League\Flysystem\Util::removeFunkyWhiteSpace('Gary_Guggolz_Fi...')
#2 ee/vendor-build/league/flysystem/src/Util.php(79): ExpressionEngine\Dependency\League\Flysystem\Util::normalizeRelativePath('Gary_Guggolz_Fi...')
#3 ee/ExpressionEngine/Library/Filesystem/Filesystem.php(1078): ExpressionEngine\Dependency\League\Flysystem\Util::normalizePath('Gary_Guggolz_Fi...')
#4 ee/ExpressionEngine/Library/Filesystem/Filesystem.php(705): ExpressionEngine\Library\Filesystem\Filesystem->ensurePrefixedPath('Gary_Guggolz_Fi...')
#5 ee/ExpressionEngine/Model/File/UploadDestination.php(407): ExpressionEngine\Library\Filesystem\Filesystem->isDir('Gary_Guggolz_Fi...')
#6 ee/ExpressionEngine/Controller/Files/Uploads.php(825): ExpressionEngine\Model\File\UploadDestination->getDirectoryMap()
#7 [internal function]: ExpressionEngine\Controller\Files\Uploads->sync('1')
#8 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#9 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array)
#10 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#11 admin.php(153): require_once('...')
#11 admin.php(153): require_once('...')
deleting the file it says has no effect. What to do?
There was a group effort solving this one, suggestions included using the CLI to sync and making sure to be on the latest as a bug was fixed in 7.3.13 that looked related: https://github.com/ExpressionEngine/ExpressionEngine/issues/3743
Ultimate, the issue was the left-to-right character – – embedded in the filename. After manually chaging those, the directory was able to sync.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.