Code Monkey home page Code Monkey logo

prestashop-installer's People

Contributors

gitter-badger avatar gskema avatar krzysiekpiasecki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

prestashop-installer's Issues

UnexpectedValueException when 'prestashop new'

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>]

Guided installation process

  • Create a dialog between the user to collect installation data;
  • Call index_cli.php with the collected data

Upgrade guzzle library

Consider 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

UnexpectedValueException when 'prestashop new'

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>]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.