You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
Zippy throwing the following error while extracting on cent os server.
PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (03-27-2017 16:49) at position 0 (0): Unexpected character' in vendor/alchemy/zippy/src/Parser/ZipOutputParser.php:71
Stack trace:
#0 vendor/alchemy/zippy/src/Parser/ZipOutputParser.php(74): DateTime->__construct('03-27-2017 16:4...')#1 vendor/alchemy/zippy/src/Adapter/ZipAdapter.php(119): Alchemy\Zippy\Parser\ZipOutputParser->parseFileListing('Archive: /var/...')#2 vendor/alchemy/zippy/src/Adapter/AbstractAdapter.php(68): Alchemy\Zippy\Adapter\ZipAdapter->doListMembers(Object(Alchemy\Zippy\Adapter\Resource\FileResource))#3 vendor/alchemy/zippy/src/Archive/Archive.php(94): Alchemy\Zippy\Adapter\AbstractAdapter->listMembers(Object(Alchemy\Zippy\Adapter\Resource\FileResource))#4 vendor/alchemy/zippy/src/Archive/Archive.php(86): Alchemy\Zippy\Archive\Archive->getMembers()#5 /var/www/htm in vendor/alchemy/zippy/src/Parser/ZipOutputParser.php on line 71
Hi
Zippy throwing the following error while extracting on cent os server.
I am using latest version of Zippy.
I am able fix the issue by chaning some code
from $chunks[2] = date('Y-m-d H:i', strtotime(str_replace('-', '/', $chunks[2])));
The text was updated successfully, but these errors were encountered: