GithubHelp home page GithubHelp logo

sylius / sylius-standard Goto Github PK

View Code? Open in Web Editor NEW
230.0 39.0 317.0 4.92 MB

Open Source eCommerce Application on top of Symfony

Home Page: https://sylius.com

License: MIT License

PHP 63.04% JavaScript 11.77% Dockerfile 10.15% Twig 12.74% Makefile 2.31%
sylius php symfony-application symfony ecommerce ecommerce-platform ecommerce-framework hacktoberfest

sylius-standard's Introduction

Sylius Logo.

Sylius Standard Edition

This is Sylius Standard Edition repository for starting new projects.

About

Sylius is the first decoupled eCommerce framework based on Symfony and Doctrine. The highest quality of code, strong testing culture, built-in Agile (BDD) workflow and exceptional flexibility make it the best solution for application tailored to your business requirements. Enjoy being an eCommerce Developer again!

Powerful REST API allows for easy integrations and creating unique customer experience on any device.

We're using full-stack Behavior-Driven-Development, with phpspec and Behat

Documentation

Documentation is available at docs.sylius.com.

Installation

Traditional

$ wget http://getcomposer.org/composer.phar
$ php composer.phar create-project sylius/sylius-standard project
$ cd project
$ yarn install
$ yarn build
$ php bin/console sylius:install
$ symfony serve
$ open http://localhost:8000/

For more detailed instruction please visit installation chapter in our docs.

Docker

Development

Make sure you have installed Docker on your local machine. Execute docker compose up -d in your favorite terminal and wait some time until the services will be ready. You might want to see docker logs. Then enter localhost in your browser or execute open localhost in your terminal.

Production

The simplest way to deploy your Sylius store via Docker is via docker-compose.prod.yml configuration file. To do that you need to install Docker on your VPS and define MYSQL_PASSWORD environment. Then execute docker compose -f docker-compose.prod.yml up -d command in your terminal. The MYSQL_PASSWORD env will be automatically applied to the rest of the config.

When using a Virtual Private Server (VPS) we recommend having at least 2GB of RAM memory

Quick deploy:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

export MYSQL_PASSWORD=SLyPJLaye7

docker compose -f docker-compose.prod.yml up -d
docker compose -f docker-compose.prod.yml exec php bin/console sylius:fixtures:load --no-interaction

Troubleshooting

If something goes wrong, errors & exceptions are logged at the application level:

$ tail -f var/log/prod.log
$ tail -f var/log/dev.log

Contributing

Would like to help us and build the most developer-friendly eCommerce framework? Start from reading our Contribution Guide!

Stay Updated

If you want to keep up with the updates, follow the official Sylius account on Twitter and like us on Facebook.

Bug Tracking

If you want to report a bug or suggest an idea, please use GitHub issues.

Community Support

Get Sylius support on Slack, Forum or Stack Overflow.

MIT License

Sylius is completely free and released under the MIT License.

Authors

Sylius was originally created by Paweł Jędrzejewski. See the list of contributors from our awesome community.

sylius-standard's People

Contributors

arti0090 avatar bartoszpietrzak1994 avatar codermaggie avatar damonsson avatar dependabot-preview[bot] avatar dependabot[bot] avatar dmaicher avatar ernestwarwas avatar ferror avatar gsadee avatar jakubtobiasz avatar lchrusciel avatar loicmobizel avatar michalmarcinkowski avatar nedac-sorbo avatar nek- avatar noresponsemate avatar oallain avatar pamil avatar pjedrzejewski avatar probot-auto-merge[bot] avatar rafikooo avatar stloyd avatar teohhanhui avatar themilek avatar tomanhez avatar vasilvestre avatar vvasiloi avatar wojdylak avatar zales0123 avatar

Stargazers

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

Watchers

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

sylius-standard's Issues

web/media should be writable and shared in deploy.rb

Hi all,

Product images are generated on-the-fly using LiipImagineBundle inside the web/media folder, but this folder is not configured properly inside app/deploy.rb. It needs to be both writable (so that the images can be generated) and shared (so that the files persist from one deployment to another).

Will you accept a PR for this?

Thanks.

There are no commands defined in the "doctrine:phpcr:repository" namespace

A few days ago sylius:install worked, but today with a fresh install via composer I get the following error

Creating database schema...
Database schema created successfully!

[InvalidArgumentException]                                                   
There are no commands defined in the "doctrine:phpcr:repository" namespace.

I think this is a result from removing the composer.lock as the sylius bundles were locked to a state aprox. 3 months ago where symfony-cmf wasn't introduced.

Possible solutions:

  • add the symfony-cmf bundles as require to this SE, or
  • add the symfony-cmf to the corresponding sylius bundles, which needs them (SyliusInstallerBundle, which else?), or
  • both?

I know in sylius/sylius this dependency is defined, but that's not helpfull in the SE as it requires the core-bundle not sylius itself.

P.S.: To not forget about acitvating the bundles in the kernel and the config ^^ And the AnnotationRegistry in autoload.php

@pjedrzejewski what do you suggest?

Service dependency exception after updating bundles

I'm getting the following exception after updating bundles:

 [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]                                                
  The service "sylius.payum.be2bill.action.notify" has a dependency on a non-existent service "payum.context.be2bill.api".

sylius:install: Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Hi,

I'm installing sylius-standard with composer.

When i run the cmd: $ app/console sylius:install, Step 3 of 4 Shop configuration, return this error:

