gskema / prestashop-installer Goto Github PK
View Code? Open in Web Editor NEWPHP CLI PrestaShop downloader. Downloads and extracts PrestaShop files.
Home Page: https://packagist.org/packages/gskema/prestashop-installer
PHP CLI PrestaShop downloader. Downloads and extracts PrestaShop files.
Home Page: https://packagist.org/packages/gskema/prestashop-installer
May the force be with you! 😆
Downloaded files should be cached
Console command prestashop new store --release=1.7.1.0 --fixture=starwars -vvv
throws UnexpectedValueException
Stacktrace:
Creating PrestaShop application...
Downloading from URL: http://www.prestashop.com/download/releases/prestashop_1.7.1.0.zip
Extracting files to ./store/...
[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(/Users/krzysztek/src/prestashop-installer/prestashop_a7d06cbf6ced778a13049b657ad35e74/prestashop): failed to open
dir: No such file or directory
Exception trace:
() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/filesystem/Filesystem.php:460
RecursiveDirectoryIterator->__construct() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/filesystem/Filesystem.php:460
Symfony\Component\Filesystem\Filesystem->mirror() at /Users/krzysztek/src/prestashop-installer/src/Console/NewCommand.php:291
Gskema\PrestaShop\Installer\Console\NewCommand->moveFiles() at /Users/krzysztek/src/prestashop-installer/src/Console/NewCommand.php:119
Gskema\PrestaShop\Installer\Console\NewCommand->execute() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Command/Command.php:266
Symfony\Component\Console\Command\Command->run() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Application.php:855
Symfony\Component\Console\Application->doRunCommand() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Application.php:202
Symfony\Component\Console\Application->doRun() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Application.php:126
Symfony\Component\Console\Application->run() at /Users/krzysztek/src/prestashop-installer/prestashop:12
new [-r|--release RELEASE] [--fixture FIXTURE] [--] [<folder>]
index_cli.php
with the collected data.md
files from root folderConsider upgrading a guzzle library. When trying to deploy PrestaShop on Heroku platform, the fatal error is thrown.
It looks like an old release problem.
prestashop new store --release=1.7.1.0 --fixture=starwars
Creating PrestaShop application...
Downloading from URL: http://www.prestashop.com/download/releases/prestashop_1.7.1.0.zip
PHP Fatal error: Cannot use lexical variable $eventName as a parameter name in /app/vendor/guzzlehttp/guzzle/src/Event/Emitter.php on line 48
�[37;41mScript prestashop new store --release=1.7.1.0 --fixture=starwars handling the prestashop-setup-core event returned with error code 255�[39;49m
public_html
)Assure a coding consistency using fabpot/php-cs-fixer
Console command prestashop new store --release=1.7.1.0 --fixture=starwars -vvv
throws UnexpectedValueException
Stacktrace:
Creating PrestaShop application...
Downloading from URL: http://www.prestashop.com/download/releases/prestashop_1.7.1.0.zip
Extracting files to ./store/...
[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(/Users/krzysztek/src/prestashop-installer/prestashop_a7d06cbf6ced778a13049b657ad35e74/prestashop): failed to open
dir: No such file or directory
Exception trace:
() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/filesystem/Filesystem.php:460
RecursiveDirectoryIterator->__construct() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/filesystem/Filesystem.php:460
Symfony\Component\Filesystem\Filesystem->mirror() at /Users/krzysztek/src/prestashop-installer/src/Console/NewCommand.php:291
Gskema\PrestaShop\Installer\Console\NewCommand->moveFiles() at /Users/krzysztek/src/prestashop-installer/src/Console/NewCommand.php:119
Gskema\PrestaShop\Installer\Console\NewCommand->execute() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Command/Command.php:266
Symfony\Component\Console\Command\Command->run() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Application.php:855
Symfony\Component\Console\Application->doRunCommand() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Application.php:202
Symfony\Component\Console\Application->doRun() at /Users/krzysztek/src/prestashop-installer/vendor/symfony/console/Application.php:126
Symfony\Component\Console\Application->run() at /Users/krzysztek/src/prestashop-installer/prestashop:12
new [-r|--release RELEASE] [--fixture FIXTURE] [--] [<folder>]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.