For me helped using using {{ form_start(form) }} instead of creating <form> tag by itself.
четверг, 8 февраля 2018 г.
воскресенье, 17 декабря 2017 г.
Vagrant SSH Permission denied (publickey,gssapi-keyex,gssapi-with-mic) fix
If you receive error "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" or "No more authentication methods to try." in verbose mode on connect via SSH to guest, also noticed that works when you disable provision script, this means your script contains error and so other Vagrant scripts cannot execute for correct SSH working.
Solution is to fix your provision script.
Solution is to fix your provision script.
четверг, 23 ноября 2017 г.
fos user bundle promote not working - solution
It is about command
just logout from user via Symfony Profiler and logon again.
php app/console fos:user:promote admin --super
just logout from user via Symfony Profiler and logon again.
воскресенье, 22 октября 2017 г.
[Behat] how to fix 'Can not load cache for a feature "foo.feature"'
remove folders (for me it was v4.4-dev) in `C:\Users\Admin\AppData\Local\Temp\behat_gherkin_cache` directory.
четверг, 28 сентября 2017 г.
Sylius - The table with name 'sylius_order' already exists
1) be sure you have added your class' model parameter to config.yml, as described in Sylius documentation;
2) be sure you do not use old parent class somewhere else in config.yml - for example, this will cause error below. Do not forget to change it as new class:
2) be sure you do not use old parent class somewhere else in config.yml - for example, this will cause error below. Do not forget to change it as new class:
sylius_resource:
resources:
sylius.accountant:
classes:
model: AppBundle\Entity\Order
sylius.worker:
classes:
model: AppBundle\Entity\Order
понедельник, 18 сентября 2017 г.
Sylius Grid component - updatedAt field not found
You should to add needed field in Grid fields and make it sortable. For example, it should look like this:
sylius_grid: grids: sylius_admin_product: fields: updatedAt: type: datetime label: sylius.ui.last_updated options: format: d.m.Y H:i sortable: ~
[sylius] cannot delete product, product in use
1. you should delete all orders, where contains product needs to delete.
2. remove all carts where, where remains this product. You can do it with php bin/console sylius:remove-expired-carts . If you need to remove all carts for all days, add parameter sylius_order.cart_expiration_period: 0 to app/config/config.yml and rerun previous command again.
2. remove all carts where, where remains this product. You can do it with php bin/console sylius:remove-expired-carts . If you need to remove all carts for all days, add parameter sylius_order.cart_expiration_period: 0 to app/config/config.yml and rerun previous command again.
Подписаться на:
Сообщения (Atom)