[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: ini_set(): A session is active. You cannot change the session modu
le's ini settings at this time

Extra: php.ini -> session.auto_start = 0

How can i fix this?

Thanks.

Include composer.lock

Hey guys

I recently came across this project and really appreciate your hard work!

I downloaded your project and noticed that the composer.lock is missing which is pretty normal to have in standard projects.

I know the project is in the development phase but actually I created this task because I had to increase my memory limit for php to more than 1gb to be able to run composer install.

Cheers

Upgrade: sylius 0.10 to 0.11 is not working

while i am upgrading sylius standard version from 0.10 to 0.11, i have got an error.

      [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]  
       The child node "classes" at path "sylius_api" must be configured. 

i had just updated this two requires in composer.json.

       "sylius/sylius":                        "0.11.*@dev",
       "friendsofsymfony/oauth-server-bundle": "@dev" 

how to solve this problem?

Cannot install

Hi,

in my console :
composer create-project sylius/sylius-standard -s dev sylius-se

but error :
Could not find package sylius/sylius-standard with stability dev.

What do you think?

Cannot install

OS Ububtu Server 14.04
RAM: 1 Gb

devel@server:~$ php composer.phar create-project sylius/sylius-standard -s dev
Installing sylius/sylius-standard (dev-master 050c336ed8b9b5fa9ce9b499a29cf4768b76b1bc)
  - Installing sylius/sylius-standard (dev-master master)
    Cloning master

Created project in /home/devel/sylius-standard
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing psr/log (1.0.0)
    Loading from cache
PHP Fatal error:  Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' in phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:983
Stack trace:
#0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'proc_open(): fo...', 'phar:///home/de...', 983, Array)
#1 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(983): proc_open('stty -a | grep ...', Array, NULL, NULL, NULL, Array)
#2 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(799): Symfony\Component\Console\Application->getSttyColumns()
#3 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(760): Symfony\Component\Console\Application->getTerminalDimensions()
#4 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(690): Symfony\Component\Console\Application->getTerminalWidth()
#5 phar:///home/de in phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 983

Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' in phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:983
Stack trace:
#0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'proc_open(): fo...', 'phar:///home/de...', 983, Array)
#1 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(983): proc_open('stty -a | grep ...', Array, NULL, NULL, NULL, Array)
#2 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(799): Symfony\Component\Console\Application->getSttyColumns()
#3 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(760): Symfony\Component\Console\Application->getTerminalDimensions()
#4 phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(690): Symfony\Component\Console\Application->getTerminalWidth()
#5 phar:///home/de in phar:///home/devel/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php on line 983

Getting a fatal error when updating the bundles

PHP Fatal error: Class 'Payum\Core\Model\Token' not found in /vendor/sylius/payum-bundle/Sylius/Bundle/PayumBundle/Model/PaymentSecurityToken.php on line 17

It seems to be a problem with versions. Since Sylius is using Payum 0.7.x and here it is 0.6.x.

Could you please update the composer.lock?

[bug] in @CmfCreateBundle/Resources/public/vendor/* not found in standard edition

Hi,

I installed the standard edition with this command:
composer create-project -s dev sylius/sylius-standard acme

I can enter with anonymous user but if I loggin with admin I get this error:

An exception has been thrown during the compilation of a template ("Unable to find file "@CmfCreateBundle/Resources/public/vendor/create/lib/jquery-htmlclean/jquery.htmlClean.js".") in "CmfCreateBundle::includejsfiles-hallo.html.twig".

How I can resolve it ?

Thanks!

Changing bundle structure of sylius-standard

I've just been setting up a new project and wanted to use some of the features of the current 0.13 branch. Now sylius-standard is kind of outdated and the search is not working out of the box. Also i find it kind of strange, that the sylius-standard just has a dependency on the sylius repo, not the individual components. But on the other hand, the sylius repo is not upgradeable via composer.

To solve this, i just checked out the sylius repo, deleted the src/Sylius folder and updated the composer.json as seen below. I think, it would be great, if the sylius-standard edition would be handled similar in the future. This has quite some advantages as the configuration stays in app/config and the structure is easier to understand.

{
    "name":        "sylius/sylius",
    "type":        "project",
    "description": "Modern ecommerce for Symfony2",
    "license":     "MIT",
    "homepage":    "http://sylius.org",
    "authors": [
        {
            "name":     "Paweł Jędrzejewski",
            "homepage": "http://pjedrzejewski.com"
        },
        {
            "name":     "Sylius project",
            "homepage": "http://sylius.org"
        },
        {
            "name":     "Community contributions",
            "homepage": "http://github.com/Sylius/Sylius/contributors"
        }
    ],
    "repositories": [
        {
            "type":     "vcs",
            "url":      "https://github.com/Sylius/SyliusArchetypeBundle"
        },
        {
            "type":     "vcs",
            "url":      "https://github.com/Sylius/Archetype"
        }
    ],
    "require": {
        "php":                                  ">=5.3.3",
        "a2lix/translation-form-bundle":        "~2.0",
        "doctrine/collections":                 "~1.2",
        "doctrine/common":                      "~2.3",
        "doctrine/doctrine-bundle":             "~1.3",
        "doctrine/doctrine-cache-bundle":       "~1.0",
        "doctrine/doctrine-migrations-bundle":  "2.1.*@dev",
        "doctrine/migrations":                  "~1.0@dev",
        "doctrine/orm":                         "~2.4",
        "friendsofsymfony/elastica-bundle":     "^3.0.2",
        "friendsofsymfony/oauth-server-bundle": "~1.4",
        "friendsofsymfony/rest-bundle":         "~1.5",
        "friendsofsymfony/user-bundle":         "2.0.*@dev",
        "hwi/oauth-bundle":                     "~0.3",
        "incenteev/composer-parameter-handler": "~2.0",
        "jackalope/jackalope":                  "^1.1.4",
        "jackalope/jackalope-doctrine-dbal":    "^1.1.2",
        "jms/serializer-bundle":                "~0.13",
        "jms/translation-bundle":               "~1.1",
        "knplabs/gaufrette":                    "0.2.*@dev",
        "knplabs/knp-gaufrette-bundle":         "0.2.*@dev",
        "knplabs/knp-menu-bundle":              "~1.1",
        "knplabs/knp-snappy-bundle":            "*@dev",
        "liip/imagine-bundle":                  "~1.0",
        "mathiasverraes/money":                 "*@dev",
        "omnipay/omnipay":                      "~2.3",
        "payum/payum":                          "0.12.*",
        "payum/payum-bundle":                   "0.12.*",
        "sensio/distribution-bundle":           "~2.3",
        "stof/doctrine-extensions-bundle":      "~1.1",
        "swiftmailer/swiftmailer":              "~5.0",
        "symfony/assetic-bundle":               "~2.3",
        "symfony/event-dispatcher":             "~2.3",
        "symfony/expression-language":          "~2.4",
        "symfony/form":                         "~2.3",
        "symfony/framework-bundle":             "~2.3",
        "symfony/intl":                         "~2.3",
        "symfony/monolog-bundle":               "~2.3",
        "symfony/options-resolver":             "~2.3",
        "symfony/property-access":              "~2.3",
        "symfony/swiftmailer-bundle":           "~2.3",
        "symfony/symfony":                      "~2.3",
        "symfony/twig-bundle":                  "~2.3",
        "twig/extensions":                      "~1.0",
        "twig/twig":                            "~1.11",
        "white-october/pagerfanta-bundle":      "~1.0",
        "willdurand/hateoas-bundle":            "@stable",
        "winzou/state-machine":                 "~0.1",
        "winzou/state-machine-bundle":          "~0.2",
        "payum/omnipay-bridge":                 "~0.12",

    "sylius/addressing-bundle": "0.13.*@dev",
    "sylius/archetype-bundle": "0.13.*@dev",
    "sylius/api-bundle": "0.13.*@dev",
    "sylius/archetype-bundle":  "0.13.*@dev",
    "sylius/attribute-bundle": "0.13.*@dev",
    "sylius/cart-bundle": "0.13.*@dev",
    "sylius/core-bundle": "0.13.*@dev",
    "sylius/contact-bundle": "0.13.*@dev",
    "sylius/content-bundle": "0.13.*@dev",
    "sylius/currency-bundle": "0.13.*@dev",
        "sylius/fixtures-bundle": "0.13.*@dev",
        "sylius/flow-bundle": "0.13.*@dev",
        "sylius/installer-bundle": "0.13.*@dev",
        "sylius/inventory-bundle": "0.13.*@dev",
        "sylius/locale-bundle": "0.13.*@dev",
        "sylius/money-bundle": "0.13.*@dev",
        "sylius/order-bundle": "0.13.*@dev",
        "sylius/payment-bundle": "0.13.*@dev",
        "sylius/payum-bundle": "0.13.*@dev",
        "sylius/pricing-bundle": "0.13.*@dev",
        "sylius/product-bundle": "0.13.*@dev",
        "sylius/promotion-bundle": "0.13.*@dev",
        "sylius/resource-bundle": "0.13.*@dev",
        "sylius/search-bundle": "0.13.*@dev",
        "sylius/sequence-bundle": "0.13.*@dev",
        "sylius/settings-bundle": "0.13.*@dev",
        "sylius/shipping-bundle": "0.13.*@dev",
        "sylius/taxation-bundle": "0.13.*@dev",
        "sylius/taxonomy-bundle": "0.13.*@dev",
        "sylius/translation-bundle": "0.13.*@dev",
        "sylius/variation-bundle": "0.13.*@dev",
        "sylius/web-bundle": "0.13.*@dev",

        "sylius/addressing": "0.13.*@dev",
        "sylius/archetype": "0.13.*@dev",
        "sylius/attribute": "0.13.*@dev",
        "sylius/cart": "0.13.*@dev",
        "sylius/contact": "0.13.*@dev",
        "sylius/core": "0.13.*@dev",
        "sylius/currency": "0.13.*@dev",
        "sylius/inventory": "0.13.*@dev",
        "sylius/locale": "0.13.*@dev",
        "sylius/payment": "0.13.*@dev",
        "sylius/pricing": "0.13.*@dev",
        "sylius/product": "0.13.*@dev",
        "sylius/promotion": "0.13.*@dev",
        "sylius/registry": "0.13.*@dev",
        "sylius/resource": "0.13.*@dev",
        "sylius/sequence": "0.13.*@dev",
        "sylius/shipping": "0.13.*@dev",
        "sylius/storage": "0.13.*@dev",
        "sylius/taxation": "0.13.*@dev",
        "sylius/taxonomy": "0.13.*@dev",
        "sylius/translation": "0.13.*@dev",
        "sylius/variation": "0.13.*@dev",
        "sylius/order": "0.13.*@dev",
        "sylius/originator": "0.13.*@dev"
    },
    "require-dev": {
        "doctrine/doctrine-fixtures-bundle": "~2.2",
        "behat/behat":                       "~3.0",
        "behat/symfony2-extension":          "~2.0",
        "behat/mink-extension":              "~2.0",
        "behat/mink-browserkit-driver":      "~1.2",
        "behat/mink-selenium2-driver":       "~1.2",
        "behat/mink":                        "~1.6",
        "coduo/php-matcher":                 "~1.0",
        "fzaninotto/faker":                  "~1.2",
        "phpspec/phpspec":                   "~2.1",
        "phpunit/phpunit":                   "~4.1"
    },
    "scripts": {
        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Symfony\\Cmf\\Bundle\\CreateBundle\\Composer\\ScriptHandler::downloadCreateAndCkeditor",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],
        "post-update-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Symfony\\Cmf\\Bundle\\CreateBundle\\Composer\\ScriptHandler::downloadCreateAndCkeditor",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "config": {
        "bin-dir": "bin"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "0.13-dev"
        },
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "incenteev-parameters": {
            "file": "app/config/parameters.yml"
        }
    }
}

Unresolveable dependencies

In short

$ composer.phar install --dev    
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - knplabs/knp-gaufrette-bundle 0.2.x-dev requires knplabs/gaufrette ~0.1.7 -> satisfiable by knplabs/gaufrette[0.1.x-dev, v0.1.7].
    - Can only install one of: knplabs/gaufrette[0.2.x-dev, 0.1.x-dev].
    - Can only install one of: knplabs/gaufrette[v0.1.7, 0.2.x-dev].
    - sylius/core-bundle 0.9.x-dev requires knplabs/knp-gaufrette-bundle 0.2.*@dev -> satisfiable by knplabs/knp-gaufrette-bundle[0.2.x-dev].
    - sylius/core-bundle 0.9.x-dev requires knplabs/gaufrette 0.2.*@dev -> satisfiable by knplabs/gaufrette[0.2.x-dev].
    - sylius/web-bundle 0.9.x-dev requires sylius/core-bundle 0.9.*@dev -> satisfiable by sylius/core-bundle[0.9.x-dev].
    - Installation request for sylius/web-bundle 0.9.* -> satisfiable by sylius/web-bundle[0.9.x-dev].

update ends up in the same.

Installing on PHP7 Vagrant box

First issue I ran into was, at the end of php app/console sylius:install:

Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap

Fatal error: Cannot use 'String' as class name as it is reserved in /var/www/sylius/vendor/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/String.php on line 28
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-install-cmd event terminated with an exception 

Fixed this by deleting this line:
https://github.com/Sylius/Sylius-Standard/blob/master/app/autoload.php#L12
Like suggested where: doctrine/phpcr-odm#649

That fixed the problem, but now it's extremly slow, half of the time I get:

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/sylius/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php on line 192

[UPDATE]
This helped a lot these optimizations:
http://by-examples.net/2014/12/09/symfony2-on-vagrant.html

The page load is now less then a second

I do see quite some deprecated functions, most of them in Twig:

DEPRECATED - The Symfony\Component\Security\Core\SecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage or Symfony\Component\Security\Core\Authorization\AuthorizationChecker instead.  +
DEPRECATED - Calling the Symfony\Component\OptionsResolver\OptionsResolver::setAllowedTypes method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead. (4x)  +
DEPRECATED - The Symfony\Component\OptionsResolver\OptionsResolver::setOptional method is deprecated since version 2.6 and will be removed in 3.0. Use the setDefined() method instead. (2x)  +
DEPRECATED - Sylius\Bundle\CoreBundle\Form\Type\CartItemType: The FormTypeInterface::setDefaultOptions() method is deprecated since version 2.7 and will be removed in 3.0. Use configureOptions() instead. This method will be added to the FormTypeInterface with Symfony 3.0.  +
DEPRECATED - Sylius\Bundle\VariationBundle\Form\Type\VariantMatchType: The FormTypeInterface::setDefaultOptions() method is deprecated since version 2.7 and will be removed in 3.0. Use configureOptions() instead. This method will be added to the FormTypeInterface with Symfony 3.0.  +
DEPRECATED - Calling the Symfony\Component\OptionsResolver\OptionsResolver::addAllowedTypes method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead. (6x)  +
DEPRECATED - Sylius\Bundle\VariationBundle\Form\Type\OptionValueChoiceType: The FormTypeInterface::setDefaultOptions() method is deprecated since version 2.7 and will be removed in 3.0. Use configureOptions() instead. This method will be added to the FormTypeInterface with Symfony 3.0.  +
DEPRECATED - The Symfony\Component\Form\Extension\Core\ChoiceList\ObjectChoiceList class is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\ChoiceList\ArrayChoiceList instead.  +
DEPRECATED - The Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceList class is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\ChoiceList\ArrayChoiceList instead.  +
DEPRECATED - The Symfony\Component\Form\Extension\Core\View\ChoiceView class is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\ChoiceList\View\ChoiceView instead.  +
DEPRECATED - The "choice_list" option is deprecated since version 2.7 and will be removed in 3.0. Use "choice_loader" instead.  +
DEPRECATED - The Twig render tag was deprecated in version 2.2 and will be removed in version 3.0. Use the Twig render function instead.  +
DEPRECATED - The Symfony\Component\Routing\Route::getPattern method is deprecated since version 2.2 and will be removed in 3.0. Use the getPath() method instead. (5x)  +
DEPRECATED - Using an instance of "Twig_SimpleFunction" for filter "0" is deprecated. Use Twig_SimpleFilter instead.  +
DEPRECATED - The Twig_Function_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFunction instead.  +
DEPRECATED - The Twig_Function class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFunction instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "sm_can" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - The Twig_Filter_Function class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFilter instead.  +
DEPRECATED - The Twig_Filter class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFilter instead.  +
DEPRECATED - Using an instance of "Twig_Filter_Function" for filter "cmf_embed_blocks" is deprecated. Use Twig_SimpleFilter instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "createphp_attributes" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "createphp_content" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "knp_menu_get" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "knp_menu_render" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - The Twig_Filter_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFilter instead.  +
DEPRECATED - Using an instance of "Twig_Filter_Method" for filter "serialize" is deprecated. Use Twig_SimpleFilter instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "serialization_context" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - Using an instance of "Twig_Filter_Method" for filter "desc" is deprecated. Use Twig_SimpleFilter instead.  +
DEPRECATED - Using an instance of "Twig_Filter_Method" for filter "meaning" is deprecated. Use Twig_SimpleFilter instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "pagerfanta" is deprecated. Use Twig_SimpleFunction instead.  +
DEPRECATED - Using an instance of "Twig_Function_Method" for function "pagerfanta_page_url" is deprecated. Use Twig_SimpleFunction instead.  +

Just nothing works...

Hi !

I want to build a new project using Sylius.
It seems really awesome, but it's been an entire week I'm facing to installation errors, bugs in the application...etc

If I understand, for a new project, I have to use sylius/sylius-standard.
So I do :

composer create-project -s dev sylius/sylius-standard
(on the http://sylius.org/get-started, the "-s dev" is not present, but without it it doesn't work).

Next, I do :

cd sylius/sylius-standard
php app/console sylius:install

Everything begins good, but at the end I have an error :

[InvalidArgumentException]
The "/Users/Juju/Sites/sylius-standard/app/../web/fixtures" directory does
not exist.

So, I create this folder manually, next I do :

php app/console doctrine:fixtures:load

But now I have this error :

[Symfony\Component\Debug\Exception\ContextErrorException]
Notice: Undefined index: Sylius.Image.sticker in /Users/Juju/Sites/sylius-s
tandard/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Refe
renceRepository.php line 145

So, even if I have this error, I try to go to the website.
It seems work, I place an order, but when I finalize the order (checkout/finalize/forward), I have this error :

A new entity was found through the relationship 'Sylius\Bundle\CoreBundle\Model\Order#user' that was not configured to cascade persist operations for entity: [email protected]. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @manytoone(..,cascade={"persist"}).

So, is there anyway to make Sylius works ?
Before that, I used Sylius/sylius, all works good, but there was a big bug (no number generated for orders) so customers can't simply see there orders...

Any help ? I'm desperate ...

Thanks a lot ;)

composer install problem

As described in the quick install doc and
trying

# with composer globally installed
composer create-project sylius/sylius-standard
#or
# with a local phar archive
php composer.phar create-project sylius/sylius-standard

I get a Could not find package sylius/sylius-standard with stability stable

Doing a composer init and then copying the current master composer.json works.

The quick start guide is not in sync as no stable version is available.

Command `sylius:install` doesn't support `--no-interaction` option

Hi.
Looks like at this time sylius:install not friendly to no-interaction mode.
If I run sylius:install --no-interaction installer still asked me some questions.

Have good idea that I've seen at OroCRM installer. All possible settings or parameters that may be asked - have own options.

For example, OroCRM installation command with full set of options looks like this.

php app/console oro:install --application-url={{ crm_domain }} --organization-name={{ crm_organization_name }} --user-name={{ crm_user_name }} --user-email={{ crm_user_email }} --user-firstname={{ crm_user_firstname }} --user-lastname={{ crm_user_lastname }} --user-password={{ crm_password }} --sample-data=false

Will be nice if something like this will be implemented in sylius.
This will be awesome for those who use ansible to install sylius.
WDYT?

Install trouble : fos_rest

When I installed Sylius, I had this error :

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
  Unrecognized options "stop" under "fos_rest.format_listener.rules.1"

I made config.yml file with default values.

sylius:install:setup throws NoSuchMetaDataException after entering locale

This happens on (new) installs on my local vagrant box, but also on my linux dev server. I only have this problem with sylius-standard (current master). I am not having this problem with sylius/sylius:0.14.0

  [Symfony\Component\Validator\Exception\NoSuchMetadataException]
  The class or interface "en_US" does not exist.

Edit: because there is no composer.lock file available, composer is installing Symfony 2.7. The Symfony/Validator does not seem to be compatible with the current installationscript. If I add Symfony ~2.3.30 in my composer.json file the installer works just fine.

How often are the Git Subtree Splits updated?

I'm using Sylius-Standard, but the subtree splits have not been updated for several days. I would like to understand this better.. are the updates rolled out via an automated process (that has stalled?), or is this a manual process?

Thanks.

Elasticsearch configuration

Hey all.
Just interesting how can I configure my sylius-standart based application to user elasticsearch. README and google can't answer this question at all, cause they have quite little information. Maybe somebody can figure me out how config.yml have to look to work with elasticsearch?

Error when creating a new locale in admin panel

I created a new "fr" locale in the admin panel (sylius versions 0.16.0-dev) and "French" appeared in "Code" instead of the selected "fr" and nothing appear in "name".
When I goto the channel admin page for example, twig output an error because there is no __tostring for locale "French".
After replacing "French" by "fr" in "Code" column directly in the database, the problem disappear: in the admin pannel, i got "fr" in "code" and "French" in "name.
It seems there is a bug in the method to create locale in admin panel that put the name instead of the code in the code attribute of locale.

Class 'Faker\Factory' not found

Load fixtures (Y/N)?y
Careful, database will be purged. Do you want to continue Y/N ?y

PHP Fatal error:  Class 'Faker\Factory' not found in /Users/ndtoan/Projects/sylius-standard/vendor/sylius/core-bundle/Sylius/Bundle/CoreBundle/DataFixtures/ORM/DataFixture.php on line 46
PHP Stack trace:
PHP   1. {main}() /Users/ndtoan/Projects/sylius-standard/app/console:0
PHP   2. Symfony\Component\Console\Application->run() /Users/ndtoan/Projects/sylius-standard/app/console:19
PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /Users/ndtoan/Projects/sylius-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP   4. Symfony\Component\Console\Application->doRun() /Users/ndtoan/Projects/sylius-standard/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP   5. Symfony\Component\Console\Application->doRunCommand() /Users/ndtoan/Projects/sylius-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP   6. Symfony\Component\Console\Command\Command->run() /Users/ndtoan/Projects/sylius-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP   7. Sylius\Bundle\InstallerBundle\Command\InstallCommand->execute() /Users/ndtoan/Projects/sylius-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP   8. Sylius\Bundle\InstallerBundle\Command\InstallCommand->setupStep() /Users/ndtoan/Projects/sylius-standard/vendor/sylius/installer-bundle/Sylius/Bundle/InstallerBundle/Command/InstallCommand.php:27
PHP   9. Sylius\Bundle\InstallerBundle\Command\InstallCommand->runCommand() /Users/ndtoan/Projects/sylius-standard/vendor/sylius/installer-bundle/Sylius/Bundle/InstallerBundle/Command/InstallCommand.php:79
PHP  10. Symfony\Component\Console\Command\Command->run() /Users/ndtoan/Projects/sylius-standard/vendor/sylius/installer-bundle/Sylius/Bundle/InstallerBundle/Command/InstallCommand.php:108
PHP  11. Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand->execute() /Users/ndtoan/Projects/sylius-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP  12. Doctrine\Common\DataFixtures\Loader->loadFromDirectory() /Users/ndtoan/Projects/sylius-standard/vendor/doctrine/doctrine-fixtures-bundle/Doctrine/Bundle/FixturesBundle/Command/LoadDataFixturesDoctrineCommand.php:91
PHP  13. Sylius\Bundle\CoreBundle\DataFixtures\ORM\DataFixture->__construct() /Users/ndtoan/Projects/sylius-standard/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Loader.php:102

No loggable annotation on entities

During installation, I type:

php app\console sylius:install

This throws an exception:

    [Gedmo\Exception\InvalidMappingException]                                                                                           
    Class must be annotated with Loggable annotation in order to track versioned fields in class - Sylius\Component\Core\Model\Product

I guess updating the composer.json file should solve this?

Update with latest features

Hi, I would like to use standard version with the new CMF integration feature. Could you please update this repo ?

Installer issue with composer - fails doctrine/phpcr-odm

Please can you assist i think the composer file in the standard package needs some work, I'm following the steps on your main website to install the standard edition to start my project, i wasn't expecting to have to start fixing issues from the get go.

Ive seen this issue resolved on the Sylius repo by applying this Sylius/Sylius#3595 I applied it locally to my composer file and it then completed the install.

I have to be honest I've stopped working with Sylius because i struggling with the documentation at the moment, but i may come back to it.

Nigel.

heres the output i get.

Nigels-iMac:NetBeansProjects nigelsmith$ php -dmemory_limit=-1 /bin/composer create-project sylius/sylius-standard -s dev
Installing sylius/sylius-standard (dev-master 4a2f05e)

Installing sylius/sylius-standard (dev-master master) Cloning master
Created project in /Users/nigelsmith/NetBeansProjects/sylius-standard
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Installation request for sylius/sylius 0.16.*@dev -> satisfiable by sylius/sylius[0.16.x-dev].
  • sylius/sylius 0.16.x-dev requires doctrine/phpcr-odm ^1.3@rc -> no matching package found.

Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

installing

Clearing the cache for the dev environment with debug true
Download or update create
Download or update ckeditor
PHP Fatal error: Class 'Sylius\Bundle\CoreBundle\Kernel\Kernel' not found in /home/jeremy/vhost/lettuce/app/AppKernel.php on line 6
PHP Stack trace:
PHP 1. {main}() /home/jeremy/vhost/lettuce/app/console:0
PHP 2. require_once() /home/jeremy/vhost/lettuce/app/console:7
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets handling the post-install-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the "'assets:install '''web''''" command.

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [package] [directory] [version]

Unrecognized options under sylius_resource

Hi All,

I've been trying to test out Sylius but have been running into issues installing it.

First I ran into this:

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "stop" under "fos_rest.format_listener.rules.1"

However, I was able to follow the fix here:

#49

But then I get another error that I have not found a solution for:

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "search_form_template, driver, engine, classes, orm
_indexes, custom_accessors, filters" under "sylius_resource"

I've tried both Sylius and Sylius-Standard, same issue on both.

I am running on a a Mac iOS 10.10.

Thanks in advance

Override SyliusWebBundle:Frontend:layout.html.twig in sylius-standard

I am using sylius-standard as vendor and I want to override my layout but when I put in my layout in my app/Resources/SyliusWebBundle/Frontend/layout.html.twig I and after clear:cache It continue reading template from WebBunde in vendor directory...I need help with that...Theres a strange behavior there...

User management

Hi,

I'm developping an e-commerce website using Sylius.

I don't understand how to edit the design for user interaction like login, registration...

Because I don't know if I have to inherit the FOSUserBundle or to do something else?
I didn't find a SyliusUserBunlde.

Thanks for the help.

app/console sylius:install does not initialize the PHPC repository

It is not possible to run app/console sylius:install because the command does not initialize the PHPCR repository.

➜  sylius-standard  app/console sylius:install
Installing Sylius...

Step 1 of 4. Checking system requirements.
+-------------------------------+---------------------------------------------------------------------------+
| Issue                         | Recommendation                                                            |
+-------------------------------+---------------------------------------------------------------------------+
| short_open_tag                |                                                                           |
| session.auto_start            |                                                                           |
| Intl                          | Installeer en activeer de intl extensie.                                  |
| sylius.extensions.accelerator | Installeer en schakel een PHP versneller in zoals APC (sterk aanbevolen). |
+-------------------------------+---------------------------------------------------------------------------+
Success! Your system can run Sylius properly.

Step 2 of 4. Setting up the database.
Creating Sylius database for environment dev.
It appears that your database already exists. Would you like to reset it? (y/N) y
 3/7 [|||||||||||||               ]  42%


  [PHPCR\NoSuchWorkspaceException]
  Requested workspace: 'sylius'



cache:clear [--no-warmup] [--no-optional-warmers]

When I manually add the workspace, I get another PHPCR error (can also be fixed using the initiliaze command):

➜  sylius-standard  app/console sylius:install
Installing Sylius...

Step 1 of 4. Checking system requirements.
+-------------------------------+---------------------------------------------------------------------------+
| Issue                         | Recommendation                                                            |
+-------------------------------+---------------------------------------------------------------------------+
| short_open_tag                |                                                                           |
| session.auto_start            |                                                                           |
| Intl                          | Installeer en activeer de intl extensie.                                  |
| sylius.extensions.accelerator | Installeer en schakel een PHP versneller in zoals APC (sterk aanbevolen). |
+-------------------------------+---------------------------------------------------------------------------+
Success! Your system can run Sylius properly.

Step 2 of 4. Setting up the database.
Creating Sylius database for environment dev.
It appears that your database already exists. Would you like to reset it? (y/N) n
Seems like your database contains schema. Do you want to reset it? (y/N) n
 1/4 [||||||||                    ]  25%


  [PHPCR\PathNotFoundException]
  Item / not found in workspace sylius






  [PHPCR\ItemNotFoundException]
  Item / not found in workspace sylius



doctrine:phpcr:repository:init [--session [SESSION]]

Is this something I can help with to fix?

[RFC] - upgrading sylius/standar and database migrations

Hi all

Is there any recommended way how run migrations after upgrading the sylius/sylius-standard distribution?

I started with 0.14.
After release of 0.15, I changed my composer.json and fired up composer update.

The codebase updated without problem but, my existing database didn't update with migrations from main sylius package.

The first problem is that with sylius/sylius-standard you wont have migrations_versions table at all in your DB, so even if I configure doctrine migrations to look in vendor/sylus/sylius/app/migrations directory with the correct namespace, doctrine will try to run every migration there.

Even tho this is fixed with this PR Sylius/Sylius#3205, if the config would point to vendor/sylius/sylius/migrations.
There is still the issue about where to point migrations.yml by default:

  • app/DoctrineMigration - users application folder
  • vendor/sylius/sylius/app/migrations

If anyone got any pointers experience with cross bundle migrations, share.

Standard don't work out of the box moreover after commit dbcc049

When installing the sandbox before the dbcc049 Commits on Oct 14, 2014 this is what happen :
You can install the sandbox
And you can use it after, since you'll never modify it and you'll never do a php app\console ca:c
Otherwise you will have errors and the sandbox definitively crash !

When you've made the new commit the sandbox crashes directly after a fresh install ! (think it's very relative to my first comment. You've modified it and the cache clear made during install raise the error.)

This is the new error :
PHP Fatal error: Declaration of Symfony\Bundle\AsseticBundle\Factory\Worker\UseControllerWorker::process() must be compatible w
ith Assetic\Factory\Worker\WorkerInterface::process(Assetic\Asset\AssetInterface $asset, Assetic\Factory\AssetFactory $factory)....
Think some bundles missing. Suspect cmfcreatebundle

Fixtures load fails during installation

$ ./app/console do:fi:lo
...
Load fixtures (Y/N)?y
Careful, database will be purged. Do you want to continue Y/N ?y
  > purging database
  > loading [1] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadGroupsData
  > loading [1] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadExchangeRatesData
  > loading [1] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadUsersData
  > loading [1] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadCountriesData
  > loading [2] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadZonesData
  > loading [2] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadPropertiesData
  > loading [3] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadOptionsData
  > loading [3] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadTaxationData
  > loading [4] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadPaymentMethodsData
  > loading [4] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadShippingData
  > loading [4] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadPrototypesData
  > loading [5] Sylius\Bundle\FixturesBundle\DataFixtures\ORM\LoadTaxonomiesData



  [Doctrine\ORM\Query\QueryException]                                         
  [Syntax Error] line 0, col -1: Error: Expected Literal, got end of string.  






  [Doctrine\ORM\Query\QueryException]                                                                                  
  UPDATE Sylius\Bundle\CoreBundle\Model\Taxon node SET node.level = 0, node.left = 1, node.right = 2 WHERE node.id =   



sylius:install

Doctrine / persist cascad

Hi,

With Standard Edition, I have an error in doctrine persist.
For exemple in /administration/zones/new, when I create a new zone , this error appears :

A new entity was found through the relationship 'Sylius\Bundle\AddressingBundle\Model\ZoneMemberCountry#country' that was not configured to cascade persist operations for entity: France. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @manytoone(..,cascade={"persist"}).

This error also appears on another route, in a relationship manyTomany...

Can you help me ?

tk

Error while installing Sylius-Standard

Install Sylius-Standard by writing in command line
#composer create-project sylius/sylius-standard -s dev
When all packages already installed, and autoload files generated, it starts creating the "app/config/parameters.yml" file and propose to set configurations with the message:
"Some parameters are missing. Please provide them."
All parameters, which user sets, processing well except sylius.database.name. It sets postfix _dev to the end of the value(database name) and then it causes an errors. For example if I set sylius.database.name value like sylius_test, it will show next errors:

[Doctrine\DBAL\Exception\ConnectionException]                                              
  An exception occured in driver: SQLSTATE[42000] [1049] Unknown database 'sylius-test_dev'  

  [Doctrine\DBAL\Driver\PDOException]                        
  SQLSTATE[42000] [1049] Unknown database 'sylius-test_dev'  

  [PDOException]                                             
  SQLSTATE[42000] [1049] Unknown database 'sylius-test_dev'  

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception

  [RuntimeException]                                                         
  An error occurred when executing the "'cache:clear --no-warmup'" command.

The same situation will be in case if I leave default value(sylius) of the parameter sylius.database.name. It will add postfix _dev to the end of the value and will try to check connection with database sylius_dev.

Fresh install trouble

Just installed newly sylius-standard edition. Worked well until trying to log to administration juste after install, and by the way after adding a user with role SYLIUS_ROLE_ADMIN via command line (never mentionned in documentation)

An exception has been thrown during the rendering of a template ("Currency "EUR" is not available.")
in SyliusWebBundle:Backend/Dashboard:main.html.twig at line 34.

Then trying to fix this I executed :

app\console sylius:currency:import open_exchange_rates

Got this error

[InvalidArgumentException]
"OER_APP_ID" must be set in order to use OERImporter.

It doesn't matter, I think I forgot to setup sylius.currency_importer.open_exchange_rates:
But I'm stucked here, still getting this error even if

sylius.currency_importer.open_exchange_rates:
app_id: MyAPPID

But still getting the error, I might miss something in setting service parameters
Dumped the content of $options passed to the configure($options) function and got this result

array(1) {
[0] =>
array(1) {
'app_id' =>
string(32) "MyAPPID"
}
}

The array contains the key but at the wrong level, how can I fix this by configuration ? Or by code in Importer, should I fix it and make a pull request ?

Thanxs a lot.

PS : May be you should find a way to put online a documentation on 'how to make first install work', I could write a paper on my install if it might help.

Marc

Copy app/Resources from Sylius?

When creating a project with the SE, the login and register pages of the FOSUserBundle are completly unstyled. Should the SE copy the app/Resources folder from Sylius?

Install problem: child node "security" at path "payum" must be configured

after running:
php composer.phar create-project sylius\sylius-standard -s dev sylius-standard
I get:

sylius.currency (EUR): USD
sylius.cache (file_system):

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
The child node "security" at path "payum" must be configured.

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception

Installing sylius-standard from composer gives ParameterNotFoundException

After entering the sylius config (sylius.database.driver <- ... -> sylius.order.pending.duration) the next step gives a ParameterNotFoundException

[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
  The service "sylius.currency_importer.european_central_bank" has a dependency on a non-existent parameter "sylius.currency_importer.ecb.base_currency".

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.

Command that was run is:

$ composer create-project -s dev sylius/sylius-standard sylius-standard

Cannot import ressources sylis.yml

Hi !

I see some fix have been added, so I try to get a fresh install :

composer create-project -s dev sylius/sylius-standard

I put the informations for parameters.yml, and at the end I've got :

Cannot import resource "/Users/Juju/Sites/sylius-standard/app/config/sylius.yml" from "/Users/Juju/Sites/sylius-standard/app/config/config.yml". (There is no extension able to load the configuration for "sylius_payum" (in /Users/Juju/Sites/sylius-standard/app/config/sylius.yml). Looked for namespace "sylius_payum", found "sylius_installer", "sylius_order", "sylius_money", "sylius_settings",...etc

Somebody have an idea ?

Thx

Cannot create route [phpcr_odm_path]

Whenever I am trying to create a route for a page (content), it gives me an error message saying "This value is not valid." But this is a completely new route. I created a page and it said in the Route field "Your content will not appear in frontend if no route is defined" and then when I try to create a route for the page, the error message is given. It is also the same when I try to make a new route.

The profiler gives me this:

screen shot 2015-10-19 at 02 23 17

Please help me. I am in a big fix. If I can't find a solution quickly, then I might have to shift to some other application from Sylius which I don't want.

Installer fails with missing parameter

When installing the current dev version, the installer fails with the following error:

You have requested a non-existent parameter "sylius.order.allow_guest_order".

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.